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

OpenGL camera. More...

#include <vtkExternalOpenGLCamera.h>

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

Public Types

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

Public Member Functions

virtual int IsA (const char *type)
 Return 1 if this class is the same type of (or a subclass of) the named class. More...
 
vtkExternalOpenGLCameraNewInstance () const
 
void PrintSelf (ostream &os, vtkIndent indent) override
 Methods invoked by print to print information about the object including superclasses. More...
 
void Render (vtkRenderer *ren)
 Implement base class method. More...
 
void SetViewTransformMatrix (const double elements[16])
 Set the view transform matrix. More...
 
void SetProjectionTransformMatrix (const double elements[16])
 Set the projection matrix. More...
 
- Public Member Functions inherited from vtkOpenGLCamera
virtual int IsA (const char *type)
 Return 1 if this class is the same type of (or a subclass of) the named class. More...
 
vtkOpenGLCameraNewInstance () const
 
void PrintSelf (ostream &os, vtkIndent indent) override
 Methods invoked by print to print information about the object including superclasses. More...
 
void Render (vtkRenderer *ren)
 Implement base class method. More...
 
void UpdateViewport (vtkRenderer *ren)
 
virtual int IsA (const char *type)
 Return 1 if this class is the same type of (or a subclass of) the named class. More...
 
vtkOpenGLCameraNewInstance () const
 
void PrintSelf (ostream &os, vtkIndent indent) override
 Methods invoked by print to print information about the object including superclasses. More...
 
virtual void Render (vtkRenderer *ren)
 Implement base class method. More...
 
virtual void UpdateViewport (vtkRenderer *ren)
 
virtual void GetKeyMatrices (vtkRenderer *ren, vtkMatrix4x4 *&WCVCMatrix, vtkMatrix3x3 *&normalMatrix, vtkMatrix4x4 *&VCDCMatrix, vtkMatrix4x4 *&WCDCMatrix)
 
- Public Member Functions inherited from vtkCamera
virtual int IsA (const char *type)
 Return 1 if this class is the same type of (or a subclass of) the named class. More...
 
vtkCameraNewInstance () const
 
void PrintSelf (ostream &os, vtkIndent indent)
 Methods invoked by print to print information about the object including superclasses. More...
 
void SetPosition (double x, double y, double z)
 Set/Get the position of the camera in world coordinates. More...
 
void SetPosition (const double a[3])
 
virtual doubleGetPosition ()
 
virtual void GetPosition (double &, double &, double &)
 
virtual void GetPosition (double[3])
 
void SetFocalPoint (double x, double y, double z)
 Set/Get the focal of the camera in world coordinates. More...
 
void SetFocalPoint (const double a[3])
 
virtual doubleGetFocalPoint ()
 
virtual void GetFocalPoint (double &, double &, double &)
 
virtual void GetFocalPoint (double[3])
 
void SetViewUp (double vx, double vy, double vz)
 Set/Get the view up direction for the camera. More...
 
void SetViewUp (const double a[3])
 
virtual doubleGetViewUp ()
 
virtual void GetViewUp (double &, double &, double &)
 
virtual void GetViewUp (double[3])
 
void OrthogonalizeViewUp ()
 Recompute the ViewUp vector to force it to be perpendicular to camera->focalpoint vector. More...
 
void SetDistance (double)
 Move the focal point so that it is the specified distance from the camera position. More...
 
virtual double GetDistance ()
 Return the distance from the camera position to the focal point. More...
 
virtual doubleGetDirectionOfProjection ()
 Get the vector in the direction from the camera position to the focal point. More...
 
virtual void GetDirectionOfProjection (double &, double &, double &)
 
virtual void GetDirectionOfProjection (double[3])
 
void Dolly (double value)
 Divide the camera's distance from the focal point by the given dolly value. More...
 
void SetRoll (double angle)
 Set the roll angle of the camera about the direction of projection. More...
 
double GetRoll ()
 
void Roll (double angle)
 Rotate the camera about the direction of projection. More...
 
void Azimuth (double angle)
 Rotate the camera about the view up vector centered at the focal point. More...
 
