#include <vtkALBAAssembly.h>
create hierarchies of vtkProp3Ds (transformable props) vtkALBAAssembly same as vtkAssembly, but has an extra link for client data.
- See also
- vtkActor vtkAssembly vtkTransform vtkMapper vtkPolyDataMapper vtkPropAssembly
Definition at line 36 of file vtkALBAAssembly.h.
◆ vtkALBAAssembly()
vtkALBAAssembly::vtkALBAAssembly |
( |
| ) |
|
|
protected |
◆ ~vtkALBAAssembly()
vtkALBAAssembly::~vtkALBAAssembly |
( |
| ) |
|
|
protected |
◆ New()
◆ vtkTypeRevisionMacro()
◆ PrintSelf()
void vtkALBAAssembly::PrintSelf |
( |
ostream & |
os, |
|
|
vtkIndent |
indent |
|
) |
| |
◆ GetVme()
albaVME * vtkALBAAssembly::GetVme |
( |
| ) |
|
|
inline |
◆ SetVme()
void vtkALBAAssembly::SetVme |
( |
albaVME * |
vme | ) |
|
|
inline |
◆ AddPart()
void vtkALBAAssembly::AddPart |
( |
vtkProp3D * |
| ) |
|
Add a part to the list of parts.
◆ RemovePart()
void vtkALBAAssembly::RemovePart |
( |
vtkProp3D * |
| ) |
|
Remove a part from the list of parts,.
◆ GetParts()
vtkProp3DCollection * vtkALBAAssembly::GetParts |
( |
| ) |
|
|
inline |
Return the parts (direct descendants) of this assembly.
Get the list of parts for this assembly.
Definition at line 147 of file vtkALBAAssembly.h.
References m_Parts.
◆ GetActors()
void vtkALBAAssembly::GetActors |
( |
vtkPropCollection * |
| ) |
|
For some exporters and other other operations we must be able to collect all the actors or volumes.
These methods are used in that process.
◆ GetVolumes()
void vtkALBAAssembly::GetVolumes |
( |
vtkPropCollection * |
| ) |
|
◆ RenderOpaqueGeometry()
int vtkALBAAssembly::RenderOpaqueGeometry |
( |
vtkViewport * |
ren | ) |
|
Render this assembly and all its parts.
The rendering process is recursive. Note that a mapper need not be defined. If not defined, then no geometry will be drawn for this assembly. This allows you to create "logical" assemblies; that is, assemblies that only serve to group and transform its parts.
◆ RenderTranslucentGeometry()
int vtkALBAAssembly::RenderTranslucentGeometry |
( |
vtkViewport * |
ren | ) |
|
◆ ReleaseGraphicsResources()
void vtkALBAAssembly::ReleaseGraphicsResources |
( |
vtkWindow * |
| ) |
|
Release any graphics resources that are being consumed by this actor.
The parameter window could be used to determine which graphic resources to release.
◆ InitPathTraversal()
void vtkALBAAssembly::InitPathTraversal |
( |
| ) |
|
Methods to traverse the parts of an assembly.
Each part (starting from the root) will appear properly transformed and with the correct properties (depending upon the ApplyProperty and ApplyTransform ivars). Note that the part appears as an instance of vtkProp. These methods should be contrasted to those that traverse the list of parts using GetParts(). GetParts() returns a list of children of this assembly, not necessarily with the correct transformation or properties. To use the methods below - first invoke InitPathTraversal() followed by repeated calls to GetNextPath(). GetNextPath() returns a NULL pointer when the list is exhausted.
◆ GetNextPath()
vtkAssemblyPath * vtkALBAAssembly::GetNextPath |
( |
| ) |
|
◆ GetNumberOfPaths()
int vtkALBAAssembly::GetNumberOfPaths |
( |
| ) |
|
◆ GetBounds() [1/2]
void vtkALBAAssembly::GetBounds |
( |
double |
bounds[6] | ) |
|
|
inline |
Get the bounds for the assembly as (Xmin,Xmax,Ymin,Ymax,Zmin,Zmax).
Definition at line 104 of file vtkALBAAssembly.h.
◆ GetBounds() [2/2]
virtual double * vtkALBAAssembly::GetBounds |
( |
| ) |
|
|
virtual |
◆ GetMTime()
unsigned long int vtkALBAAssembly::GetMTime |
( |
| ) |
|
Override default GetMTime method to also consider all of the assembly's parts.
◆ ShallowCopy()
void vtkALBAAssembly::ShallowCopy |
( |
vtkProp * |
prop | ) |
|
Shallow copy of an assembly.
Overloads the virtual vtkProp method.
◆ BuildPaths()
void vtkALBAAssembly::BuildPaths |
( |
vtkAssemblyPaths * |
paths, |
|
|
vtkAssemblyPath * |
path |
|
) |
| |
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THIS METHOD OUTSIDE OF THE RENDERING PROCESS Overload the superclass' vtkProp BuildPaths() method.
Paths consist of an ordered sequence of actors, with transformations properly concatenated.
◆ UpdatePaths()
virtual void vtkALBAAssembly::UpdatePaths |
( |
| ) |
|
|
protectedvirtual |
◆ m_Vme
◆ m_Parts
vtkProp3DCollection* vtkALBAAssembly::m_Parts |
|
protected |
◆ PathTime
vtkTimeStamp vtkALBAAssembly::PathTime |
|
protected |
The documentation for this class was generated from the following file: