VTK
|
OpenGL camera. More...
#include <vtkOpenGLCamera.h>
Public Types | |
typedef vtkCamera | Superclass |
Public Member Functions | |
virtual int | IsA (const char *type) |
vtkOpenGLCamera * | NewInstance () const |
virtual void | PrintSelf (ostream &os, vtkIndent indent) |
void | Render (vtkRenderer *ren) |
void | UpdateViewport (vtkRenderer *ren) |
Static Public Member Functions | |
static vtkOpenGLCamera * | New () |
static int | IsTypeOf (const char *type) |
static vtkOpenGLCamera * | SafeDownCast (vtkObjectBase *o) |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () const |
vtkOpenGLCamera () | |
~vtkOpenGLCamera () |
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.
typedef vtkCamera vtkOpenGLCamera::Superclass |
Reimplemented from vtkCamera.
Definition at line 34 of file vtkOpenGLCamera.h.
vtkOpenGLCamera::vtkOpenGLCamera | ( | ) | [inline, protected] |
Definition at line 43 of file vtkOpenGLCamera.h.
vtkOpenGLCamera::~vtkOpenGLCamera | ( | ) | [inline, protected] |
Definition at line 44 of file vtkOpenGLCamera.h.
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.
static vtkOpenGLCamera* vtkOpenGLCamera::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkCamera.
virtual vtkObjectBase* vtkOpenGLCamera::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkCamera.
vtkOpenGLCamera* vtkOpenGLCamera::NewInstance | ( | ) | const |
Reimplemented from vtkCamera.
virtual void vtkOpenGLCamera::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) | [virtual] |
void vtkOpenGLCamera::Render | ( | vtkRenderer * | ren | ) | [virtual] |
Implement base class method.
Reimplemented from vtkCamera.
void vtkOpenGLCamera::UpdateViewport | ( | vtkRenderer * | ren | ) |