VTK  9.1.0
Public Member Functions | Static Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | List of all members
vtkXdmf3HeavyDataHandler Class Reference

internal helper for vtkXdmf3Reader More...

#include <vtkXdmf3HeavyDataHandler.h>

Collaboration diagram for vtkXdmf3HeavyDataHandler:
[legend]

Public Member Functions

vtkDataObjectPopulate (shared_ptr< XdmfGrid > item, vtkDataObject *toFill)
 recursively create and populate vtk data objects for the provided Xdmf item
 
vtkDataObjectPopulate (shared_ptr< XdmfDomain > item, vtkDataObject *toFill)
 
vtkDataObjectPopulate (shared_ptr< XdmfGraph > item, vtkDataObject *toFill)
 

Static Public Member Functions

static shared_ptr< vtkXdmf3HeavyDataHandlerNew (vtkXdmf3ArraySelection *fs, vtkXdmf3ArraySelection *cs, vtkXdmf3ArraySelection *ps, vtkXdmf3ArraySelection *gc, vtkXdmf3ArraySelection *sc, unsigned int processor, unsigned int nprocessors, bool dt, double t, vtkXdmf3ArrayKeeper *keeper, bool asTime)
 factory constructor
 

Public Attributes

vtkXdmf3ArrayKeeperKeeper
 
shared_ptr< XdmfGrid > testItem1
 
shared_ptr< XdmfDomain > testItem2
 

Protected Member Functions

bool ShouldRead (unsigned int piece, unsigned int npieces)
 for parallel partitioning
 
bool GridEnabled (shared_ptr< XdmfGrid > grid)
 
bool GridEnabled (shared_ptr< XdmfGraph > graph)
 
bool SetEnabled (shared_ptr< XdmfSet > set)
 
bool ForThisTime (shared_ptr< XdmfGrid > grid)
 
bool ForThisTime (shared_ptr< XdmfGraph > graph)
 
vtkDataObjectMakeUnsGrid (shared_ptr< XdmfUnstructuredGrid > grid, vtkUnstructuredGrid *dataSet, vtkXdmf3ArrayKeeper *keeper)
 
vtkDataObjectMakeRecGrid (shared_ptr< XdmfRectilinearGrid > grid, vtkRectilinearGrid *dataSet, vtkXdmf3ArrayKeeper *keeper)
 
vtkDataObjectMakeCrvGrid (shared_ptr< XdmfCurvilinearGrid > grid, vtkStructuredGrid *dataSet, vtkXdmf3ArrayKeeper *keeper)
 
vtkDataObjectMakeRegGrid (shared_ptr< XdmfRegularGrid > grid, vtkImageData *dataSet, vtkXdmf3ArrayKeeper *keeper)
 
vtkDataObjectMakeGraph (shared_ptr< XdmfGraph > grid, vtkMutableDirectedGraph *dataSet, vtkXdmf3ArrayKeeper *keeper)
 
vtkDataObjectExtractSet (unsigned int setnum, shared_ptr< XdmfGrid > grid, vtkDataSet *dataSet, vtkUnstructuredGrid *subSet, vtkXdmf3ArrayKeeper *keeper)
 

Protected Attributes

bool doTime
 
double time
 
unsigned int Rank
 
unsigned int NumProcs
 
vtkXdmf3ArraySelectionFieldArrays
 
vtkXdmf3ArraySelectionCellArrays
 
vtkXdmf3ArraySelectionPointArrays
 
vtkXdmf3ArraySelectionGridsCache
 
vtkXdmf3ArraySelectionSetsCache
 
bool AsTime
 

Detailed Description

internal helper for vtkXdmf3Reader

vtkXdmf3Reader uses this class to read the heave data from the XDMF file(s).

This file is a helper for the vtkXdmf3Reader and not intended to be part of VTK public API

Definition at line 61 of file vtkXdmf3HeavyDataHandler.h.

Member Function Documentation

◆ New()

static shared_ptr< vtkXdmf3HeavyDataHandler > vtkXdmf3HeavyDataHandler::New ( vtkXdmf3ArraySelection fs,
vtkXdmf3ArraySelection cs,
vtkXdmf3ArraySelection ps,
vtkXdmf3ArraySelection gc,
vtkXdmf3ArraySelection sc,
unsigned int  processor,
unsigned int  nprocessors,
bool  dt,
double  t,
vtkXdmf3ArrayKeeper keeper,
bool  asTime 
)
static

factory constructor

◆ Populate() [1/3]

vtkDataObject * vtkXdmf3HeavyDataHandler::Populate ( shared_ptr< XdmfGrid >  item,
vtkDataObject toFill 
)

recursively create and populate vtk data objects for the provided Xdmf item

◆ Populate() [2/3]

vtkDataObject * vtkXdmf3HeavyDataHandler::Populate ( shared_ptr< XdmfDomain >  item,
vtkDataObject toFill 
)

◆ Populate() [3/3]

vtkDataObject * vtkXdmf3HeavyDataHandler::Populate ( shared_ptr< XdmfGraph >  item,
vtkDataObject toFill 
)

◆ ShouldRead()

bool vtkXdmf3HeavyDataHandler::ShouldRead ( unsigned int  piece,
unsigned int  npieces 
)
protected