void Yaw (double angle)
 Rotate the focal point about the view up vector, using the camera's position as the center of rotation. More...
 
void Elevation (double angle)
 Rotate the camera about the cross product of the negative of the direction of projection and the view up vector, using the focal point as the center of rotation. More...
 
void Pitch (double angle)
 Rotate the focal point about the cross product of the view up vector and the direction of projection, using the camera's position as the center of rotation. More...
 
void SetParallelProjection (int flag)
 Set/Get the value of the ParallelProjection instance variable. More...
 
virtual int GetParallelProjection ()
 
virtual void ParallelProjectionOn ()
 
virtual void ParallelProjectionOff ()
 
void SetUseHorizontalViewAngle (int flag)
 Set/Get the value of the UseHorizontalViewAngle instance variable. More...
 
virtual int GetUseHorizontalViewAngle ()
 
virtual void UseHorizontalViewAngleOn ()
 
virtual void UseHorizontalViewAngleOff ()
 
void SetViewAngle (double angle)
 Set/Get the camera view angle, which is the angular height of the camera view measured in degrees. More...
 
virtual double GetViewAngle ()
 
void SetParallelScale (double scale)
 Set/Get the scaling used for a parallel projection, i.e. More...
 
virtual double GetParallelScale ()
 
void Zoom (double factor)
 In perspective mode, decrease the view angle by the specified factor. More...
 
void SetClippingRange (double dNear, double dFar)
 Set/Get the location of the near and far clipping planes along the direction of projection. More...
 
void SetClippingRange (const double a[2])
 
virtual doubleGetClippingRange ()
 
virtual void GetClippingRange (double &, double &)
 
virtual void GetClippingRange (double[2])
 
void SetThickness (double)
 Set the distance between clipping planes. More...
 
virtual double GetThickness ()
 
void SetWindowCenter (double x, double y)
 Set/Get the center of the window in viewport coordinates. More...
 
virtual doubleGetWindowCenter ()
 
virtual void GetWindowCenter (double &, double &)
 
virtual void GetWindowCenter (double[2])
 
void SetObliqueAngles (double alpha, double beta)
 Get/Set the oblique viewing angles. More...
 
void ApplyTransform (vtkTransform *t)
 Apply a transform to the camera. More...
 
virtual doubleGetViewPlaneNormal ()
 Get the ViewPlaneNormal. More...
 
virtual void GetViewPlaneNormal (double &, double &, double &)
 
virtual void GetViewPlaneNormal (double[3])
 
void SetViewShear (double dxdz, double dydz, double center)
 Set/get the shear transform of the viewing frustum. More...
 
void SetViewShear (double d[3])
 
virtual doubleGetViewShear ()
 
virtual void GetViewShear (double &, double &, double &)
 
virtual void GetViewShear (double[3])
 
virtual void SetEyeAngle (double)
 Set/Get the separation between eyes (in degrees). More...
 
virtual double GetEyeAngle ()
 
virtual void SetFocalDisk (double)
 Set the size of the cameras lens in world coordinates. More...
 
virtual double GetFocalDisk ()
 
virtual void SetUseOffAxisProjection (int)
 Set/Get use offaxis frustum. More...
 
virtual int GetUseOffAxisProjection ()
 
virtual void UseOffAxisProjectionOn ()
 
virtual void UseOffAxisProjectionOff ()
 
virtual void SetScreenBottomLeft (double, double, double)
 Set/Get top left corner point of the screen. More...
 
virtual void SetScreenBottomLeft (double[3])
 
virtual doubleGetScreenBottomLeft ()
 
virtual void GetScreenBottomLeft (double &, double &, double &)
 
virtual void GetScreenBottomLeft (double[3])
 
virtual void SetScreenBottomRight (double, double, double)
 Set/Get bottom left corner point of the screen. More...
 
virtual void SetScreenBottomRight (double[3])
 
virtual doubleGetScreenBottomRight ()
 
virtual void GetScreenBottomRight (double &, double &, double &)
 
virtual void GetScreenBottomRight (double[3])
 
