VTK
|
represent a node in an assembly More...
#include <vtkAssemblyNode.h>
Public Types | |
typedef vtkObject | Superclass |
Public Member Functions | |
virtual int | IsA (const char *type) |
vtkAssemblyNode * | NewInstance () const |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual unsigned long | GetMTime () |
virtual void | SetViewProp (vtkProp *prop) |
virtual vtkProp * | GetViewProp () |
void | SetMatrix (vtkMatrix4x4 *matrix) |
virtual vtkMatrix4x4 * | GetMatrix () |
Static Public Member Functions | |
static vtkAssemblyNode * | New () |
static int | IsTypeOf (const char *type) |
static vtkAssemblyNode * | SafeDownCast (vtkObjectBase *o) |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () const |
vtkAssemblyNode () | |
~vtkAssemblyNode () |
represent a node in an assembly
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.
Definition at line 54 of file vtkAssemblyNode.h.
typedef vtkObject vtkAssemblyNode::Superclass |
Reimplemented from vtkObject.
Definition at line 60 of file vtkAssemblyNode.h.
vtkAssemblyNode::vtkAssemblyNode | ( | ) | [protected] |
vtkAssemblyNode::~vtkAssemblyNode | ( | ) | [protected] |
static vtkAssemblyNode* vtkAssemblyNode::New | ( | ) | [static] |
Create an assembly node.
Reimplemented from vtkObject.
static int vtkAssemblyNode::IsTypeOf | ( | const char * | name | ) | [static] |
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 vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkObject.
virtual int vtkAssemblyNode::IsA | ( | const char * | name | ) | [virtual] |
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 vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkObject.
static vtkAssemblyNode* vtkAssemblyNode::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkObject.
virtual vtkObjectBase* vtkAssemblyNode::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkObject.
vtkAssemblyNode* vtkAssemblyNode::NewInstance | ( | ) | const |
Reimplemented from vtkObject.
void vtkAssemblyNode::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) | [virtual] |
virtual void vtkAssemblyNode::SetViewProp | ( | vtkProp * | prop | ) | [virtual] |
Set/Get the prop that this assembly node refers to.
virtual vtkProp* vtkAssemblyNode::GetViewProp | ( | ) | [virtual] |
Set/Get the prop that this assembly node refers to.
void vtkAssemblyNode::SetMatrix | ( | vtkMatrix4x4 * | matrix | ) |
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.
virtual vtkMatrix4x4* vtkAssemblyNode::GetMatrix | ( | ) | [virtual] |
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.
virtual unsigned long vtkAssemblyNode::GetMTime | ( | ) | [virtual] |
Override the standard GetMTime() to check for the modified times of the prop and matrix.
Reimplemented from vtkObject.