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

a frustum to represent a camera. More...

#include <vtkCameraActor.h>

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

List of all members.

Public Types

typedef vtkProp3D Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkCameraActorNewInstance () const
void PrintSelf (ostream &os, vtkIndent indent)
virtual int RenderOpaqueGeometry (vtkViewport *viewport)
virtual int HasTranslucentPolygonalGeometry ()
void ReleaseGraphicsResources (vtkWindow *)
doubleGetBounds ()
unsigned long int GetMTime ()
vtkPropertyGetProperty ()
void SetProperty (vtkProperty *p)
void SetCamera (vtkCamera *camera)
virtual vtkCameraGetCamera ()
virtual void SetWidthByHeightRatio (double)
virtual double GetWidthByHeightRatio ()

Static Public Member Functions

static vtkCameraActorNew ()
static int IsTypeOf (const char *type)
static vtkCameraActorSafeDownCast (vtkObjectBase *o)

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 vtkCameraActor ()
 ~vtkCameraActor ()
void UpdateViewProps ()

Protected Attributes

vtkCameraCamera
double WidthByHeightRatio
vtkFrustumSourceFrustumSource
vtkPolyDataMapperFrustumMapper
vtkActorFrustumActor

Detailed Description

a frustum to represent a camera.

vtkCameraActor is an actor used to represent a camera by its wireframe frustum.

See also:
vtkLight vtkConeSource vtkFrustumSource vtkCameraActor

Definition at line 37 of file vtkCameraActor.h.


Member Typedef Documentation

Reimplemented from vtkProp3D.

Definition at line 41 of file vtkCameraActor.h.


Constructor & Destructor Documentation


Member Function Documentation

static vtkCameraActor* vtkCameraActor::New ( ) [static]

Create an object with Debug turned off, modified time initialized to zero, and reference counting on.

Reimplemented from vtkObject.

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

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

Reimplemented from vtkProp3D.

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

Reimplemented from vtkProp3D.

Reimplemented from vtkProp3D.

void vtkCameraActor::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 vtkProp3D.

The camera to represent. Initial value is NULL.

virtual vtkCamera* vtkCameraActor::GetCamera ( ) [virtual]

The camera to represent. Initial value is NULL.

virtual void vtkCameraActor::SetWidthByHeightRatio ( double  ) [virtual]

Ratio between the width and the height of the frustum. Initial value is 1.0 (square)

Ratio between the width and the height of the frustum. Initial value is 1.0 (square)

virtual int vtkCameraActor::RenderOpaqueGeometry ( vtkViewport viewport) [virtual]

Support the standard render methods.

Reimplemented from vtkProp.

Does this prop have some translucent polygonal geometry? No.

Reimplemented from vtkProp.

Release any graphics resources that are being consumed by this actor. The parameter window could be used to determine which graphic resources to release.

Reimplemented from vtkProp.

Get the bounds for this Actor as (Xmin,Xmax,Ymin,Ymax,Zmin,Zmax).

Implements vtkProp3D.

unsigned long int vtkCameraActor::GetMTime ( ) [virtual]

Get the actors mtime plus consider its properties and texture if set.

Reimplemented from vtkProp3D.

Get property of the internal actor.

Set property of the internal actor.

void vtkCameraActor::UpdateViewProps ( ) [protected]

Member Data Documentation

Definition at line 86 of file vtkCameraActor.h.

Definition at line 87 of file vtkCameraActor.h.

Definition at line 89 of file vtkCameraActor.h.

Definition at line 90 of file vtkCameraActor.h.

Definition at line 91 of file vtkCameraActor.h.


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