VTK
vtkProp3DFollower.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkProp3DFollower.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
36 #ifndef vtkProp3DFollower_h
37 #define vtkProp3DFollower_h
38 
39 #include "vtkRenderingCoreModule.h" // For export macro
40 #include "vtkProp3D.h"
41 
42 class vtkCamera;
43 class vtkMapper;
44 
45 
47 {
48  public:
51 
53 
55  void PrintSelf(ostream& os, vtkIndent indent);
57 
59 
60  virtual void SetProp3D(vtkProp3D *prop);
61  virtual vtkProp3D *GetProp3D();
63 
65 
67  virtual void SetCamera(vtkCamera*);
70 
72 
75  virtual int RenderOpaqueGeometry(vtkViewport *viewport);
77  virtual int RenderVolumetricGeometry(vtkViewport *viewport);
79 
82 
86 
90  virtual void ComputeMatrix();
91 
93  void ShallowCopy(vtkProp *prop);
94 
96  virtual double *GetBounds();
97 
99 
104 
105 protected:
108 
111 
112  //Internal matrices to avoid New/Delete for performance reasons
114 
115 private:
116  vtkProp3DFollower(const vtkProp3DFollower&); // Not implemented.
117  void operator=(const vtkProp3DFollower&); // Not implemented.
118 };
119 
120 #endif
vtkProp3DFollower::GetNextPath
virtual vtkAssemblyPath * GetNextPath()
vtkProp3DFollower::GetBounds
virtual double * GetBounds()
vtkProp3DFollower::RenderVolumetricGeometry
virtual int RenderVolumetricGeometry(vtkViewport *viewport)
vtkProp3DFollower::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
vtkGetObjectMacro
#define vtkGetObjectMacro(name, type)
Definition: vtkSetGet.h:232
vtkProp3DFollower::SetCamera
virtual void SetCamera(vtkCamera *)
vtkProp3DFollower::ReleaseGraphicsResources
virtual void ReleaseGraphicsResources(vtkWindow *)
vtkProp3D
represents an 3D object for placement in a rendered scene
Definition: vtkProp3D.h:43
vtkProp3DFollower::InitPathTraversal
void InitPathTraversal()
vtkProp3DFollower::ShallowCopy
void ShallowCopy(vtkProp *prop)
vtkTypeMacro
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:642
vtkProp3DFollower
a vtkProp3D that always faces the camera
Definition: vtkProp3DFollower.h:47
vtkAssemblyPath
a list of nodes that form an assembly path
Definition: vtkAssemblyPath.h:41
vtkWindow
window superclass for vtkRenderWindow
Definition: vtkWindow.h:34
vtkProp3DFollower::Camera
vtkCamera * Camera
Definition: vtkProp3DFollower.h:109
vtkProp3DFollower::~vtkProp3DFollower
~vtkProp3DFollower()
vtkProp3DFollower::SetProp3D
virtual void SetProp3D(vtkProp3D *prop)
vtkMapper
abstract class specifies interface to map data to graphics primitives
Definition: vtkMapper.h:90
vtkProp3DFollower::Device
vtkProp3D * Device
Definition: vtkProp3DFollower.h:110
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkMatrix4x4
represent and manipulate 4x4 transformation matrices
Definition: vtkMatrix4x4.h:39
vtkRenderingCoreModule.h
vtkCamera
a virtual camera for 3D rendering
Definition: vtkCamera.h:49
vtkProp3DFollower::New
static vtkProp3DFollower * New()
vtkProp3DFollower::RenderTranslucentPolygonalGeometry
virtual int RenderTranslucentPolygonalGeometry(vtkViewport *viewport)
vtkViewport
abstract specification for Viewports
Definition: vtkViewport.h:47
vtkProp3DFollower::vtkProp3DFollower
vtkProp3DFollower()
vtkProp
abstract superclass for all actors, volumes and annotations
Definition: vtkProp.h:50
vtkProp3DFollower::HasTranslucentPolygonalGeometry
virtual int HasTranslucentPolygonalGeometry()
vtkProp3DFollower::RenderOpaqueGeometry
virtual int RenderOpaqueGeometry(vtkViewport *viewport)
vtkProp3DFollower::ComputeMatrix
virtual void ComputeMatrix()
VTKRENDERINGCORE_EXPORT
#define VTKRENDERINGCORE_EXPORT
Definition: vtkRenderingCoreModule.h:15
vtkProp3DFollower::GetProp3D
virtual vtkProp3D * GetProp3D()
vtkProp3DFollower::InternalMatrix
vtkMatrix4x4 * InternalMatrix
Definition: vtkProp3DFollower.h:113
vtkProp3D.h