virtual void SetScreenTopRight (double, double, double)
 Set/Get top right corner point of the screen. More...
 
virtual void SetScreenTopRight (double[3])
 
virtual doubleGetScreenTopRight ()
 
virtual void GetScreenTopRight (double &, double &, double &)
 
virtual void GetScreenTopRight (double[3])
 
virtual void SetEyeSeparation (double)
 Set/Get distance between the eyes. More...
 
virtual double GetEyeSeparation ()
 
void SetEyePosition (double eyePosition[3])
 Set/Get the eye position (center point between two eyes). More...
 
void GetEyePosition (double eyePosition[3])
 
void GetEyePlaneNormal (double normal[3])
 Get normal vector from eye to screen rotated by EyeTransformMatrix. More...
 
void SetEyeTransformMatrix (vtkMatrix4x4 *matrix)
 Set/Get eye transformation matrix. More...
 
virtual vtkMatrix4x4GetEyeTransformMatrix ()
 
void SetEyeTransformMatrix (const double elements[16])
 Set the eye transform matrix. More...
 
void SetModelTransformMatrix (vtkMatrix4x4 *matrix)
 Set/Get model transformation matrix. More...
 
virtual vtkMatrix4x4GetModelTransformMatrix ()
 
void SetModelTransformMatrix (const double elements[16])
 Set model transformation matrix. More...
 
virtual vtkMatrix4x4GetModelViewTransformMatrix ()
 Return the model view matrix of model view transform. More...
 
virtual vtkTransformGetModelViewTransformObject ()
 Return the model view transform. More...
 
virtual vtkMatrix4x4GetViewTransformMatrix ()
 For backward compatibility. More...
 
virtual vtkTransformGetViewTransformObject ()
 For backward compatibility. More...
 
virtual vtkMatrix4x4GetProjectionTransformMatrix (double aspect, double nearz, double farz)
 Return the projection transform matrix, which converts from camera coordinates to viewport coordinates. More...
 
virtual vtkPerspectiveTransformGetProjectionTransformObject (double aspect, double nearz, double farz)
 Return the projection transform matrix, which converts from camera coordinates to viewport coordinates. More...
 
virtual vtkMatrix4x4GetCompositeProjectionTransformMatrix (double aspect, double nearz, double farz)
 Return the concatenation of the ViewTransform and the ProjectionTransform. More...
 
virtual vtkMatrix4x4GetProjectionTransformMatrix (vtkRenderer *ren)
 Return the projection transform matrix, which converts from camera coordinates to viewport coordinates. More...
 
void SetUserViewTransform (vtkHomogeneousTransform *transform)
 In addition to the instance variables such as position and orientation, you can add an additional transformation for your own use. More...
 
virtual vtkHomogeneousTransformGetUserViewTransform ()
 
void SetUserTransform (vtkHomogeneousTransform *transform)
 In addition to the instance variables such as position and orientation, you can add an additional transformation for your own use. More...
 
virtual vtkHomogeneousTransformGetUserTransform ()
 
virtual void Render (vtkRenderer *)
 This method causes the camera to set up whatever is required for viewing the scene. More...
 
vtkMTimeType GetViewingRaysMTime ()
 Return the MTime that concerns recomputing the view rays of the camera. More...
 
void ViewingRaysModified ()
 Mark that something has changed which requires the view rays to be recomputed. More...
 
virtual void GetFrustumPlanes (double aspect, double planes[24])
 Get the plane equations that bound the view frustum. More...
 
doubleGetOrientation ()
 Get the orientation of the camera. More...
 
doubleGetOrientationWXYZ ()
 
void ComputeViewPlaneNormal ()
 This method is called automatically whenever necessary, it should never be used outside of vtkCamera.cxx. More...
 
vtkMatrix4x4GetCameraLightTransformMatrix ()
 Returns a transformation matrix for a coordinate frame attached to the camera, where the camera is located at (0, 0, 1) looking at the focal point at (0, 0, 0), with up being (0, 1, 0). More...
 
virtual void UpdateViewport (vtkRenderer *vtkNotUsed(ren))
 Update the viewport. More...
 
