VTK
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 
56 {
57 public:
59  void PrintSelf(ostream& os, vtkIndent indent);
60 
62  static vtkPropAssembly *New();
63 
65  void AddPart(vtkProp *);
66 
69 
72 
74 
82 
85 
90 
94  double *GetBounds();
95 
97  void ShallowCopy(vtkProp *Prop);
98 
101  unsigned long int GetMTime();
102 
104 
116 
117 //BTX
119 
123 //ETX
125 
126 protected:
129 
131  double Bounds[6];
132 
133  // Support the BuildPaths() method,
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 
vtkPropAssembly::RemovePart
void RemovePart(vtkProp *)
vtkPropAssembly::PathTime
vtkTimeStamp PathTime
Definition: vtkPropAssembly.h:134
vtkPropAssembly::RenderVolumetricGeometry
virtual int RenderVolumetricGeometry(vtkViewport *ren)
vtkPropAssembly::RenderOpaqueGeometry
int RenderOpaqueGeometry(vtkViewport *ren)
vtkPropAssembly
create hierarchies of props
Definition: vtkPropAssembly.h:56
vtkTimeStamp
record modification and/or execution time
Definition: vtkTimeStamp.h:35
vtkPropAssembly::BuildPaths
void BuildPaths(vtkAssemblyPaths *paths, vtkAssemblyPath *path)
vtkTypeMacro
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:642
vtkPropAssembly::~vtkPropAssembly
~vtkPropAssembly()
vtkAssemblyPath
a list of nodes that form an assembly path
Definition: vtkAssemblyPath.h:41
vtkProp.h
vtkPropAssembly::ReleaseGraphicsResources
void ReleaseGraphicsResources(vtkWindow *)
vtkAssemblyPaths
a list of lists of props representing an assembly hierarchy
Definition: vtkAssemblyPaths.h:37
vtkWindow
window superclass for vtkRenderWindow
Definition: vtkWindow.h:34
vtkPropAssembly::InitPathTraversal
void InitPathTraversal()
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkRenderingCoreModule.h
vtkgl::path
GLsizei const GLchar ** path
Definition: vtkgl.h:13835
vtkPropAssembly::RenderOverlay
int RenderOverlay(vtkViewport *ren)
vtkPropAssembly::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
vtkPropAssembly::GetParts
vtkPropCollection * GetParts()
vtkPropAssembly::ShallowCopy
void ShallowCopy(vtkProp *Prop)
vtkViewport
abstract specification for Viewports
Definition: vtkViewport.h:47
vtkPropAssembly::vtkPropAssembly
vtkPropAssembly()
vtkPropAssembly::GetNextPath
vtkAssemblyPath * GetNextPath()
vtkProp
abstract superclass for all actors, volumes and annotations
Definition: vtkProp.h:50
vtkPropAssembly::AddPart
void AddPart(vtkProp *)
vtkPropAssembly::HasTranslucentPolygonalGeometry
virtual int HasTranslucentPolygonalGeometry()
VTKRENDERINGCORE_EXPORT
#define VTKRENDERINGCORE_EXPORT
Definition: vtkRenderingCoreModule.h:15
vtkPropAssembly::GetMTime
unsigned long int GetMTime()
vtkPropAssembly::GetBounds
double * GetBounds()
vtkPropAssembly::UpdatePaths
void UpdatePaths()
vtkPropCollection
a list of Props
Definition: vtkPropCollection.h:38
vtkPropAssembly::New
static vtkPropAssembly * New()
vtkPropAssembly::RenderTranslucentPolygonalGeometry
virtual int RenderTranslucentPolygonalGeometry(vtkViewport *ren)
vtkPropAssembly::GetNumberOfPaths
int GetNumberOfPaths()
vtkPropAssembly::Parts
vtkPropCollection * Parts
Definition: vtkPropAssembly.h:130