ActiViz .NET  5.8.0
Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | Protected Member Functions | Private Member Functions | Static Private Member Functions
Kitware.VTK.vtkAssembly Class Reference

vtkAssembly - create hierarchies of vtkProp3Ds (transformable props) More...

Inheritance diagram for Kitware.VTK.vtkAssembly:
[legend]
Collaboration diagram for Kitware.VTK.vtkAssembly:
[legend]

List of all members.

Public Member Functions

 vtkAssembly (IntPtr rawCppThis, bool callDisposalMethod, bool strong)
 Automatically generated constructor - called from generated code. DO NOT call directly.
 vtkAssembly ()
 Undocumented Block.
void AddPart (vtkProp3D arg0)
 Add a part to the list of parts.
override void BuildPaths (vtkAssemblyPaths paths, vtkAssemblyPath path)
 Shallow copy of an assembly. Overloads the virtual vtkProp method.
override void GetActors (vtkPropCollection arg0)
 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.
new void GetBounds (IntPtr bounds)
 Get the bounds for the assembly as (Xmin,Xmax,Ymin,Ymax,Zmin,Zmax).
override double[] GetBounds ()
 Get the bounds for the assembly as (Xmin,Xmax,Ymin,Ymax,Zmin,Zmax).
override uint GetMTime ()
 Override default GetMTime method to also consider all of the assembly's parts.
override vtkAssemblyPath GetNextPath ()
 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.
override int GetNumberOfPaths ()
 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.
vtkProp3DCollection GetParts ()
 Get the list of parts for this assembly.
override void GetVolumes (vtkPropCollection arg0)
 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.
override int HasTranslucentPolygonalGeometry ()
 Does this prop have some translucent polygonal geometry?
override void 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.
override int IsA (string type)
 Undocumented Block.
new vtkAssembly NewInstance ()
 Undocumented Block.
override void ReleaseGraphicsResources (vtkWindow arg0)
 Release any graphics resources that are being consumed by this actor. The parameter window could be used to determine which graphic resources to release.
void RemovePart (vtkProp3D arg0)
 Remove a part from the list of parts,.
override int 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.
override int RenderTranslucentPolygonalGeometry (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.
override int RenderVolumetricGeometry (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.
override void ShallowCopy (vtkProp prop)
 Shallow copy of an assembly. Overloads the virtual vtkProp method.

Static Public Member Functions

static new vtkAssembly New ()
 Undocumented Block.
static new int IsTypeOf (string type)
 Undocumented Block.
static new vtkAssembly SafeDownCast (vtkObjectBase o)
 Undocumented Block.

Public Attributes

new const string MRFullTypeName = "Kitware.VTK.vtkAssembly"
 Automatically generated type registration mechanics.

Static Public Attributes

static new readonly string MRClassNameKey = "11vtkAssembly"
 Automatically generated type registration mechanics.

Protected Member Functions

override void Dispose (bool disposing)
 Automatically generated protected Dispose method - called from public Dispose or the C# destructor. DO NOT call directly.

Private Member Functions

static internal IntPtr vtkAssembly_New (ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal void vtkAssembly_AddPart_01 (HandleRef pThis, HandleRef arg0)
static internal void vtkAssembly_BuildPaths_02 (HandleRef pThis, HandleRef paths, HandleRef path)
static internal void vtkAssembly_GetActors_03 (HandleRef pThis, HandleRef arg0)
static internal void vtkAssembly_GetBounds_04 (HandleRef pThis, IntPtr bounds)
static internal IntPtr vtkAssembly_GetBounds_05 (HandleRef pThis)
static internal uint vtkAssembly_GetMTime_06 (HandleRef pThis)
static internal IntPtr vtkAssembly_GetNextPath_07 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal int vtkAssembly_GetNumberOfPaths_08 (HandleRef pThis)
static internal IntPtr vtkAssembly_GetParts_09 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal void vtkAssembly_GetVolumes_10 (HandleRef pThis, HandleRef arg0)
static internal int vtkAssembly_HasTranslucentPolygonalGeometry_11 (HandleRef pThis)
static internal void vtkAssembly_InitPathTraversal_12 (HandleRef pThis)
static internal int vtkAssembly_IsA_13 (HandleRef pThis, string type)
static internal int vtkAssembly_IsTypeOf_14 (string type)
static internal IntPtr vtkAssembly_NewInstance_16 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal void vtkAssembly_ReleaseGraphicsResources_17 (HandleRef pThis, HandleRef arg0)
static internal void vtkAssembly_RemovePart_18 (HandleRef pThis, HandleRef arg0)
static internal int vtkAssembly_RenderOpaqueGeometry_19 (HandleRef pThis, HandleRef ren)
static internal int vtkAssembly_RenderTranslucentPolygonalGeometry_20 (HandleRef pThis, HandleRef ren)
static internal int vtkAssembly_RenderVolumetricGeometry_21 (HandleRef pThis, HandleRef ren)
static internal IntPtr vtkAssembly_SafeDownCast_22 (HandleRef o, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal void vtkAssembly_ShallowCopy_23 (HandleRef pThis, HandleRef prop)

Static Private Member Functions

static vtkAssembly ()
 Automatically generated type registration mechanics.

Detailed Description

vtkAssembly - create hierarchies of vtkProp3Ds (transformable props)

Description vtkAssembly is an object that groups vtkProp3Ds, its subclasses, and other assemblies into a tree-like hierarchy. The vtkProp3Ds and assemblies can then be transformed together by transforming just the root assembly of the hierarchy.

A vtkAssembly object can be used in place of an vtkProp3D since it is a subclass of vtkProp3D. The difference is that vtkAssembly maintains a list of vtkProp3D instances (its "parts") that form the assembly. Then, any operation that transforms (i.e., scales, rotates, translates) the parent assembly will transform all its parts. Note that this process is recursive: you can create groups consisting of assemblies and/or vtkProp3Ds to arbitrary depth.

To add an assembly to the renderer's list of props, you only need to add the root of the assembly. During rendering, the parts of the assembly are rendered during a hierarchical traversal process.


Constructor & Destructor Documentation

static Kitware.VTK.vtkAssembly.vtkAssembly ( ) [static, private]

Automatically generated type registration mechanics.

Kitware.VTK.vtkAssembly.vtkAssembly ( IntPtr  rawCppThis,
bool  callDisposalMethod,
bool  strong 
)

Automatically generated constructor - called from generated code. DO NOT call directly.

Undocumented Block.


Member Function Documentation

Add a part to the list of parts.

override void Kitware.VTK.vtkAssembly.BuildPaths ( vtkAssemblyPaths  paths,
vtkAssemblyPath  path 
) [virtual]

Shallow copy of an assembly. Overloads the virtual vtkProp method.

Reimplemented from Kitware.VTK.vtkProp.

override void Kitware.VTK.vtkAssembly.Dispose ( bool  disposing) [protected]

Automatically generated protected Dispose method - called from public Dispose or the C# destructor. DO NOT call directly.

Reimplemented from Kitware.VTK.vtkProp3D.

override void Kitware.VTK.vtkAssembly.GetActors ( vtkPropCollection  arg0) [virtual]

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.

Reimplemented from Kitware.VTK.vtkProp.

new void Kitware.VTK.vtkAssembly.GetBounds ( IntPtr  bounds)

Get the bounds for the assembly as (Xmin,Xmax,Ymin,Ymax,Zmin,Zmax).

Reimplemented from Kitware.VTK.vtkProp3D.

override double [] Kitware.VTK.vtkAssembly.GetBounds ( ) [virtual]

Get the bounds for the assembly as (Xmin,Xmax,Ymin,Ymax,Zmin,Zmax).

Reimplemented from Kitware.VTK.vtkProp3D.

override uint Kitware.VTK.vtkAssembly.GetMTime ( ) [virtual]

Override default GetMTime method to also consider all of the assembly's parts.

Reimplemented from Kitware.VTK.vtkProp3D.

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.

Reimplemented from Kitware.VTK.vtkProp.

Here is the call graph for this function:

override int Kitware.VTK.vtkAssembly.GetNumberOfPaths ( ) [virtual]

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.

Reimplemented from Kitware.VTK.vtkProp.

Get the list of parts for this assembly.

Here is the call graph for this function:

override void Kitware.VTK.vtkAssembly.GetVolumes ( vtkPropCollection  arg0) [virtual]

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.

Reimplemented from Kitware.VTK.vtkProp.

Does this prop have some translucent polygonal geometry?

Reimplemented from Kitware.VTK.vtkProp.

override void Kitware.VTK.vtkAssembly.InitPathTraversal ( ) [virtual]

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.

Reimplemented from Kitware.VTK.vtkProp3D.

override int Kitware.VTK.vtkAssembly.IsA ( string  type) [virtual]

Undocumented Block.

Reimplemented from Kitware.VTK.vtkProp3D.

static new int Kitware.VTK.vtkAssembly.IsTypeOf ( string  type) [static]

Undocumented Block.

Reimplemented from Kitware.VTK.vtkProp3D.

static new vtkAssembly Kitware.VTK.vtkAssembly.New ( ) [static]

Undocumented Block.

Reimplemented from Kitware.VTK.vtkObject.

Undocumented Block.

Reimplemented from Kitware.VTK.vtkProp3D.

Release any graphics resources that are being consumed by this actor. The parameter window could be used to determine which graphic resources to release.

Reimplemented from Kitware.VTK.vtkProp.

Remove a part from the list of parts,.

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.

Reimplemented from Kitware.VTK.vtkProp.

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.

Reimplemented from Kitware.VTK.vtkProp.

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.

Reimplemented from Kitware.VTK.vtkProp.

Undocumented Block.

Reimplemented from Kitware.VTK.vtkProp3D.

Here is the call graph for this function:

override void Kitware.VTK.vtkAssembly.ShallowCopy ( vtkProp  prop) [virtual]

Shallow copy of an assembly. Overloads the virtual vtkProp method.

Reimplemented from Kitware.VTK.vtkProp3D.

static internal void Kitware.VTK.vtkAssembly.vtkAssembly_AddPart_01 ( HandleRef  pThis,
HandleRef  arg0 
) [private]
static internal void Kitware.VTK.vtkAssembly.vtkAssembly_BuildPaths_02 ( HandleRef  pThis,
HandleRef  paths,
HandleRef  path 
) [private]
static internal void Kitware.VTK.vtkAssembly.vtkAssembly_GetActors_03 ( HandleRef  pThis,
HandleRef  arg0 
) [private]
static internal void Kitware.VTK.vtkAssembly.vtkAssembly_GetBounds_04 ( HandleRef  pThis,
IntPtr  bounds 
) [private]
static internal IntPtr Kitware.VTK.vtkAssembly.vtkAssembly_GetBounds_05 ( HandleRef  pThis) [private]
static internal uint Kitware.VTK.vtkAssembly.vtkAssembly_GetMTime_06 ( HandleRef  pThis) [private]
static internal IntPtr Kitware.VTK.vtkAssembly.vtkAssembly_GetNextPath_07 ( HandleRef  pThis,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal int Kitware.VTK.vtkAssembly.vtkAssembly_GetNumberOfPaths_08 ( HandleRef  pThis) [private]
static internal IntPtr Kitware.VTK.vtkAssembly.vtkAssembly_GetParts_09 ( HandleRef  pThis,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal void Kitware.VTK.vtkAssembly.vtkAssembly_GetVolumes_10 ( HandleRef  pThis,
HandleRef  arg0 
) [private]
static internal int Kitware.VTK.vtkAssembly.vtkAssembly_HasTranslucentPolygonalGeometry_11 ( HandleRef  pThis) [private]
static internal void Kitware.VTK.vtkAssembly.vtkAssembly_InitPathTraversal_12 ( HandleRef  pThis) [private]
static internal int Kitware.VTK.vtkAssembly.vtkAssembly_IsA_13 ( HandleRef  pThis,
string  type 
) [private]
static internal int Kitware.VTK.vtkAssembly.vtkAssembly_IsTypeOf_14 ( string  type) [private]
static internal IntPtr Kitware.VTK.vtkAssembly.vtkAssembly_New ( ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal IntPtr Kitware.VTK.vtkAssembly.vtkAssembly_NewInstance_16 ( HandleRef  pThis,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal void Kitware.VTK.vtkAssembly.vtkAssembly_ReleaseGraphicsResources_17 ( HandleRef  pThis,
HandleRef  arg0 
) [private]
static internal void Kitware.VTK.vtkAssembly.vtkAssembly_RemovePart_18 ( HandleRef  pThis,
HandleRef  arg0 
) [private]
static internal int Kitware.VTK.vtkAssembly.vtkAssembly_RenderOpaqueGeometry_19 ( HandleRef  pThis,
HandleRef  ren 
) [private]
static internal int Kitware.VTK.vtkAssembly.vtkAssembly_RenderTranslucentPolygonalGeometry_20 ( HandleRef  pThis,
HandleRef  ren 
) [private]
static internal int Kitware.VTK.vtkAssembly.vtkAssembly_RenderVolumetricGeometry_21 ( HandleRef  pThis,
HandleRef  ren 
) [private]
static internal IntPtr Kitware.VTK.vtkAssembly.vtkAssembly_SafeDownCast_22 ( HandleRef  o,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal void Kitware.VTK.vtkAssembly.vtkAssembly_ShallowCopy_23 ( HandleRef  pThis,
HandleRef  prop 
) [private]

Member Data Documentation

new readonly string Kitware.VTK.vtkAssembly.MRClassNameKey = "11vtkAssembly" [static]

Automatically generated type registration mechanics.

Reimplemented from Kitware.VTK.vtkProp3D.

new const string Kitware.VTK.vtkAssembly.MRFullTypeName = "Kitware.VTK.vtkAssembly"

Automatically generated type registration mechanics.

Reimplemented from Kitware.VTK.vtkProp3D.


The documentation for this class was generated from the following file: