Documentation for vtkFollower

vtkFollower - a subclass of actor that always faces the camera

Super Class: vtkActor

Description:

vtkFollower is a subclass of vtkActor that always follows its specified 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 text labels in a scene. All of the adjustments that can be made to an actor also will take effect with a follower. So, 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:

vtkActor vtkCamera

 

Methods:

void vtkFollower ()
void vtkFollower ()
const char *GetClassName ()
void PrintSelf (unknown & ,vtkIndent )
static vtkFollower *New ()
void Render (vtkRenderer *)
void GetMatrix (vtkMatrix4x4 *)
void SetCamera (vtkCamera *)
vtkCamera *GetCamera ()
void GetMatrix (vtkMatrix4x4 &)

 

Detailed Method Descriptions:

Creates a follower with no camera set

static vtkFollower *New ()

This causes the actor to be rendered. It, in turn, will render the actor's property and then mapper.

void Render (vtkRenderer *)

Copy the follower's composite 4x4 matrix into the matrix provided.

void GetMatrix (vtkMatrix4x4 *)

Set/Get the camera to follow. If this is not set, then the follower won't know who to follow.

void SetCamera (vtkCamera *)
vtkCamera *GetCamera ()