VTK
|
a list of lists of props representing an assembly hierarchy More...
#include <vtkAssemblyPaths.h>
Public Types | |
typedef vtkCollection | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | AddItem (vtkAssemblyPath *p) |
void | RemoveItem (vtkAssemblyPath *p) |
int | IsItemPresent (vtkAssemblyPath *p) |
vtkAssemblyPath * | GetNextItem () |
virtual unsigned long | GetMTime () |
vtkAssemblyPath * | GetNextPath (vtkCollectionSimpleIterator &cookie) |
Static Public Member Functions | |
static vtkAssemblyPaths * | New () |
static int | IsTypeOf (const char *type) |
static vtkAssemblyPaths * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
vtkAssemblyPaths () | |
~vtkAssemblyPaths () |
a list of lists of props representing an assembly hierarchy
vtkAssemblyPaths represents an assembly hierarchy as a list of vtkAssemblyPath. Each path represents the complete path from the top level assembly (if any) down to the leaf prop.
Definition at line 35 of file vtkAssemblyPaths.h.
Reimplemented from vtkCollection.
Definition at line 39 of file vtkAssemblyPaths.h.
vtkAssemblyPaths::vtkAssemblyPaths | ( | ) | [inline, protected] |
Definition at line 68 of file vtkAssemblyPaths.h.
vtkAssemblyPaths::~vtkAssemblyPaths | ( | ) | [inline, protected] |
Definition at line 69 of file vtkAssemblyPaths.h.
static vtkAssemblyPaths* vtkAssemblyPaths::New | ( | ) | [static] |
Construct with empty list.
Reimplemented from vtkCollection.
virtual const char* vtkAssemblyPaths::GetClassName | ( | ) | [virtual] |
Reimplemented from vtkCollection.
static int vtkAssemblyPaths::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 vtkCollection.
virtual int vtkAssemblyPaths::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 vtkCollection.
static vtkAssemblyPaths* vtkAssemblyPaths::SafeDownCast | ( | vtkObject * | o | ) | [static] |
Reimplemented from vtkCollection.
void vtkAssemblyPaths::AddItem | ( | vtkAssemblyPath * | p | ) | [inline] |
Add a path to the list.
Definition at line 83 of file vtkAssemblyPaths.h.
void vtkAssemblyPaths::RemoveItem | ( | vtkAssemblyPath * | p | ) | [inline] |
Remove a path from the list.
Definition at line 88 of file vtkAssemblyPaths.h.
int vtkAssemblyPaths::IsItemPresent | ( | vtkAssemblyPath * | p | ) | [inline] |
Determine whether a particular path is present. Returns its position in the list.
Definition at line 93 of file vtkAssemblyPaths.h.
vtkAssemblyPath * vtkAssemblyPaths::GetNextItem | ( | ) | [inline] |
Get the next path in the list.
Definition at line 98 of file vtkAssemblyPaths.h.
virtual unsigned long vtkAssemblyPaths::GetMTime | ( | ) | [virtual] |
Override the standard GetMTime() to check for the modified times of the paths.
Reimplemented from vtkObject.
vtkAssemblyPath* vtkAssemblyPaths::GetNextPath | ( | vtkCollectionSimpleIterator & | cookie | ) | [inline] |
Reentrant safe way to get an object in a collection. Just pass the same cookie back and forth.
Definition at line 62 of file vtkAssemblyPaths.h.