VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions
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

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)

Static Public Member Functions

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

Protected Member Functions

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

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.

Definition at line 34 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.

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.

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 from vtkCamera.

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

Reimplemented from vtkCamera.

Reimplemented from vtkCamera.

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.

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

Implement base class method.

Reimplemented from vtkCamera.


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