Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members | Related Pages

vtkHierarchicalDataInformation Class Reference

#include <vtkHierarchicalDataInformation.h>

Inheritance diagram for vtkHierarchicalDataInformation:

Inheritance graph
[legend]
Collaboration diagram for vtkHierarchicalDataInformation:

Collaboration graph
[legend]
List of all members.

Detailed Description

hierarchical information collection

vtkHierarchicalDataInformation stores information objects in a structure corresponding to that of a hierarchical dataset. This is essentially a vector of vectors of information object pointers. Each entry in the outer vector corresponds to one levels, whereas each entry in the inner vector corresponds to one dataset.

See also:
vtkHierarchicalDataSet vtkCompositeDataPipeline
Examples:
vtkHierarchicalDataInformation (Examples)
Tests:
vtkHierarchicalDataInformation (Tests)

Definition at line 43 of file vtkHierarchicalDataInformation.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)
unsigned int GetNumberOfLevels ()
void SetNumberOfLevels (unsigned int numLevels)
unsigned int GetNumberOfDataSets (unsigned int level)
void SetNumberOfDataSets (unsigned int level, unsigned int numDataSets)
vtkInformationGetInformation (unsigned int level, unsigned int id)
int HasInformation (unsigned int level, unsigned int id)
void DeepCopy (vtkHierarchicalDataInformation *from)
void Clear ()

Static Public Member Functions

static vtkHierarchicalDataInformationNew ()
static int IsTypeOf (const char *type)
static vtkHierarchicalDataInformationSafeDownCast (vtkObject *o)

Protected Member Functions

 vtkHierarchicalDataInformation ()
 ~vtkHierarchicalDataInformation ()


Member Typedef Documentation

typedef vtkObject vtkHierarchicalDataInformation::Superclass
 

Reimplemented from vtkObject.

Definition at line 47 of file vtkHierarchicalDataInformation.h.


Constructor & Destructor Documentation

vtkHierarchicalDataInformation::vtkHierarchicalDataInformation  )  [protected]
 

vtkHierarchicalDataInformation::~vtkHierarchicalDataInformation  )  [protected]
 


Member Function Documentation

static vtkHierarchicalDataInformation* vtkHierarchicalDataInformation::New  )  [static]
 

Create an object with Debug turned off, modified time initialized to zero, and reference counting on.

Reimplemented from vtkObject.

virtual const char* vtkHierarchicalDataInformation::GetClassName  )  [virtual]
 

Reimplemented from vtkObject.

static int vtkHierarchicalDataInformation::IsTypeOf const char *  type  )  [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 vtkTypeRevisionMacro found in vtkSetGet.h.

Reimplemented from vtkObject.

virtual int vtkHierarchicalDataInformation::IsA const char *  type  )  [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 vtkTypeRevisionMacro found in vtkSetGet.h.

Reimplemented from vtkObject.

static vtkHierarchicalDataInformation* vtkHierarchicalDataInformation::SafeDownCast vtkObject o  )  [static]
 

Reimplemented from vtkObject.

void vtkHierarchicalDataInformation::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.

unsigned int vtkHierarchicalDataInformation::GetNumberOfLevels  ) 
 

Returns the number of hierarchy levels.

void vtkHierarchicalDataInformation::SetNumberOfLevels unsigned int  numLevels  ) 
 

Set the number of hierarchy levels.

unsigned int vtkHierarchicalDataInformation::GetNumberOfDataSets unsigned int  level  ) 
 

Given a level, returns the number of datasets.

void vtkHierarchicalDataInformation::SetNumberOfDataSets unsigned int  level,
unsigned int  numDataSets
 

Given a level, sets the number of datasets.

vtkInformation* vtkHierarchicalDataInformation::GetInformation unsigned int  level,
unsigned int  id
 

Given a level and a dataset id, returns the corresponding information object. If the information does not exist, one is created. Use HasInformation() to check whether the information already exists.

int vtkHierarchicalDataInformation::HasInformation unsigned int  level,
unsigned int  id
 

Returns 1 if information exists, 0 otherwise.

void vtkHierarchicalDataInformation::DeepCopy vtkHierarchicalDataInformation from  ) 
 

Creates a duplicate hierarchy and calls Copy() on each information object.

void vtkHierarchicalDataInformation::Clear  ) 
 

Initializes the data structure to empty.


The documentation for this class was generated from the following file:
Generated on Mon Jan 21 23:47:20 2008 for VTK by  doxygen 1.4.3-20050530