virtual void SetLeftEye (int)
 Set the Left Eye setting. More...
 
virtual int GetLeftEye ()
 
void ShallowCopy (vtkCamera *source)
 Copy the properties of ‘source’ into ‘this’. More...
 
void DeepCopy (vtkCamera *source)
 Copy the properties of ‘source’ into ‘this’. More...
 
virtual void SetFreezeFocalPoint (bool)
 Set/Get the value of the FreezeDolly instance variable. More...
 
virtual bool GetFreezeFocalPoint ()
 
virtual void SetUseScissor (bool)
 Enable/Disable the scissor. More...
 
virtual bool GetUseScissor ()
 
void SetScissorRect (vtkRecti scissorRect)
 Set/Get the vtkRect value of the scissor. More...
 
void GetScissorRect (vtkRecti &scissorRect)
 
- Public Member Functions inherited from vtkObject
 vtkBaseTypeMacro (vtkObject, vtkObjectBase)
 
virtual void DebugOn ()
 Turn debugging output on. More...
 
virtual void DebugOff ()
 Turn debugging output off. More...
 
bool GetDebug ()
 Get the value of the debug flag. More...
 
void SetDebug (bool debugFlag)
 Set the value of the debug flag. More...
 
virtual void Modified ()
 Update the modification time for this object. More...
 
virtual vtkMTimeType GetMTime ()
 Return this object's modified time. More...
 
void PrintSelf (ostream &os, vtkIndent indent) override
 Methods invoked by print to print information about the object including superclasses. More...
 
unsigned long AddObserver (unsigned long event, vtkCommand *, float priority=0.0f)
 Allow people to add/remove/invoke observers (callbacks) to any VTK object. More...
 
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)
 Overloads to AddObserver that allow developers to add class member functions as callbacks for events. More...
 
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)
 Allow user to set the AbortFlagOn() with the return value of the callback method. More...
 
int InvokeEvent (unsigned long event, void *callData)
 This method invokes an event and return whether the event was aborted or not. More...
 
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
 Return the class name as a string. More...
 
virtual vtkTypeBool IsA (const char *name)
 Return 1 if this class is the same type of (or a subclass of) the named class. More...
 
virtual void Delete ()
 Delete a VTK object. More...
 
virtual void FastDelete ()
 Delete a reference to this object. More...
 
void InitializeObjectBase ()
 
void Print (ostream &os)
 Print an object to an ostream. More...
 
virtual void PrintSelf (ostream &os, vtkIndent indent)
 Methods invoked by print to print information about the object including superclasses. More...
 
virtual void PrintHeader (ostream &os, vtkIndent indent)
 
virtual void PrintTrailer (ostream &os, vtkIndent indent)
 
virtual void Register (vtkObjectBase *o)
 Increase the reference count (mark as used by another object). More...
 
virtual void UnRegister (vtkObjectBase *o)
 Decrease the reference count (release by another object). More...
 
int GetReferenceCount ()
 Return the current reference count of this object. More...
 
void SetReferenceCount (int)
 Sets the reference count. More...
 
void PrintRevisions (ostream &)
 Legacy. More...
 

Static Public Member Functions

static vtkExternalOpenGLCameraNew ()
 
static int IsTypeOf (const char *type)
 
static vtkExternalOpenGLCameraSafeDownCast (vtkObjectBase *o)
 
- Static Public Member Functions inherited from vtkOpenGLCamera
static vtkOpenGLCameraNew ()
 
static int IsTypeOf (const char *type)
 
static vtkOpenGLCameraSafeDownCast (vtkObjectBase *o)
 
static vtkOpenGLCameraNew ()
 
static int IsTypeOf (const char *type)
 
static vtkOpenGLCameraSafeDownCast (vtkObjectBase *o)
 
- Static Public Member Functions inherited from vtkCamera
static int IsTypeOf (const char *type)
 
static vtkCameraSafeDownCast (vtkObjectBase *o)
 
static vtkCameraNew ()
 Construct camera instance with its focal point at the origin, and position=(0,0,1). More...
 
