vtkCameraActor Class Reference

#include <vtkCameraActor.h>

Inheritance diagram for vtkCameraActor:

Inheritance graph
[legend]
Collaboration diagram for vtkCameraActor:

Collaboration graph
[legend]

List of all members.


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 36 of file vtkCameraActor.h.


Public Types

typedef vtkProp3D Superclass

Public Member Functions

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)
virtual int RenderOpaqueGeometry (vtkViewport *viewport)
virtual int HasTranslucentPolygonalGeometry ()
void ReleaseGraphicsResources (vtkWindow *)
double * GetBounds ()
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 (vtkObject *o)

Protected Member Functions

 vtkCameraActor ()
 ~vtkCameraActor ()
void UpdateViewProps ()

Protected Attributes

vtkCameraCamera
double WidthByHeightRatio
vtkFrustumSourceFrustumSource
vtkPolyDataMapperFrustumMapper
vtkActorFrustumActor

Member Typedef Documentation

Reimplemented from vtkProp3D.

Definition at line 40 of file vtkCameraActor.h.


Constructor & Destructor Documentation

vtkCameraActor::vtkCameraActor (  )  [protected]

vtkCameraActor::~vtkCameraActor (  )  [protected]


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.

virtual const char* vtkCameraActor::GetClassName (  )  [virtual]

Reimplemented from vtkProp3D.

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.

static vtkCameraActor* vtkCameraActor::SafeDownCast ( vtkObject o  )  [static]

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.

void vtkCameraActor::SetCamera ( vtkCamera camera  ) 

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)

virtual double vtkCameraActor::GetWidthByHeightRatio (  )  [virtual]

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.

virtual int vtkCameraActor::HasTranslucentPolygonalGeometry (  )  [virtual]

Does this prop have some translucent polygonal geometry? No.

Reimplemented from vtkProp.

void vtkCameraActor::ReleaseGraphicsResources ( vtkWindow  )  [virtual]

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.

double* vtkCameraActor::GetBounds (  )  [virtual]

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.

vtkProperty* vtkCameraActor::GetProperty (  ) 

Get property of the internal actor.

void vtkCameraActor::SetProperty ( vtkProperty p  ) 

Set property of the internal actor.

void vtkCameraActor::UpdateViewProps (  )  [protected]


Member Data Documentation

Definition at line 85 of file vtkCameraActor.h.

Definition at line 86 of file vtkCameraActor.h.

Definition at line 88 of file vtkCameraActor.h.

Definition at line 89 of file vtkCameraActor.h.

Definition at line 90 of file vtkCameraActor.h.


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

Generated on Wed Aug 24 11:30:16 2011 for VTK by  doxygen 1.5.6