vtkProp3DFollower Class Reference

#include <vtkProp3DFollower.h>

Inheritance diagram for vtkProp3DFollower:

Inheritance graph
[legend]
Collaboration diagram for vtkProp3DFollower:

Collaboration graph
[legend]

List of all members.


Detailed Description

a vtkProp3D that always faces the camera

vtkProp3DFollower is a type of vtkProp3D that always faces the camera. More specifically it will not change its position or scale, but it will continually update its orientation so that it is right side up and facing the camera. This is typically used for complex billboards or props that need to face the viewer at all times.

Note: All of the transformations that can be made to a vtkProp3D will take effect with the follower. Thus, if you change the orientation of the follower by 90 degrees, then it will follow the camera, but be off by 90 degrees.

See also:
vtkFollower vtkProp3D vtkActor vtkCamera
Tests:
vtkProp3DFollower (Tests)

Definition at line 45 of file vtkProp3DFollower.h.

typedef vtkProp3D Superclass
static int IsTypeOf (const char *type)
static vtkProp3DFollowerSafeDownCast (vtkObject *o)
virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)

Public Member Functions

virtual int HasTranslucentPolygonalGeometry ()
virtual void ReleaseGraphicsResources (vtkWindow *)
virtual void ComputeMatrix ()
void ShallowCopy (vtkProp *prop)
virtual double * GetBounds ()
virtual void SetProp3D (vtkProp3D *prop)
virtual vtkProp3DGetProp3D ()
virtual void SetCamera (vtkCamera *)
virtual vtkCameraGetCamera ()
virtual int RenderOpaqueGeometry (vtkViewport *viewport)
virtual int RenderTranslucentPolygonalGeometry (vtkViewport *viewport)
virtual int RenderVolumetricGeometry (vtkViewport *viewport)
void InitPathTraversal ()
virtual vtkAssemblyPathGetNextPath ()

Static Public Member Functions

static vtkProp3DFollowerNew ()

Protected Member Functions

 vtkProp3DFollower ()
 ~vtkProp3DFollower ()

Protected Attributes

vtkCameraCamera
vtkProp3DDevice

Member Typedef Documentation

Standard VTK methods for type and printing.

Reimplemented from vtkProp3D.

Definition at line 53 of file vtkProp3DFollower.h.


Constructor & Destructor Documentation

vtkProp3DFollower::vtkProp3DFollower (  )  [protected]

vtkProp3DFollower::~vtkProp3DFollower (  )  [protected]


Member Function Documentation

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

Creates a follower with no camera set.

Reimplemented from vtkObject.

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

Standard VTK methods for type and printing.

Reimplemented from vtkProp3D.

static int vtkProp3DFollower::IsTypeOf ( const char *  type  )  [static]

Standard VTK methods for type and printing.

Reimplemented from vtkProp3D.

virtual int vtkProp3DFollower::IsA ( const char *  type  )  [virtual]

Standard VTK methods for type and printing.

Reimplemented from vtkProp3D.

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

Standard VTK methods for type and printing.

Reimplemented from vtkProp3D.

void vtkProp3DFollower::PrintSelf ( ostream &  os,
vtkIndent  indent 
) [virtual]

Standard VTK methods for type and printing.

Reimplemented from vtkProp3D.

virtual void vtkProp3DFollower::SetProp3D ( vtkProp3D prop  )  [virtual]

Set/Get the vtkProp3D to control (i.e., face the camera).

virtual vtkProp3D* vtkProp3DFollower::GetProp3D (  )  [virtual]

Set/Get the vtkProp3D to control (i.e., face the camera).

virtual void vtkProp3DFollower::SetCamera ( vtkCamera  )  [virtual]

Set/Get the camera to follow. If this is not set, then the follower won't know what to follow and will act like a normal vtkProp3D.

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

Set/Get the camera to follow. If this is not set, then the follower won't know what to follow and will act like a normal vtkProp3D.

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

This causes the actor to be rendered. It in turn will render the actor's property, texture map and then mapper. If a property hasn't been assigned, then the actor will create one automatically.

Reimplemented from vtkProp.

virtual int vtkProp3DFollower::RenderTranslucentPolygonalGeometry ( vtkViewport viewport  )  [virtual]

This causes the actor to be rendered. It in turn will render the actor's property, texture map and then mapper. If a property hasn't been assigned, then the actor will create one automatically.

Reimplemented from vtkProp.

virtual int vtkProp3DFollower::RenderVolumetricGeometry ( vtkViewport viewport  )  [virtual]

This causes the actor to be rendered. It in turn will render the actor's property, texture map and then mapper. If a property hasn't been assigned, then the actor will create one automatically.

Reimplemented from vtkProp.

virtual int vtkProp3DFollower::HasTranslucentPolygonalGeometry (  )  [virtual]

Does this prop have some translucent polygonal geometry?

Reimplemented from vtkProp.

virtual void vtkProp3DFollower::ReleaseGraphicsResources ( vtkWindow  )  [virtual]

Release any graphics resources associated with this vtkProp3DFollower.

Reimplemented from vtkProp.

virtual void vtkProp3DFollower::ComputeMatrix (  )  [virtual]

Generate the matrix based on ivars. This method overloads its superclasses ComputeMatrix() method due to the special vtkProp3DFollower matrix operations.

Reimplemented from vtkProp3D.

void vtkProp3DFollower::ShallowCopy ( vtkProp prop  )  [virtual]

Shallow copy of a follower. Overloads the virtual vtkProp method.

Reimplemented from vtkProp3D.

virtual double* vtkProp3DFollower::GetBounds (  )  [virtual]

Return the bounds of this vtkProp3D.

Implements vtkProp3D.

void vtkProp3DFollower::InitPathTraversal (  )  [virtual]

Overload vtkProp's method for setting up assembly paths. See the documentation for vtkProp.

Reimplemented from vtkProp3D.

virtual vtkAssemblyPath* vtkProp3DFollower::GetNextPath (  )  [virtual]

Overload vtkProp's method for setting up assembly paths. See the documentation for vtkProp.

Reimplemented from vtkProp.


Member Data Documentation

Definition at line 108 of file vtkProp3DFollower.h.

Definition at line 109 of file vtkProp3DFollower.h.


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

Generated on Wed Aug 24 11:58:37 2011 for VTK by  doxygen 1.5.6