for parallel partitioning

◆ GridEnabled() [1/2]

bool vtkXdmf3HeavyDataHandler::GridEnabled ( shared_ptr< XdmfGrid >  grid)
protected

◆ GridEnabled() [2/2]

bool vtkXdmf3HeavyDataHandler::GridEnabled ( shared_ptr< XdmfGraph >  graph)
protected

◆ SetEnabled()

bool vtkXdmf3HeavyDataHandler::SetEnabled ( shared_ptr< XdmfSet >  set)
protected

◆ ForThisTime() [1/2]

bool vtkXdmf3HeavyDataHandler::ForThisTime ( shared_ptr< XdmfGrid >  grid)
protected

◆ ForThisTime() [2/2]

bool vtkXdmf3HeavyDataHandler::ForThisTime ( shared_ptr< XdmfGraph >  graph)
protected

◆ MakeUnsGrid()

vtkDataObject * vtkXdmf3HeavyDataHandler::MakeUnsGrid ( shared_ptr< XdmfUnstructuredGrid >  grid,
vtkUnstructuredGrid dataSet,
vtkXdmf3ArrayKeeper keeper 
)
protected

◆ MakeRecGrid()

vtkDataObject * vtkXdmf3HeavyDataHandler::MakeRecGrid ( shared_ptr< XdmfRectilinearGrid >  grid,
vtkRectilinearGrid dataSet,
vtkXdmf3ArrayKeeper keeper 
)
protected

◆ MakeCrvGrid()

vtkDataObject * vtkXdmf3HeavyDataHandler::MakeCrvGrid ( shared_ptr< XdmfCurvilinearGrid >  grid,
vtkStructuredGrid dataSet,
vtkXdmf3ArrayKeeper keeper 
)
protected

◆ MakeRegGrid()

vtkDataObject * vtkXdmf3HeavyDataHandler::MakeRegGrid ( shared_ptr< XdmfRegularGrid >  grid,
vtkImageData dataSet,
vtkXdmf3ArrayKeeper keeper 
)
protected

◆ MakeGraph()

vtkDataObject * vtkXdmf3HeavyDataHandler::MakeGraph ( shared_ptr< XdmfGraph >  grid,
vtkMutableDirectedGraph dataSet,
vtkXdmf3ArrayKeeper keeper 
)
protected

◆ ExtractSet()

vtkDataObject * vtkXdmf3HeavyDataHandler::ExtractSet ( unsigned int  setnum,
shared_ptr< XdmfGrid >  grid,
vtkDataSet dataSet,
vtkUnstructuredGrid subSet,
vtkXdmf3ArrayKeeper keeper 
)
protected

Member Data Documentation

◆ Keeper

vtkXdmf3ArrayKeeper* vtkXdmf3HeavyDataHandler::Keeper

Definition at line 79 of file vtkXdmf3HeavyDataHandler.h.

◆ testItem1

shared_ptr<XdmfGrid> vtkXdmf3HeavyDataHandler::testItem1

Definition at line 81 of file vtkXdmf3HeavyDataHandler.h.

◆ testItem2

shared_ptr<XdmfDomain> vtkXdmf3HeavyDataHandler::testItem2

Definition at line 82 of file vtkXdmf3HeavyDataHandler.h.

◆ doTime

bool vtkXdmf3HeavyDataHandler::doTime
protected

Definition at line 114 of file vtkXdmf3HeavyDataHandler.h.

◆ time

double vtkXdmf3HeavyDataHandler::time
protected

Definition at line 115 of file vtkXdmf3HeavyDataHandler.h.

◆ Rank

unsigned int vtkXdmf3HeavyDataHandler::Rank
protected

Definition at line 116 of file vtkXdmf3HeavyDataHandler.h.

◆ NumProcs

unsigned int vtkXdmf3HeavyDataHandler::NumProcs
protected

Definition at line 117 of file vtkXdmf3HeavyDataHandler.h.

◆ FieldArrays

vtkXdmf3ArraySelection* vtkXdmf3HeavyDataHandler::FieldArrays
protected

Definition at line 118 of file vtkXdmf3HeavyDataHandler.h.

◆ CellArrays

vtkXdmf3ArraySelection* vtkXdmf3HeavyDataHandler::CellArrays
protected

Definition at line 119 of file vtkXdmf3HeavyDataHandler.h.

◆ PointArrays

vtkXdmf3ArraySelection* vtkXdmf3HeavyDataHandler::PointArrays
protected

Definition at line 120 of file vtkXdmf3HeavyDataHandler.h.

◆ GridsCache

vtkXdmf3ArraySelection* vtkXdmf3HeavyDataHandler::GridsCache
protected

Definition at line 121 of file vtkXdmf3HeavyDataHandler.h.

◆ SetsCache

vtkXdmf3ArraySelection* vtkXdmf3HeavyDataHandler::SetsCache
protected

Definition at line 122 of file vtkXdmf3HeavyDataHandler.h.

◆ AsTime

bool vtkXdmf3HeavyDataHandler::AsTime
protected

Definition at line 123 of file vtkXdmf3HeavyDataHandler.h.


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