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:
50  static vtkProp3DFollower *New();
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*);
68  vtkGetObjectMacro(Camera, vtkCamera);
70 
72 
75  virtual int RenderOpaqueGeometry(vtkViewport *viewport);
76  virtual int RenderTranslucentPolygonalGeometry(vtkViewport *viewport);
77  virtual int RenderVolumetricGeometry(vtkViewport *viewport);
79 
81  virtual int HasTranslucentPolygonalGeometry();
82 
85  virtual void ReleaseGraphicsResources(vtkWindow*);
86 
90  virtual void ComputeMatrix();
91 
93  void ShallowCopy(vtkProp *prop);
94 
96  virtual double *GetBounds();
97 
99 
101  void InitPathTraversal();
102  virtual vtkAssemblyPath *GetNextPath();
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
abstract superclass for all actors, volumes and annotations
Definition: vtkProp.h:52
represent and manipulate 4x4 transformation matrices
Definition: vtkMatrix4x4.h:38
abstract specification for Viewports
Definition: vtkViewport.h:46
virtual int RenderOpaqueGeometry(vtkViewport *)
Definition: vtkProp.h:198
virtual int HasTranslucentPolygonalGeometry()
Definition: vtkProp.h:262
virtual vtkAssemblyPath * GetNextPath()
represents an 3D object for placement in a rendered scene
Definition: vtkProp3D.h:42
void InitPathTraversal()
virtual void ReleaseGraphicsResources(vtkWindow *)
Definition: vtkProp.h:270
window superclass for vtkRenderWindow
Definition: vtkWindow.h:36
virtual int RenderVolumetricGeometry(vtkViewport *)
Definition: vtkProp.h:202
void ShallowCopy(vtkProp *prop)
a list of nodes that form an assembly path
virtual void ComputeMatrix()
a simple class to control print indentation
Definition: vtkIndent.h:38
void PrintSelf(ostream &os, vtkIndent indent)
a virtual camera for 3D rendering
Definition: vtkCamera.h:48
a vtkProp3D that always faces the camera
abstract class specifies interface to map data to graphics primitives
Definition: vtkMapper.h:89
#define VTKRENDERINGCORE_EXPORT
virtual int RenderTranslucentPolygonalGeometry(vtkViewport *)
Definition: vtkProp.h:200
virtual double * GetBounds()=0
static vtkObject * New()
vtkMatrix4x4 * InternalMatrix