VTK
Public Member Functions | Static Public Member Functions
vtkXdmfDomain Class Reference

#include <vtkXdmfReaderInternal.h>

List of all members.

Public Member Functions

 vtkXdmfDomain (XdmfDOM *xmlDom, int domain_index)
vtkGraphGetSIL ()
XdmfInt64 GetNumberOfGrids ()
XdmfGrid * GetGrid (XdmfInt64 cc)
int GetVTKDataType ()
int GetIndexForTime (double time)
XdmfGrid * GetGrid (XdmfGrid *xmfGrid, double time)
bool IsStructured (XdmfGrid *)
bool GetWholeExtent (XdmfGrid *, int extents[6])
bool GetOriginAndSpacing (XdmfGrid *, double origin[3], double spacing[3])
 ~vtkXdmfDomain ()
int GetVTKDataType (XdmfGrid *xmfGrid)
vtkXdmfArraySelectionGetPointArraySelection ()
vtkXdmfArraySelectionGetCellArraySelection ()
vtkXdmfArraySelectionGetGridSelection ()
vtkXdmfArraySelectionGetSetsSelection ()
bool IsValid ()
const std::set< XdmfFloat64 > & GetTimeSteps ()
XdmfFloat64 GetTimeForIndex (int index)

Static Public Member Functions

static int GetDataDimensionality (XdmfGrid *xmfGrid)

Detailed Description

Definition at line 184 of file vtkXdmfReaderInternal.h.


Constructor & Destructor Documentation

vtkXdmfDomain::vtkXdmfDomain ( XdmfDOM *  xmlDom,
int  domain_index 
)

Member Function Documentation

bool vtkXdmfDomain::IsValid ( ) [inline]

After instantiating, check that the domain is valid. If this returns false, it means that the specified domain could not be located.

Definition at line 219 of file vtkXdmfReaderInternal.h.

Definition at line 224 of file vtkXdmfReaderInternal.h.

XdmfInt64 vtkXdmfDomain::GetNumberOfGrids ( ) [inline]

Returns the number of top-level grids present in this domain.

Definition at line 229 of file vtkXdmfReaderInternal.h.

XdmfGrid* vtkXdmfDomain::GetGrid ( XdmfInt64  cc)

Provides access to a top-level grid from this domain.

Returns the VTK data type need for this domain. If the domain has only 1 grid, then a vtkDataSet-type is returned, otherwise a vtkMultiBlockDataSet is required. Returns -1 on error.

const std::set<XdmfFloat64>& vtkXdmfDomain::GetTimeSteps ( ) [inline]

Returns the timesteps.

Definition at line 244 of file vtkXdmfReaderInternal.h.

Given a time value, returns the index.

XdmfFloat64 vtkXdmfDomain::GetTimeForIndex ( int  index) [inline]

Returns the time value at the given index.

Definition at line 255 of file vtkXdmfReaderInternal.h.

XdmfGrid* vtkXdmfDomain::GetGrid ( XdmfGrid *  xmfGrid,
double  time 
)

If xmfGrid is a temporal collection, returns the child-grid matching the requested time.

bool vtkXdmfDomain::IsStructured ( XdmfGrid *  )

Returns true if the grids is a structured dataset.

bool vtkXdmfDomain::GetWholeExtent ( XdmfGrid *  ,
int  extents[6] 
)

Returns the whole extents for the dataset if the grid if IsStructured() returns true for the given grid. Returns true if the extents are valid. NOTE: returned extents are always (0, dimx-1, 0, dimy-1, 0, dimz-1).

bool vtkXdmfDomain::GetOriginAndSpacing ( XdmfGrid *  ,
double  origin[3],
double  spacing[3] 
)

Returns the spacing and origin for the grid if the grid topology == XDMF_2DCORECTMESH or XDMF_3DCORECTMESH i.e. image data. Returns true if the extents are valid.

int vtkXdmfDomain::GetVTKDataType ( XdmfGrid *  xmfGrid)
static int vtkXdmfDomain::GetDataDimensionality ( XdmfGrid *  xmfGrid) [static]

Definition at line 305 of file vtkXdmfReaderInternal.h.

Definition at line 307 of file vtkXdmfReaderInternal.h.

Definition at line 309 of file vtkXdmfReaderInternal.h.

Definition at line 311 of file vtkXdmfReaderInternal.h.


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