VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Rendering
Core
vtkPropAssembly.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkPropAssembly.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
=========================================================================*/
49
#ifndef __vtkPropAssembly_h
50
#define __vtkPropAssembly_h
51
52
#include "vtkRenderingCoreModule.h"
// For export macro
53
#include "
vtkProp.h
"
54
55
class
VTKRENDERINGCORE_EXPORT
vtkPropAssembly
:
public
vtkProp
56
{
57
public
:
58
vtkTypeMacro(
vtkPropAssembly
,
vtkProp
);
59
void
PrintSelf
(ostream& os,
vtkIndent
indent);
60
62
static
vtkPropAssembly
*
New
();
63
65
void
AddPart(
vtkProp
*);
66
68
void
RemovePart(
vtkProp
*);
69
71
vtkPropCollection
*GetParts();
72
74
77
int
RenderOpaqueGeometry
(
vtkViewport
*ren);
78
virtual
int
RenderTranslucentPolygonalGeometry
(
vtkViewport
*ren);
79
virtual
int
RenderVolumetricGeometry
(
vtkViewport
*ren);
80
int
RenderOverlay
(
vtkViewport
*ren);
82
84
virtual
int
HasTranslucentPolygonalGeometry
();
85
89
void
ReleaseGraphicsResources
(
vtkWindow
*);
90
94
double
*
GetBounds
();
95
97
void
ShallowCopy
(
vtkProp
*Prop);
98
101
unsigned
long
int
GetMTime
();
102
104
112
void
InitPathTraversal
();
113
vtkAssemblyPath
*
GetNextPath
();
114
int
GetNumberOfPaths
();
116
117
//BTX
119
122
void
BuildPaths
(
vtkAssemblyPaths
*paths,
vtkAssemblyPath
*path);
123
//ETX
125
126
protected
:
127
vtkPropAssembly
();
128
~
vtkPropAssembly
();
129
130
vtkPropCollection
*
Parts
;
131
double
Bounds[6];
132
133
// Support the BuildPaths() method,
134
vtkTimeStamp
PathTime
;
135
void
UpdatePaths();
//apply transformations and properties recursively
136
private
:
137
vtkPropAssembly
(
const
vtkPropAssembly
&);
// Not implemented.
138
void
operator=(
const
vtkPropAssembly
&);
// Not implemented.
139
};
140
141
#endif
142
143
144
145
Generated on Thu May 24 2012 22:22:34 for VTK by
1.8.1