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:
Inheritance graph
[legend]
Collaboration diagram for vtkMesaCamera:
Collaboration graph
[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)
void GetEyePlaneNormal (double normal[3])
void SetEyeTransformMatrix (const double elements[16])
void SetModelTransformMatrix (const double elements[16])
virtual vtkMatrix4x4 * GetModelViewTransformMatrix ()
virtual vtkTransform * GetModelViewTransformObject ()
virtual vtkMatrix4x4 * GetViewTransformMatrix ()
virtual vtkTransform * GetViewTransformObject ()
unsigned long GetViewingRaysMTime ()
void ViewingRaysModified ()
virtual void GetFrustumPlanes (double aspect, double planes[24])
void ComputeViewPlaneNormal ()
vtkMatrix4x4 * GetCameraLightTransformMatrix ()
virtual void UpdateViewport (vtkRenderer *vtkNotUsed(ren))
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 void SetUseOffAxisProjection (int)
virtual int GetUseOffAxisProjection ()
virtual void UseOffAxisProjectionOn ()
virtual void UseOffAxisProjectionOff ()
virtual void SetScreenBottomLeft (double, double, double)
virtual void SetScreenBottomLeft (double[3])
virtual double * GetScreenBottomLeft ()
virtual void GetScreenBottomLeft (double &, double &, double &)
virtual void GetScreenBottomLeft (double[3])
virtual void SetScreenBottomRight (double, double, double)
virtual void SetScreenBottomRight (double[3])
virtual double * GetScreenBottomRight ()
virtual void GetScreenBottomRight (double &, double &, double &)
virtual void GetScreenBottomRight (double[3])
virtual void SetScreenTopRight (double, double, double)
virtual void SetScreenTopRight (double[3])
virtual double * GetScreenTopRight ()
virtual void GetScreenTopRight (double &, double &, double &)
virtual void GetScreenTopRight (double[3])
virtual void SetEyeSeparation (double)
virtual double GetEyeSeparation ()
void SetEyePosition (double eyePosition[3])
void GetEyePosition (double eyePosition[3])
void SetEyeTransformMatrix (vtkMatrix4x4 *matrix)
virtual vtkMatrix4x4 * GetEyeTransformMatrix ()
void SetModelTransformMatrix (vtkMatrix4x4 *matrix)
virtual vtkMatrix4x4 * GetModelTransformMatrix ()
virtual vtkMatrix4x4 * GetPerspectiveTransformMatrix (double aspect, double nearz, double farz)
virtual vtkMatrix4x4 * GetProjectionTransformMatrix (double aspect, double nearz, double farz)
virtual vtkPerspectiveTransform * GetProjectionTransformObject (double aspect, double nearz, double farz)
virtual vtkMatrix4x4 * GetCompositePerspectiveTransformMatrix (double aspect, double nearz, double farz)
virtual vtkMatrix4x4 * GetCompositeProjectionTransformMatrix (double aspect, double nearz, double farz)
void SetUserViewTransform (vtkHomogeneousTransform *transform)
virtual vtkHomogeneousTransform * GetUserViewTransform ()
void SetUserTransform (vtkHomogeneousTransform *transform)
virtual vtkHomogeneousTransform * GetUserTransform ()
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 ()
- 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)
vtkCommand * GetCommand (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)
template<class U , class T >
unsigned long AddObserver (unsigned long event, U observer, bool(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 vtkMesaCamera * New ()
static int IsTypeOf (const char *type)
static vtkMesaCamera * SafeDownCast (vtkObject *o)

Protected Member Functions

 vtkMesaCamera ()
 ~vtkMesaCamera ()
- Protected Member Functions inherited from vtkCamera
 vtkCamera ()
 ~vtkCamera ()
void ComputeCameraLightTransform ()
void ComputeWorldToScreenMatrix ()
void ComputeOffAxisProjectionFrustum ()
void ComputeModelViewMatrix ()
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
int UseOffAxisProjection
double ScreenBottomLeft [3]
double ScreenBottomRight [3]
double ScreenTopRight [3]
double EyeSeparation
vtkMatrix4x4 * WorldToScreenMatrix
vtkTimeStamp WorldToScreenMatrixMTime
vtkMatrix4x4 * EyeTransformMatrix
vtkMatrix4x4 * ModelTransformMatrix
vtkHomogeneousTransform * UserTransform
vtkHomogeneousTransform * UserViewTransform
vtkTransform * ViewTransform
vtkPerspectiveTransform * ProjectionTransform
vtkPerspectiveTransform * Transform
vtkTransform * CameraLightTransform
vtkTransform * ModelViewTransform
double FocalDisk
vtkCameraCallbackCommand * UserViewTransformCallbackCommand
vtkTimeStamp ViewingRaysMTime
- 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: