#include <vtkAssemblyNode.h>
Inheritance diagram for vtkAssemblyNode:
vtkAssemblyNode represents a node in an assembly. It is used by vtkAssemblyPath to create hierarchical assemblies of props. The props can be either 2D or 3D.
An assembly node refers to a vtkProp, and possibly a vtkMatrix4x4. Nodes are used by vtkAssemblyPath to build fully evaluated path (matrices are concatenated through the path) that is used by picking and other operations involving assemblies.
vtkAssemblyNode does not reference count its association with vtkProp. Therefore, do not create an assembly node, associate a prop with it, delete the prop, and then try to dereference the prop. The program will break! (Reason: vtkAssemblyPath (which uses vtkAssemblyNode) create self-referencing loops that destroy reference counting.)
Definition at line 64 of file vtkAssemblyNode.h.
Public Types | |
typedef vtkObject | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual unsigned long | GetMTime () |
void | SetProp (vtkProp *prop) |
virtual vtkProp * | GetProp () |
void | SetMatrix (vtkMatrix4x4 *matrix) |
virtual vtkMatrix4x4 * | GetMatrix () |
Static Public Member Functions | |
vtkAssemblyNode * | New () |
int | IsTypeOf (const char *type) |
vtkAssemblyNode * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
vtkAssemblyNode () | |
~vtkAssemblyNode () |
|
Reimplemented from vtkObject. Definition at line 70 of file vtkAssemblyNode.h. |
|
|
|
|
|
Create an assembly node. Reimplemented from vtkObject. |
|
Reimplemented from vtkObject. |
|
Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h. Reimplemented from vtkObject. |
|
Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h. Reimplemented from vtkObject. |
|
Reimplemented from vtkObject. |
|
Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes. Reimplemented from vtkObject. |
|
Set/Get the prop that this assembly node refers to. |
|
Set/Get the prop that this assembly node refers to. |
|
Specify a transformation matrix associated with the prop. Note: if the prop is not a type of vtkProp3D, then the transformation matrix is ignored (and expected to be NULL). Also, internal to this object the matrix is copied because the matrix is used for computation by vtkAssemblyPath. |
|
Specify a transformation matrix associated with the prop. Note: if the prop is not a type of vtkProp3D, then the transformation matrix is ignored (and expected to be NULL). Also, internal to this object the matrix is copied because the matrix is used for computation by vtkAssemblyPath. |
|
Override the standard GetMTime() to check for the modified times of the prop and matrix. Reimplemented from vtkObject. |