VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Rendering
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 "
vtkProp3D.h
"
40
41
class
vtkCamera
;
42
class
vtkMapper
;
43
44
45
class
VTK_RENDERING_EXPORT
vtkProp3DFollower
:
public
vtkProp3D
46
{
47
public
:
49
static
vtkProp3DFollower
*
New
();
50
52
53
vtkTypeMacro(
vtkProp3DFollower
,
vtkProp3D
);
54
void
PrintSelf
(ostream& os,
vtkIndent
indent);
56
58
59
virtual
void
SetProp3D(
vtkProp3D
*prop);
60
virtual
vtkProp3D
*GetProp3D();
62
64
66
virtual
void
SetCamera(
vtkCamera
*);
67
vtkGetObjectMacro(Camera,
vtkCamera
);
69
71
74
virtual
int
RenderOpaqueGeometry
(
vtkViewport
*viewport);
75
virtual
int
RenderTranslucentPolygonalGeometry
(
vtkViewport
*viewport);
76
virtual
int
RenderVolumetricGeometry
(
vtkViewport
*viewport);
78
80
virtual
int
HasTranslucentPolygonalGeometry
();
81
84
virtual
void
ReleaseGraphicsResources
(
vtkWindow
*);
85
89
virtual
void
ComputeMatrix
();
90
92
void
ShallowCopy
(
vtkProp
*prop);
93
95
virtual
double
*
GetBounds
();
96
98
100
void
InitPathTraversal
();
101
virtual
vtkAssemblyPath
*
GetNextPath
();
103
104
protected
:
105
vtkProp3DFollower
();
106
~
vtkProp3DFollower
();
107
108
vtkCamera
*
Camera
;
109
vtkProp3D
*
Device
;
110
111
private
:
112
vtkProp3DFollower
(
const
vtkProp3DFollower
&);
// Not implemented.
113
void
operator=(
const
vtkProp3DFollower
&);
// Not implemented.
114
115
//Internal matrices to avoid New/Delete for performance reasons
116
vtkMatrix4x4
*InternalMatrix;
117
118
};
119
120
#endif
Generated on Wed Nov 21 2012 21:34:04 for VTK by
1.8.2