VTK
|
helper class to build a SIL i.e. a directed graph used by reader producing composite datasets to describes the relationships among the blocks. More...
#include <vtkSILBuilder.h>
Public Types | |
typedef vtkObject | Superclass |
Public Member Functions | |
virtual int | IsA (const char *type) |
vtkSILBuilder * | NewInstance () const |
void | PrintSelf (ostream &os, vtkIndent indent) |
void | Initialize () |
void | SetSIL (vtkMutableDirectedGraph *) |
virtual vtkMutableDirectedGraph * | GetSIL () |
vtkIdType | AddVertex (const char *name) |
vtkIdType | AddChildEdge (vtkIdType parent, vtkIdType child) |
vtkIdType | AddCrossEdge (vtkIdType src, vtkIdType dst) |
virtual vtkIdType | GetRootVertex () |
Static Public Member Functions | |
static vtkSILBuilder * | New () |
static int | IsTypeOf (const char *type) |
static vtkSILBuilder * | SafeDownCast (vtkObjectBase *o) |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () const |
vtkSILBuilder () | |
~vtkSILBuilder () | |
Protected Attributes | |
vtkStringArray * | NamesArray |
vtkUnsignedCharArray * | CrossEdgesArray |
vtkMutableDirectedGraph * | SIL |
vtkIdType | RootVertex |
helper class to build a SIL i.e. a directed graph used by reader producing composite datasets to describes the relationships among the blocks.
vtkSILBuilder is a helper class to build a SIL i.e. a directed graph used by reader producing composite datasets to describes the relationships among the blocks. Refer to http://www.paraview.org/Wiki/Block_Hierarchy_Meta_Data for details.
Definition at line 36 of file vtkSILBuilder.h.
typedef vtkObject vtkSILBuilder::Superclass |
Reimplemented from vtkObject.
Definition at line 40 of file vtkSILBuilder.h.
vtkSILBuilder::vtkSILBuilder | ( | ) | [protected] |
vtkSILBuilder::~vtkSILBuilder | ( | ) | [protected] |
static vtkSILBuilder* vtkSILBuilder::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkObject.
static int vtkSILBuilder::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 vtkSILBuilder::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 vtkSILBuilder* vtkSILBuilder::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkObject.
virtual vtkObjectBase* vtkSILBuilder::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkObject.
vtkSILBuilder* vtkSILBuilder::NewInstance | ( | ) | const |
Reimplemented from vtkObject.
void vtkSILBuilder::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) | [virtual] |
void vtkSILBuilder::SetSIL | ( | vtkMutableDirectedGraph * | ) |
Get/Set the graph to populate.
virtual vtkMutableDirectedGraph* vtkSILBuilder::GetSIL | ( | ) | [virtual] |
Get/Set the graph to populate.
void vtkSILBuilder::Initialize | ( | ) |
Initializes the data-structures.
vtkIdType vtkSILBuilder::AddVertex | ( | const char * | name | ) |
Add vertex, child-edge or cross-edge to the graph.
vtkIdType vtkSILBuilder::AddChildEdge | ( | vtkIdType | parent, |
vtkIdType | child | ||
) |
Add vertex, child-edge or cross-edge to the graph.
vtkIdType vtkSILBuilder::AddCrossEdge | ( | vtkIdType | src, |
vtkIdType | dst | ||
) |
Add vertex, child-edge or cross-edge to the graph.
virtual vtkIdType vtkSILBuilder::GetRootVertex | ( | ) | [virtual] |
Returns the vertex id for the root vertex.
vtkStringArray* vtkSILBuilder::NamesArray [protected] |
Definition at line 69 of file vtkSILBuilder.h.
vtkUnsignedCharArray* vtkSILBuilder::CrossEdgesArray [protected] |
Definition at line 70 of file vtkSILBuilder.h.
vtkMutableDirectedGraph* vtkSILBuilder::SIL [protected] |
Definition at line 71 of file vtkSILBuilder.h.
vtkIdType vtkSILBuilder::RootVertex [protected] |
Definition at line 73 of file vtkSILBuilder.h.