dox/Rendering/vtkFollower.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00041
#ifndef __vtkFollower_h
00042
#define __vtkFollower_h
00043
00044
#include "vtkActor.h"
00045
00046
class vtkCamera;
00047
00048 class VTK_RENDERING_EXPORT vtkFollower :
public vtkActor
00049 {
00050
public:
00051 vtkTypeRevisionMacro(vtkFollower,
vtkActor);
00052
void PrintSelf(ostream& os,
vtkIndent indent);
00053
00055
static vtkFollower *
New();
00056
00058
00060
virtual void SetCamera(
vtkCamera*);
00061 vtkGetObjectMacro(Camera,
vtkCamera);
00063
00065
00068
virtual int RenderOpaqueGeometry(
vtkViewport *viewport);
00069
virtual int RenderTranslucentGeometry(
vtkViewport *viewport);
00070
virtual void Render(
vtkRenderer *ren);
00072
00074
00075
virtual void GetMatrix(
vtkMatrix4x4 *m);
00076
virtual void GetMatrix(
double m[16]);
00077 virtual vtkMatrix4x4*
GetMatrix()
00078 {
return this->
vtkActor::GetMatrix();}
00080
00082
void ShallowCopy(
vtkProp *prop);
00083
00084
protected:
00085 vtkFollower();
00086 ~vtkFollower();
00087
00088 vtkCamera *Camera;
00089 vtkActor *Device;
00090
private:
00091
00092
virtual void Render(
vtkRenderer *,
vtkMapper *) {};
00093
private:
00094 vtkFollower(
const vtkFollower&);
00095
void operator=(
const vtkFollower&);
00096 };
00097
00098
#endif
00099
00100
00101