#include <vtkProp3DFollower.h>
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.
Definition at line 45 of file vtkProp3DFollower.h.
typedef vtkProp3D | Superclass |
static int | IsTypeOf (const char *type) |
static vtkProp3DFollower * | SafeDownCast (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 vtkProp3D * | GetProp3D () |
virtual void | SetCamera (vtkCamera *) |
virtual vtkCamera * | GetCamera () |
virtual int | RenderOpaqueGeometry (vtkViewport *viewport) |
virtual int | RenderTranslucentPolygonalGeometry (vtkViewport *viewport) |
virtual int | RenderVolumetricGeometry (vtkViewport *viewport) |
void | InitPathTraversal () |
virtual vtkAssemblyPath * | GetNextPath () |
Static Public Member Functions | |
static vtkProp3DFollower * | New () |
Protected Member Functions | |
vtkProp3DFollower () | |
~vtkProp3DFollower () | |
Protected Attributes | |
vtkCamera * | Camera |
vtkProp3D * | Device |
Standard VTK methods for type and printing.
Reimplemented from vtkProp3D.
Definition at line 53 of file vtkProp3DFollower.h.
vtkProp3DFollower::vtkProp3DFollower | ( | ) | [protected] |
vtkProp3DFollower::~vtkProp3DFollower | ( | ) | [protected] |
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] |
virtual double* vtkProp3DFollower::GetBounds | ( | ) | [virtual] |
void vtkProp3DFollower::InitPathTraversal | ( | ) | [virtual] |
virtual vtkAssemblyPath* vtkProp3DFollower::GetNextPath | ( | ) | [virtual] |
vtkCamera* vtkProp3DFollower::Camera [protected] |
Definition at line 108 of file vtkProp3DFollower.h.
vtkProp3D* vtkProp3DFollower::Device [protected] |
Definition at line 109 of file vtkProp3DFollower.h.