VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
vtkSILBuilder Class Reference

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>

Inheritance diagram for vtkSILBuilder:
Inheritance graph
[legend]
Collaboration diagram for vtkSILBuilder:
Collaboration graph
[legend]

List of all members.

Public Types

typedef vtkObject Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkSILBuilderNewInstance () const
void PrintSelf (ostream &os, vtkIndent indent)
void Initialize ()
void SetSIL (vtkMutableDirectedGraph *)
virtual vtkMutableDirectedGraphGetSIL ()
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 vtkSILBuilderNew ()
static int IsTypeOf (const char *type)
static vtkSILBuilderSafeDownCast (vtkObjectBase *o)

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 vtkSILBuilder ()
 ~vtkSILBuilder ()

Protected Attributes

vtkStringArrayNamesArray
vtkUnsignedCharArrayCrossEdgesArray
vtkMutableDirectedGraphSIL
vtkIdType RootVertex

Detailed Description

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.


Member Typedef Documentation

Reimplemented from vtkObject.

Definition at line 40 of file vtkSILBuilder.h.


Constructor & Destructor Documentation


Member Function Documentation

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.

Reimplemented from vtkObject.

virtual vtkObjectBase* vtkSILBuilder::NewInstanceInternal ( ) const [protected, virtual]

Reimplemented from vtkObject.

Reimplemented from vtkObject.

void vtkSILBuilder::PrintSelf ( ostream &  os,
vtkIndent  indent 
) [virtual]

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.

Get/Set the graph to populate.

Get/Set the graph to populate.

Initializes the data-structures.

vtkIdType vtkSILBuilder::AddVertex ( const char *  name)

Add vertex, child-edge or cross-edge to the graph.

Add vertex, child-edge or cross-edge to the graph.

Add vertex, child-edge or cross-edge to the graph.

virtual vtkIdType vtkSILBuilder::GetRootVertex ( ) [virtual]

Returns the vertex id for the root vertex.


Member Data Documentation

Definition at line 69 of file vtkSILBuilder.h.

Definition at line 70 of file vtkSILBuilder.h.

Definition at line 71 of file vtkSILBuilder.h.

Definition at line 73 of file vtkSILBuilder.h.


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