- Static Public Member Functions inherited from vtkObject
static vtkObjectNew ()
 Create an object with Debug turned off, modified time initialized to zero, and reference counting on. More...
 
static void BreakOnError ()
 This method is called when vtkErrorMacro executes. More...
 
static void SetGlobalWarningDisplay (int val)
 This is a global flag that controls whether any debug, warning or error messages are displayed. More...
 
static void GlobalWarningDisplayOn ()
 
static void GlobalWarningDisplayOff ()
 
static int GetGlobalWarningDisplay ()
 
- Static Public Member Functions inherited from vtkObjectBase
static vtkTypeBool IsTypeOf (const char *name)
 Return 1 if this class type is the same type of (or a subclass of) the named class. More...
 
static vtkObjectBaseNew ()
 Create an object with Debug turned off, modified time initialized to zero, and reference counting on. More...
 

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 
 vtkExternalOpenGLCamera ()
 
 ~vtkExternalOpenGLCamera ()
 
void ComputeProjectionTransform (double aspect, double nearz, double farz)
 These methods should only be used within vtkCamera.cxx. More...
 
void ComputeViewTransform ()
 These methods should only be used within vtkCamera.cxx. More...
 
- Protected Member Functions inherited from vtkOpenGLCamera
virtual vtkObjectBaseNewInstanceInternal () const
 
 vtkOpenGLCamera ()
 
 ~vtkOpenGLCamera ()
 
virtual vtkObjectBaseNewInstanceInternal () const
 
 vtkOpenGLCamera ()
 
 ~vtkOpenGLCamera ()
 
- Protected Member Functions inherited from vtkCamera
virtual vtkObjectBaseNewInstanceInternal () const
 
 vtkCamera ()
 
 ~vtkCamera ()
 
void ComputeDistance ()
 These methods should only be used within vtkCamera.cxx. More...
 
virtual void ComputeViewTransform ()
 
virtual void ComputeProjectionTransform (double aspect, double nearz, double farz)
 These methods should only be used within vtkCamera.cxx. More...
 
void ComputeCompositeProjectionTransform (double aspect, double nearz, double farz)
 These methods should only be used within vtkCamera.cxx. More...
 
void ComputeCameraLightTransform ()
 
void ComputeWorldToScreenMatrix ()
 Given screen screen top, bottom left and top right calculate screen rotation. More...
 
void ComputeOffAxisProjectionFrustum ()
 Compute and use frustum using offaxis method. More...
 
void ComputeModelViewMatrix ()
 Compute model view matrix for the camera. More...
 
void PartialCopy (vtkCamera *source)
 Copy the ivars. More...
 
- Protected Member Functions inherited from vtkObject
 vtkObject ()
 
 ~vtkObject () override
 
void RegisterInternal (vtkObjectBase *, vtkTypeBool check) override
 
void UnRegisterInternal (vtkObjectBase *, vtkTypeBool check) override
 
void InternalGrabFocus (vtkCommand *mouseEvents, vtkCommand *keypressEvents=NULL)
 These methods allow a command to exclusively grab all events. More...
 
void InternalReleaseFocus ()
 
- Protected Member Functions inherited from vtkObjectBase
 vtkObjectBase ()
 
virtual ~vtkObjectBase ()
 
virtual void CollectRevisions (ostream &)
 
virtual void RegisterInternal (vtkObjectBase *, vtkTypeBool check)
 
virtual void UnRegisterInternal (vtkObjectBase *, vtkTypeBool check)
 
virtual void ReportReferences (vtkGarbageCollector *)
 
 vtkObjectBase (const vtkObjectBase &)
 
void operator= (const vtkObjectBase &)
 

Additional Inherited Members

- Protected Attributes inherited from vtkOpenGLCamera
vtkMatrix4x4WCDCMatrix
 
vtkMatrix4x4WCVCMatrix
 
vtkMatrix3x3NormalMatrix
 
vtkMatrix4x4VCDCMatrix
 
vtkTimeStamp KeyMatrixTime
 
vtkRendererLastRenderer
 
- 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
 
vtkMatrix4x4WorldToScreenMatrix
 
