VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
vtkXMLHierarchicalDataReader Class Reference

Reader for hierarchical datasets. More...

#include <vtkXMLHierarchicalDataReader.h>

Inheritance diagram for vtkXMLHierarchicalDataReader:
[legend]
Collaboration diagram for vtkXMLHierarchicalDataReader:
[legend]

Public Types

typedef vtkXMLMultiGroupDataReader Superclass
- Public Types inherited from vtkXMLMultiGroupDataReader
typedef vtkXMLMultiBlockDataReader Superclass
- Public Types inherited from vtkXMLMultiBlockDataReader
typedef vtkXMLCompositeDataReader Superclass
- Public Types inherited from vtkXMLCompositeDataReader
typedef vtkXMLReader Superclass
- Public Types inherited from vtkXMLReader
typedef vtkAlgorithm Superclass
- Public Types inherited from vtkAlgorithm
typedef vtkObject Superclass
- Public Types inherited from vtkObject
typedef vtkObjectBase Superclass

Public Member Functions

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)

Static Public Member Functions

static
vtkXMLHierarchicalDataReader
New ()
static int IsTypeOf (const char *type)
static
vtkXMLHierarchicalDataReader
SafeDownCast (vtkObject *o)

Protected Member Functions

 vtkXMLHierarchicalDataReader ()
 ~vtkXMLHierarchicalDataReader ()
virtual const char * GetDataSetName ()
- Protected Member Functions inherited from vtkXMLMultiGroupDataReader
 vtkXMLMultiGroupDataReader ()
 ~vtkXMLMultiGroupDataReader ()
- Protected Member Functions inherited from vtkXMLMultiBlockDataReader
 vtkXMLMultiBlockDataReader ()
 ~vtkXMLMultiBlockDataReader ()
