VTK
|
a vtkProp3D that always faces the camera More...
#include <vtkProp3DFollower.h>
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.
Definition at line 46 of file vtkProp3DFollower.h.
Standard VTK methods for type and printing.
Reimplemented from vtkProp3D.
Definition at line 54 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.
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 | ( | vtkObjectBase * | o | ) | [static] |
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.
vtkProp3DFollower* vtkProp3DFollower::NewInstance | ( | ) | const |
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 109 of file vtkProp3DFollower.h.
vtkProp3D* vtkProp3DFollower::Device [protected] |
Definition at line 110 of file vtkProp3DFollower.h.