VTK
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
vtkProp3DFollower Class Reference

a vtkProp3D that always faces the camera More...

#include <vtkProp3DFollower.h>

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

List of all members.

Public Member Functions

virtual int HasTranslucentPolygonalGeometry ()
virtual void ReleaseGraphicsResources (vtkWindow *)
virtual void ComputeMatrix ()
void ShallowCopy (vtkProp *prop)
virtual doubleGetBounds ()
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
typedef vtkProp3D Superclass
static int IsTypeOf (const char *type)
static vtkProp3DFollowerSafeDownCast (vtkObjectBase *o)
virtual int IsA (const char *type)
vtkProp3DFollowerNewInstance () const
void PrintSelf (ostream &os, vtkIndent indent)
virtual vtkObjectBaseNewInstanceInternal () const

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 46 of file vtkProp3DFollower.h.


Member Typedef Documentation

Standard VTK methods for type and printing.

Reimplemented from vtkProp3D.

Definition at line 54 of file vtkProp3DFollower.h.


Constructor & Destructor Documentation


Member Function Documentation

Creates a follower with no camera set.

Reimplemented from vtkObject.

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.

Standard VTK methods for type and printing.

Reimplemented from vtkProp3D.

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

Standard VTK methods for type and printing.

Reimplemented from vtkProp3D.

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.

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.

Does this prop have some translucent polygonal geometry?

Reimplemented from vtkProp.

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.

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

Reimplemented from vtkProp3D.

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

Reimplemented from vtkProp.


Member Data Documentation

Definition at line 109 of file vtkProp3DFollower.h.

Definition at line 110 of file vtkProp3DFollower.h.


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