Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

vtkFollower Class Reference

a subclass of actor that always faces the camera. More...

#include <vtkFollower.h>

Inheritance diagram for vtkFollower:

Inheritance graph
[legend]
Collaboration diagram for vtkFollower:

Collaboration graph
[legend]
List of all members.

Public Methods

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)
virtual int RenderOpaqueGeometry (vtkViewport *viewport)
virtual int RenderTranslucentGeometry (vtkViewport *viewport)
virtual void Render (vtkRenderer *ren)
virtual void GetMatrix (vtkMatrix4x4 *m)
virtual void GetMatrix (double m[16])
virtual vtkMatrix4x4GetMatrix ()
virtual void SetCamera (vtkCamera *)
virtual vtkCameraGetCamera ()
void ShallowCopy (vtkProp *prop)
void GetMatrix (vtkMatrix4x4 &m)

Static Public Methods

int IsTypeOf (const char *type)
vtkFollower * SafeDownCast (vtkObject *o)
vtkFollower * New ()

Protected Methods

 vtkFollower ()
 ~vtkFollower ()
 vtkFollower (const vtkFollower &)
void operator= (const vtkFollower &)

Protected Attributes

vtkCameraCamera
vtkActorDevice

Detailed Description

a subclass of actor that always faces the camera.

Date:
2000/12/10 20:08:37
Revision:
1.42

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
Examples:
vtkFollower (examples)

Definition at line 67 of file vtkFollower.h.


Constructor & Destructor Documentation

vtkFollower::vtkFollower   [protected]
 

vtkFollower::~vtkFollower   [protected]
 

vtkFollower::vtkFollower const vtkFollower &    [inline, protected]
 

Definition at line 107 of file vtkFollower.h.


Member Function Documentation

virtual const char* vtkFollower::GetClassName   [virtual]
 

Return the class name as a string. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkActor.

int vtkFollower::IsTypeOf const char *    type [static]
 

Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkActor.

virtual int vtkFollower::IsA const char *    type [virtual]
 

Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkActor.

vtkFollower* vtkFollower::SafeDownCast vtkObject   o [static]
 

Will cast the supplied object to vtkObject* is this is a safe operation (i.e., a safe downcast); otherwise NULL is returned. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkActor.

void vtkFollower::PrintSelf ostream &    os,
vtkIndent    indent
[virtual]
 

Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.

Reimplemented from vtkActor.

vtkFollower* vtkFollower::New   [static]
 

Creates a follower with no camera set

Reimplemented from vtkActor.

virtual int vtkFollower::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 vtkActor.

virtual int vtkFollower::RenderTranslucentGeometry vtkViewport   viewport [virtual]
 

Reimplemented from vtkActor.

virtual void vtkFollower::Render vtkRenderer   ren [virtual]
 

virtual void vtkFollower::GetMatrix vtkMatrix4x4   m [virtual]
 

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

Reimplemented from vtkProp3D.

virtual void vtkFollower::GetMatrix double    m[16] [inline, virtual]
 

Reimplemented from vtkProp3D.

Definition at line 85 of file vtkFollower.h.

virtual vtkMatrix4x4* vtkFollower::GetMatrix   [inline, virtual]
 

Get a pointer to an internal vtkMatrix4x4. that represents

Reimplemented from vtkProp3D.

Definition at line 87 of file vtkFollower.h.

virtual void vtkFollower::SetCamera vtkCamera   [virtual]
 

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

virtual vtkCamera* vtkFollower::GetCamera   [virtual]
 

void vtkFollower::ShallowCopy vtkProp   prop [virtual]
 

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

Reimplemented from vtkActor.

void vtkFollower::GetMatrix vtkMatrix4x4   m [inline, virtual]
 

For legacy compatibility. Do not use.

Reimplemented from vtkProp3D.

Definition at line 100 of file vtkFollower.h.

void vtkFollower::operator= const vtkFollower &    [inline, protected]
 

Definition at line 108 of file vtkFollower.h.


Member Data Documentation

vtkCamera* vtkFollower::Camera [protected]
 

Definition at line 110 of file vtkFollower.h.

vtkActor* vtkFollower::Device [protected]
 

Definition at line 111 of file vtkFollower.h.


The documentation for this class was generated from the following file:
Generated on Wed Nov 21 12:48:01 2001 for VTK by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001