VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
vtkOpenGLCamera Class Reference

OpenGL camera. More...

#include <vtkOpenGLCamera.h>

Inheritance diagram for vtkOpenGLCamera:
Inheritance graph
[legend]
Collaboration diagram for vtkOpenGLCamera:
Collaboration graph
[legend]

List of all members.

Public Types

typedef vtkCamera Superclass
typedef vtkCamera Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkOpenGLCameraNewInstance () const
virtual void PrintSelf (ostream &os, vtkIndent indent)
void Render (vtkRenderer *ren)
void UpdateViewport (vtkRenderer *ren)
virtual int IsA (const char *type)
vtkOpenGLCameraNewInstance () const
virtual void PrintSelf (ostream &os, vtkIndent indent)
void Render (vtkRenderer *ren)
void UpdateViewport (vtkRenderer *ren)
void GetKeyMatrices (vtkRenderer *ren, vtkMatrix4x4 *&WCVCMatrix, vtkMatrix3x3 *&normalMatrix, vtkMatrix4x4 *&VCDCMatrix, vtkMatrix4x4 *&WCDCMatrix)

Static Public Member Functions

static vtkOpenGLCameraNew ()
static int IsTypeOf (const char *type)
static vtkOpenGLCameraSafeDownCast (vtkObjectBase *o)
static vtkOpenGLCameraNew ()
static int IsTypeOf (const char *type)
static vtkOpenGLCameraSafeDownCast (vtkObjectBase *o)

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 vtkOpenGLCamera ()
 ~vtkOpenGLCamera ()
virtual vtkObjectBaseNewInstanceInternal () const
 vtkOpenGLCamera ()
 ~vtkOpenGLCamera ()

Protected Attributes

vtkMatrix4x4WCDCMatrix
vtkMatrix4x4WCVCMatrix
vtkMatrix3x3NormalMatrix
vtkMatrix4x4VCDCMatrix
vtkTimeStamp KeyMatrixTime
vtkRendererLastRenderer

Detailed Description

OpenGL camera.

vtkOpenGLCamera is a concrete implementation of the abstract class vtkCamera. vtkOpenGLCamera interfaces to the OpenGL rendering library.

Definition at line 30 of file vtkOpenGLCamera.h.


Member Typedef Documentation

Reimplemented from vtkCamera.

Reimplemented in vtkExternalOpenGLCamera.

Definition at line 34 of file vtkOpenGLCamera.h.

Reimplemented from vtkCamera.

Reimplemented in vtkExternalOpenGLCamera.

Definition at line 35 of file vtkOpenGLCamera.h.


Constructor & Destructor Documentation

vtkOpenGLCamera::vtkOpenGLCamera ( ) [inline, protected]

Definition at line 43 of file vtkOpenGLCamera.h.

vtkOpenGLCamera::~vtkOpenGLCamera ( ) [inline, protected]

Definition at line 44 of file vtkOpenGLCamera.h.


Member Function Documentation

static vtkOpenGLCamera* vtkOpenGLCamera::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.

Reimplemented in vtkExternalOpenGLCamera.

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

Reimplemented in vtkExternalOpenGLCamera.

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

Reimplemented in vtkExternalOpenGLCamera.

Reimplemented from vtkCamera.

Reimplemented in vtkExternalOpenGLCamera.

virtual vtkObjectBase* vtkOpenGLCamera::NewInstanceInternal ( ) const [protected, virtual]

Reimplemented from vtkCamera.

Reimplemented in vtkExternalOpenGLCamera.

Reimplemented from vtkCamera.

Reimplemented in vtkExternalOpenGLCamera.

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

Reimplemented in vtkExternalOpenGLCamera.

void vtkOpenGLCamera::Render ( vtkRenderer ren) [virtual]

Implement base class method.

Reimplemented from vtkCamera.

Reimplemented in vtkExternalOpenGLCamera.

static vtkOpenGLCamera* vtkOpenGLCamera::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.

Reimplemented in vtkExternalOpenGLCamera.

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

Reimplemented in vtkExternalOpenGLCamera.

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

Reimplemented in vtkExternalOpenGLCamera.

Reimplemented from vtkCamera.

Reimplemented in vtkExternalOpenGLCamera.

virtual vtkObjectBase* vtkOpenGLCamera::NewInstanceInternal ( ) const [protected, virtual]

Reimplemented from vtkCamera.

Reimplemented in vtkExternalOpenGLCamera.

Reimplemented from vtkCamera.

Reimplemented in vtkExternalOpenGLCamera.

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

Reimplemented in vtkExternalOpenGLCamera.

void vtkOpenGLCamera::Render ( vtkRenderer ren) [virtual]

Implement base class method.

Reimplemented from vtkCamera.

Reimplemented in vtkExternalOpenGLCamera.

void vtkOpenGLCamera::GetKeyMatrices ( vtkRenderer ren,
vtkMatrix4x4 *&  WCVCMatrix,
vtkMatrix3x3 *&  normalMatrix,
vtkMatrix4x4 *&  VCDCMatrix,
vtkMatrix4x4 *&  WCDCMatrix 
)

Member Data Documentation

Definition at line 50 of file vtkOpenGLCamera.h.

Definition at line 51 of file vtkOpenGLCamera.h.

Definition at line 52 of file vtkOpenGLCamera.h.

Definition at line 53 of file vtkOpenGLCamera.h.

Definition at line 54 of file vtkOpenGLCamera.h.

Definition at line 55 of file vtkOpenGLCamera.h.


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