virtual void ReadComposite (vtkXMLDataElement *element, vtkCompositeDataSet *composite, const char *filePath, unsigned int &dataSetIndex)
virtual void ReadVersion0 (vtkXMLDataElement *element, vtkCompositeDataSet *composite, const char *filePath, unsigned int &dataSetIndex)
virtual int FillOutputPortInformation (int, vtkInformation *info)
virtual int RequestInformation (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
virtual int FillMetaData (vtkCompositeDataSet *metadata, vtkXMLDataElement *element, unsigned int &dataSetIndex)
- Protected Member Functions inherited from vtkXMLCompositeDataReader
 vtkXMLCompositeDataReader ()
 ~vtkXMLCompositeDataReader ()
vtkXMLDataElementGetPrimaryElement ()
virtual void ReadXMLData ()
virtual int ReadPrimaryElement (vtkXMLDataElement *ePrimary)
virtual void SetupEmptyOutput ()
virtual vtkExecutiveCreateDefaultExecutive ()
vtkXMLReaderGetReaderOfType (const char *type)
void AddChild (vtkCompositeDataSet *parent, vtkDataObject *child, vtkXMLDataElement *childXML)
virtual vtkDataSetReadDataset (vtkXMLDataElement *xmlElem, const char *filePath)
unsigned int CountLeaves (vtkXMLDataElement *elem)
int ShouldReadDataSet (unsigned int datasetIndex)
virtual int CanReadFileVersion (int major, int vtkNotUsed(minor))
- Protected Member Functions inherited from vtkXMLReader
 vtkXMLReader ()
 ~vtkXMLReader ()
virtual int ReadXMLInformation ()
virtual int CanReadFileVersion (int major, int minor)
virtual void SetupOutputInformation (vtkInformation *vtkNotUsed(outInfo))
virtual void SetupUpdateExtentInformation (vtkInformation *vtkNotUsed(outInfo))
virtual void SetupOutputData ()
int ReadVTKFile (vtkXMLDataElement *eVTKFile)
vtkAbstractArrayCreateArray (vtkXMLDataElement *da)
int CreateInformationKey (vtkXMLDataElement *eInfoKey, vtkInformation *info)
virtual int OpenVTKFile ()
virtual void CloseVTKFile ()
virtual void CreateXMLParser ()
virtual void DestroyXMLParser ()
void SetupCompressor (const char *type)
int CanReadFileVersionString (const char *version)
virtual int GetFileMajorVersion ()
virtual int GetFileMinorVersion ()
int IntersectExtents (int *extent1, int *extent2, int *result)
int Min (int a, int b)
int Max (int a, int b)
void ComputePointDimensions (int *extent, int *dimensions)
void ComputePointIncrements (int *extent, vtkIdType *increments)
void ComputeCellDimensions (int *extent, int *dimensions)
void ComputeCellIncrements (int *extent, vtkIdType *increments)
vtkIdType GetStartTuple (int *extent, vtkIdType *increments, int i, int j, int k)
void ReadAttributeIndices (vtkXMLDataElement *eDSA, vtkDataSetAttributes *dsa)
char ** CreateStringArray (int numStrings)
void DestroyStringArray (int numStrings, char **strings)
void SetDataArraySelections (vtkXMLDataElement *eDSA, vtkDataArraySelection *sel)
int SetFieldDataInfo (vtkXMLDataElement *eDSA, int association, int numTuples, vtkInformationVector *(&infoVector))
int PointDataArrayIsEnabled (vtkXMLDataElement *ePDA)
int CellDataArrayIsEnabled (vtkXMLDataElement *eCDA)
virtual void GetProgressRange (float *range)
virtual void SetProgressRange (float *range, int curStep, int numSteps)
virtual void SetProgressRange (float *range, int curStep, float *fractions)
virtual void UpdateProgressDiscrete (float progress)
virtual int RequestData (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
virtual int RequestDataObject (vtkInformation *vtkNotUsed(request), vtkInformationVector **vtkNotUsed(inputVector), vtkInformationVector *vtkNotUsed(outputVector))
virtual int RequestUpdateExtentInformation (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
void SetNumberOfTimeSteps (int num)
vtkDataObjectGetCurrentOutput ()
vtkInformationGetCurrentOutputInformation ()
- Protected Member Functions inherited from vtkAlgorithm
 vtkAlgorithm ()
 ~vtkAlgorithm ()
virtual int FillInputPortInformation (int port, vtkInformation *info)
virtual void SetNumberOfInputPorts (int n)
virtual void SetNumberOfOutputPorts (int n)
int InputPortIndexInRange (int index, const char *action)
int OutputPortIndexInRange (int index, const char *action)
int GetInputArrayAssociation (int idx, vtkInformationVector **inputVector)
virtual void ReportReferences (vtkGarbageCollector *)
virtual void SetNumberOfInputConnections (int port, int n)
int GetInputArrayAssociation (int idx, int connection, vtkInformationVector **inputVector)
int GetInputArrayAssociation (int idx, vtkDataObject *input)
vtkDataArrayGetInputArrayToProcess (int idx, vtkInformationVector **inputVector)
vtkDataArrayGetInputArrayToProcess (int idx, vtkInformationVector **inputVector, int &association)
vtkDataArrayGetInputArrayToProcess (int idx, int connection, vtkInformationVector **inputVector)
vtkDataArrayGetInputArrayToProcess (int idx, int connection, vtkInformationVector **inputVector, int &association)
vtkDataArrayGetInputArrayToProcess (int idx, vtkDataObject *input)
vtkDataArrayGetInputArrayToProcess (int idx, vtkDataObject *input, int &association)
vtkAbstractArrayGetInputAbstractArrayToProcess (int idx, vtkInformationVector **inputVector)
vtkAbstractArrayGetInputAbstractArrayToProcess (int idx, vtkInformationVector **inputVector, int &association)
vtkAbstractArrayGetInputAbstractArrayToProcess (int idx, int connection, vtkInformationVector **inputVector)
vtkAbstractArrayGetInputAbstractArrayToProcess (int idx, int connection, vtkInformationVector **inputVector, int &association)
vtkAbstractArrayGetInputAbstractArrayToProcess (int idx, vtkDataObject *input)
vtkAbstractArrayGetInputAbstractArrayToProcess (int idx, vtkDataObject *input, int &association)
vtkInformationGetInputArrayFieldInformation (int idx, vtkInformationVector **inputVector)
virtual void SetNthInputConnection (int port, int index, vtkAlgorithmOutput *input)
virtual void SetErrorCode (unsigned long)
- Protected Member Functions inherited from vtkObject
 vtkObject ()
virtual ~vtkObject ()
virtual void RegisterInternal (vtkObjectBase *, int check)
virtual void UnRegisterInternal (vtkObjectBase *, int check)
void InternalGrabFocus (vtkCommand *mouseEvents, vtkCommand *keypressEvents=NULL)
void InternalReleaseFocus ()
- Protected Member Functions inherited from vtkObjectBase
 vtkObjectBase ()
virtual ~vtkObjectBase ()
virtual void CollectRevisions (ostream &os)
 vtkObjectBase (const vtkObjectBase &)
void operator= (const vtkObjectBase &)

Additional Inherited Members

- Public Attributes inherited from vtkAlgorithm
int AbortExecute
- Static Protected Member Functions inherited from vtkXMLReader
static void SelectionModifiedCallback (vtkObject *caller, unsigned long eid, void *clientdata, void *calldata)
static int IsTimeStepInArray (int timestep, int *timesteps, int length)
- Protected Attributes inherited from vtkXMLReader
vtkXMLDataParserXMLParser
vtkXMLDataElementFieldDataElement
char * FileName
istream * Stream
vtkDataArraySelectionPointDataArraySelection
vtkDataArraySelectionCellDataArraySelection
vtkCallbackCommandSelectionObserver
int InformationError
int DataError
float ProgressRange [2]
vtkTimeStamp ReadMTime
int ReadError
int AxesEmpty [3]
int TimeStep
int CurrentTimeStep
int NumberOfTimeSteps
int * TimeSteps
int TimeStepRange [2]
- Static Protected Attributes inherited from vtkAlgorithm
static vtkExecutiveDefaultExecutivePrototype
- Friends inherited from vtkObject

Detailed Description

Reader for hierarchical datasets.

vtkXMLHierarchicalDataReader reads the VTK XML hierarchical data file format. XML hierarchical data files are meta-files that point to a list of serial VTK XML files. When reading in parallel, it will distribute sub-blocks among processor. If the number of sub-blocks is less than the number of processors, some processors will not have any sub-blocks for that level. If the number of sub-blocks is larger than the number of processors, each processor will possibly have more than 1 sub-block.

Definition at line 35 of file vtkXMLHierarchicalDataReader.h.

Member Typedef Documentation

Definition at line 39 of file vtkXMLHierarchicalDataReader.h.

Constructor & Destructor Documentation

vtkXMLHierarchicalDataReader::vtkXMLHierarchicalDataReader ( )
protected
vtkXMLHierarchicalDataReader::~vtkXMLHierarchicalDataReader ( )
protected

Member Function Documentation

static vtkXMLHierarchicalDataReader* vtkXMLHierarchicalDataReader::New ( )
static

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

Reimplemented from vtkXMLMultiGroupDataReader.

virtual const char* vtkXMLHierarchicalDataReader::GetClassName ( )
virtual

Reimplemented from vtkXMLMultiGroupDataReader.

static int vtkXMLHierarchicalDataReader::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 vtkXMLMultiGroupDataReader.

virtual int vtkXMLHierarchicalDataReader::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 vtkXMLMultiGroupDataReader.

static vtkXMLHierarchicalDataReader* vtkXMLHierarchicalDataReader::SafeDownCast ( vtkObject o)
static

Reimplemented from vtkXMLMultiGroupDataReader.

void vtkXMLHierarchicalDataReader::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 vtkXMLMultiGroupDataReader.

virtual const char* vtkXMLHierarchicalDataReader::GetDataSetName ( )
inlineprotectedvirtual

Reimplemented from vtkXMLMultiGroupDataReader.

Definition at line 47 of file vtkXMLHierarchicalDataReader.h.


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