vtkTimeStamp WorldToScreenMatrixMTime
 
vtkMatrix4x4EyeTransformMatrix
 
vtkMatrix4x4ModelTransformMatrix
 
vtkHomogeneousTransformUserTransform
 
vtkHomogeneousTransformUserViewTransform
 
vtkTransformViewTransform
 
vtkPerspectiveTransformProjectionTransform
 
vtkPerspectiveTransformTransform
 
vtkTransformCameraLightTransform
 
vtkTransformModelViewTransform
 
double FocalDisk
 
vtkCameraCallbackCommandUserViewTransformCallbackCommand
 
vtkTimeStamp ViewingRaysMTime
 
bool FreezeFocalPoint
 
bool UseScissor
 
vtkRecti ScissorRect
 
- Protected Attributes inherited from vtkObject
bool Debug
 
vtkTimeStamp MTime
 
vtkSubjectHelper * SubjectHelper
 
- Protected Attributes inherited from vtkObjectBase
vtkAtomicInt32 ReferenceCount
 
vtkWeakPointerBase ** WeakPointers
 

Detailed Description

OpenGL camera.

vtkExternalOpenGLCamera is a concrete implementation of the abstract class vtkCamera. vtkExternalOpenGLCamera interfaces to the OpenGL rendering library. This class extends vtkOpenGLCamera by introducing API wherein the camera matrices can be set explicitly by the application.

Definition at line 31 of file vtkExternalOpenGLCamera.h.

Member Typedef Documentation

◆ Superclass

Definition at line 36 of file vtkExternalOpenGLCamera.h.

Constructor & Destructor Documentation

◆ vtkExternalOpenGLCamera()

vtkExternalOpenGLCamera::vtkExternalOpenGLCamera ( )
protected

◆ ~vtkExternalOpenGLCamera()

vtkExternalOpenGLCamera::~vtkExternalOpenGLCamera ( )
inlineprotected

Definition at line 56 of file vtkExternalOpenGLCamera.h.

Member Function Documentation

◆ New()

static vtkExternalOpenGLCamera * vtkExternalOpenGLCamera::New ( )
static

◆ IsTypeOf()

static int vtkExternalOpenGLCamera::IsTypeOf ( const char *  type)
static

◆ IsA()

virtual int vtkExternalOpenGLCamera::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 vtkOpenGLCamera.

◆ SafeDownCast()

static vtkExternalOpenGLCamera * vtkExternalOpenGLCamera::SafeDownCast ( vtkObjectBase o)
static

◆ NewInstanceInternal()

virtual vtkObjectBase * vtkExternalOpenGLCamera::NewInstanceInternal ( ) const
protectedvirtual

Reimplemented from vtkOpenGLCamera.

◆ NewInstance()

vtkExternalOpenGLCamera * vtkExternalOpenGLCamera::NewInstance ( ) const

◆ PrintSelf()

void vtkExternalOpenGLCamera::PrintSelf ( ostream &  os,
vtkIndent  indent 
)
overridevirtual

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.

◆ Render()

void vtkExternalOpenGLCamera::Render ( vtkRenderer ren)
virtual

Implement base class method.

Reimplemented from vtkOpenGLCamera.

◆ SetViewTransformMatrix()

void vtkExternalOpenGLCamera::SetViewTransformMatrix ( const double  elements[16])

Set the view transform matrix.

◆ SetProjectionTransformMatrix()

void vtkExternalOpenGLCamera::SetProjectionTransformMatrix ( const double  elements[16])

Set the projection matrix.

◆ ComputeProjectionTransform()

void vtkExternalOpenGLCamera::ComputeProjectionTransform ( double  aspect,
double  nearz,
double  farz 
)
protectedvirtual

These methods should only be used within vtkCamera.cxx.

Bypass computation if user provided the projection transform

Reimplemented from vtkCamera.

◆ ComputeViewTransform()

void vtkExternalOpenGLCamera::ComputeViewTransform ( )
protectedvirtual

These methods should only be used within vtkCamera.cxx.

Bypass computation if user provided the view transform

Reimplemented from vtkCamera.


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