VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
vtkMesaCamera Class Reference

Mesa camera. More...

#include <vtkMesaCamera.h>

Inheritance diagram for vtkMesaCamera:
[legend]
Collaboration diagram for vtkMesaCamera:
[legend]

Public Types

typedef vtkCamera Superclass
- Public Types inherited from vtkCamera
typedef vtkObject Superclass
- Public Types inherited from vtkObject
typedef vtkObjectBase Superclass

Public Member Functions

virtual const char * GetClassName ()
virtual int IsA (const char *type)
virtual void PrintSelf (ostream &os, vtkIndent indent)
void Render (vtkRenderer *ren)
void UpdateViewport (vtkRenderer *ren)
- Public Member Functions inherited from vtkCamera
void OrthogonalizeViewUp ()
void SetDistance (double)
void Dolly (double value)
void Roll (double angle)
void Azimuth (double angle)
void Yaw (double angle)
void Elevation (double angle)
void Pitch (double angle)
void Zoom (double factor)
void SetObliqueAngles (double alpha, double beta)
void ApplyTransform (vtkTransform *t)
virtual vtkMatrix4x4GetViewTransformMatrix ()
unsigned long GetViewingRaysMTime ()
void ViewingRaysModified ()
virtual void GetFrustumPlanes (double aspect, double planes[24])
void ComputeViewPlaneNormal ()
vtkMatrix4x4GetCameraLightTransformMatrix ()
virtual void UpdateViewport (vtkRenderer *vtkNotUsed(ren))
void ComputeProjAndViewParams ()
void ShallowCopy (vtkCamera *source)
void DeepCopy (vtkCamera *source)
void SetPosition (double x, double y, double z)
void SetPosition (const double a[3])
virtual double * GetPosition ()
virtual void GetPosition (double &, double &, double &)
virtual void GetPosition (double[3])
void SetFocalPoint (double x, double y, double z)
void SetFocalPoint (const double a[3])
virtual double * GetFocalPoint ()
virtual void GetFocalPoint (double &, double &, double &)
virtual void GetFocalPoint (double[3])
void SetViewUp (double vx, double vy, double vz)
void SetViewUp (const double a[3])
virtual double * GetViewUp ()
virtual void GetViewUp (double &, double &, double &)
virtual void GetViewUp (double[3])
virtual double GetDistance ()
virtual double * GetDirectionOfProjection ()
virtual void GetDirectionOfProjection (double &, double &, double &)
virtual void GetDirectionOfProjection (double[3])
void SetRoll (double angle)
double GetRoll ()
void SetParallelProjection (int flag)
virtual int GetParallelProjection ()
virtual void ParallelProjectionOn ()
virtual void ParallelProjectionOff ()
void SetUseHorizontalViewAngle (int flag)
virtual int GetUseHorizontalViewAngle ()
virtual void UseHorizontalViewAngleOn ()
virtual void UseHorizontalViewAngleOff ()
void SetViewAngle (double angle)
virtual double GetViewAngle ()
void SetParallelScale (double scale)
virtual double GetParallelScale ()
void SetClippingRange (double dNear, double dFar)
void SetClippingRange (const double a[2])
virtual double * GetClippingRange ()
virtual void GetClippingRange (double &, double &)
virtual void GetClippingRange (double[2])
void SetThickness (double)
virtual double GetThickness ()
void SetWindowCenter (double x, double y)
virtual double * GetWindowCenter ()
virtual void GetWindowCenter (double &, double &)
virtual void GetWindowCenter (double[2])
virtual double * GetViewPlaneNormal ()
virtual void GetViewPlaneNormal (double &, double &, double &)
virtual void GetViewPlaneNormal (double[3])
void SetViewShear (double dxdz, double dydz, double center)
void SetViewShear (double d[3])
virtual double * GetViewShear ()
virtual void GetViewShear (double &, double &, double &)
virtual void GetViewShear (double[3])
virtual void SetEyeAngle (double)
virtual double GetEyeAngle ()
virtual void SetFocalDisk (double)
virtual double GetFocalDisk ()
virtual vtkTransformGetViewTransformObject ()
virtual vtkMatrix4x4GetPerspectiveTransformMatrix (double aspect, double nearz, double farz)
virtual vtkMatrix4x4GetProjectionTransformMatrix (double aspect, double nearz, double farz)
virtual vtkPerspectiveTransformGetProjectionTransformObject (double aspect, double nearz, double farz)
virtual vtkMatrix4x4GetCompositePerspectiveTransformMatrix (double aspect, double nearz, double farz)
virtual vtkMatrix4x4GetCompositeProjectionTransformMatrix (double aspect, double nearz, double farz)
void SetUserViewTransform (vtkHomogeneousTransform *transform)
virtual vtkHomogeneousTransformGetUserViewTransform ()
void SetUserTransform (vtkHomogeneousTransform *transform)
virtual vtkHomogeneousTransformGetUserTransform ()
double * GetOrientation ()
double * GetOrientationWXYZ ()
void SetViewPlaneNormal (double x, double y, double z)
void SetViewPlaneNormal (const double a[3])
virtual void SetLeftEye (int)
virtual int GetLeftEye ()
void SetConfigParams (double o2screen, double o2right, double o2left, double o2top, double o2bottom, double interOccDist, double scale, vtkMatrix4x4 *surfaceRot)
void SetHeadPose (double x00, double x01, double x02, double x03, double x10, double x11, double x12, double x13, double x20, double x21, double x22, double x23, double x30, double x31, double x32, double x33)
virtual void SetHeadTracked (int)
virtual int GetHeadTracked ()
- Public Member Functions inherited from vtkObject
virtual void DebugOn ()
virtual void DebugOff ()
unsigned char GetDebug ()
void SetDebug (unsigned char debugFlag)
virtual void Modified ()
virtual unsigned long GetMTime ()
unsigned long AddObserver (unsigned long event, vtkCommand *, float priority=0.0f)
unsigned long AddObserver (const char *event, vtkCommand *, float priority=0.0f)
vtkCommandGetCommand (unsigned long tag)
void RemoveObserver (vtkCommand *)
void RemoveObservers (unsigned long event, vtkCommand *)
void RemoveObservers (const char *event, vtkCommand *)
int HasObserver (unsigned long event, vtkCommand *)
int HasObserver (const char *event, vtkCommand *)
void RemoveObserver (unsigned long tag)
void RemoveObservers (unsigned long event)
void RemoveObservers (const char *event)
void RemoveAllObservers ()
int HasObserver (unsigned long event)
int HasObserver (const char *event)
template<class U , class T >
unsigned long AddObserver (unsigned long event, U observer, void(T::*callback)(), float priority=0.0f)
template<class U , class T >
unsigned long AddObserver (unsigned long event, U observer, void(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f)
int InvokeEvent (unsigned long event, void *callData)
int InvokeEvent (const char *event, void *callData)
int InvokeEvent (unsigned long event)
int InvokeEvent (const char *event)
- Public Member Functions inherited from vtkObjectBase
const char * GetClassName () const
virtual void Delete ()
virtual void FastDelete ()
void Print (ostream &os)
virtual void Register (vtkObjectBase *o)
virtual void UnRegister (vtkObjectBase *o)
void SetReferenceCount (int)
void PrintRevisions (ostream &os)
virtual void PrintHeader (ostream &os, vtkIndent indent)
virtual void PrintTrailer (ostream &os, vtkIndent indent)
int GetReferenceCount ()

Static Public Member Functions

static vtkMesaCameraNew ()
static int IsTypeOf (const char *type)
static vtkMesaCameraSafeDownCast (vtkObject *o)

Protected Member Functions

 vtkMesaCamera ()
 ~vtkMesaCamera ()
- Protected Member Functions inherited from vtkCamera
 vtkCamera ()
 ~vtkCamera ()
vtkMatrix4x4SetTranslation (vtkMatrix4x4 mat)
void ComputeCameraLightTransform ()
void SetSurface2Base (vtkMatrix4x4 *head)
void PartialCopy (vtkCamera *source)
void ComputeDistance ()
void ComputeViewTransform ()
void ComputePerspectiveTransform (double aspect, double nearz, double farz)
void ComputeCompositePerspectiveTransform (double aspect, double nearz, double farz)
void ComputeProjectionTransform (double aspect, double nearz, double farz)
void ComputeCompositeProjectionTransform (double aspect, double nearz, double farz)
- Protected Member Functions inherited from vtkObject
 vtkObject ()
virtual ~vtkObject ()
virtual void RegisterInternal (vtkObjectBase *, int check)
virtual void UnRegisterInternal (vtkObjectBase *, int check)
void InternalGrabFocus (vtkCommand *mouseEvents, vtkCommand *keypressEvents=NULL)
void InternalReleaseFocus ()
- Protected Member Functions inherited from vtkObjectBase
 vtkObjectBase ()
virtual ~vtkObjectBase ()
virtual void CollectRevisions (ostream &os)
virtual void ReportReferences (vtkGarbageCollector *)
 vtkObjectBase (const vtkObjectBase &)
void operator= (const vtkObjectBase &)

Additional Inherited Members

- Protected Attributes inherited from vtkCamera
double WindowCenter [2]
double ObliqueAngles [2]
double FocalPoint [3]
double Position [3]
double ViewUp [3]
double ViewAngle
double ClippingRange [2]
double EyeAngle
int ParallelProjection
double ParallelScale
int Stereo
int LeftEye
double Thickness
double Distance
double DirectionOfProjection [3]
double ViewPlaneNormal [3]
double ViewShear [3]
int UseHorizontalViewAngle
vtkHomogeneousTransformUserTransform
vtkHomogeneousTransformUserViewTransform
vtkTransformViewTransform
vtkPerspectiveTransformProjectionTransform
vtkPerspectiveTransformTransform
vtkTransformCameraLightTransform
double FocalDisk
vtkCameraCallbackCommandUserViewTransformCallbackCommand
vtkTimeStamp ViewingRaysMTime
int HeadTracked
vtkMatrix4x4HeadPose
vtkTransformSurface2Base
vtkMatrix4x4HeadTrackedViewMat
double AsymLeft
double AsymRight
double AsymBottom
double AsymTop
double EyePos [3]
double O2Screen
double O2Right
double O2Left
double O2Top
double O2Bottom
double EyeOffset
double ScaleFactor
vtkMatrix4x4eyePosMat
vtkMatrix4x4negEyePosMat
vtkMatrix4x4eyeOffsetMat
- Friends inherited from vtkObject

Detailed Description

Mesa camera.

vtkMesaCamera is a concrete implementation of the abstract class vtkCamera. vtkMesaCamera interfaces to the Mesa rendering library.

Definition at line 29 of file vtkMesaCamera.h.

Member Typedef Documentation

Definition at line 33 of file vtkMesaCamera.h.

Constructor & Destructor Documentation

vtkMesaCamera::vtkMesaCamera ( )
inlineprotected

Definition at line 42 of file vtkMesaCamera.h.

vtkMesaCamera::~vtkMesaCamera ( )
inlineprotected

Definition at line 43 of file vtkMesaCamera.h.

Member Function Documentation

static vtkMesaCamera* vtkMesaCamera::New ( )
static

Construct camera instance with its focal point at the origin, and position=(0,0,1). The view up is along the y-axis, view angle is 30 degrees, and the clipping range is (.1,1000).

Reimplemented from vtkCamera.

virtual const char* vtkMesaCamera::GetClassName ( )
virtual

Reimplemented from vtkCamera.

static int vtkMesaCamera::IsTypeOf ( const char *  name)
static

Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkCamera.

virtual int vtkMesaCamera::IsA ( const char *  name)
virtual

Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkCamera.

static vtkMesaCamera* vtkMesaCamera::SafeDownCast ( vtkObject o)
static

Reimplemented from vtkCamera.

virtual void vtkMesaCamera::PrintSelf ( ostream &  os,
vtkIndent  indent 
)
virtual

Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.

Reimplemented from vtkCamera.

void vtkMesaCamera::Render ( vtkRenderer ren)
virtual

Implement base class method.

Reimplemented from vtkCamera.

void vtkMesaCamera::UpdateViewport ( vtkRenderer ren)

The documentation for this class was generated from the following file: