VTK  9.4.20241121
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
H5RageAdaptor Class Reference

#include <H5RageAdaptor.h>

Collaboration diagram for H5RageAdaptor:
[legend]

Public Member Functions

 H5RageAdaptor (vtkMultiProcessController *ctrl)
 
 ~H5RageAdaptor ()
 
int InitializeGlobal (const char *DescFile)
 
void LoadVariableData (vtkImageData *data, int timeStep, vtkDataArraySelection *cellSelection)
 
template<class T >
void ConvertHDFData (int ndims, int *dims_out, T *hdfData)
 
int GetNumberOfTimeSteps ()
 
double GetTimeStep (int step)
 
int GetNumberOfVariables ()
 
const char * GetVariableName (int indx)
 
int GetWholeExtent (int ext)
 
int GetSubExtent (int ext)
 
int GetDimension (int dim)
 
double GetOrigin (int dim)
 
double GetSpacing (int dim)
 

Protected Member Functions

int CollectMetaData (const char *H5RageFileName)
 
int ParseH5RageFile (const char *H5RageFileName)
 
std::string TrimString (const std::string &str)
 

Protected Attributes

vtkMultiProcessControllerController
 
int Rank
 
int TotalRank
 
std::vector< std::string > HdfFileName
 
int NumberOfTimeSteps
 
double * TimeSteps
 
int ** ExtentSchedule
 
int64_t * NumberOfTuples
 
int WholeExtent [6]
 
int SubExtent [6]
 
int Dimension [3]
 
double Origin [3]
 
double Spacing [3]
 
int NumberOfDimensions
 
int64_t TotalTuples
 
bool UseFloat64
 
int NumberOfVariables
 
std::vector< std::string > VariableName
 

Detailed Description

Definition at line 19 of file H5RageAdaptor.h.

Constructor & Destructor Documentation

◆ H5RageAdaptor()

H5RageAdaptor::H5RageAdaptor ( vtkMultiProcessController ctrl)

◆ ~H5RageAdaptor()

H5RageAdaptor::~H5RageAdaptor ( )

Member Function Documentation

◆ InitializeGlobal()

int H5RageAdaptor::InitializeGlobal ( const char *  DescFile)

◆ LoadVariableData()

void H5RageAdaptor::LoadVariableData ( vtkImageData data,
int  timeStep,
vtkDataArraySelection cellSelection 
)

◆ ConvertHDFData()

template<class T >
void H5RageAdaptor::ConvertHDFData ( int  ndims,
int *  dims_out,
T *  hdfData 
)

◆ GetNumberOfTimeSteps()

int H5RageAdaptor::GetNumberOfTimeSteps ( )
inline

Definition at line 30 of file H5RageAdaptor.h.

◆ GetTimeStep()

double H5RageAdaptor::GetTimeStep ( int  step)
inline

Definition at line 31 of file H5RageAdaptor.h.

◆ GetNumberOfVariables()

int H5RageAdaptor::GetNumberOfVariables ( )
inline

Definition at line 33 of file H5RageAdaptor.h.

◆ GetVariableName()

const char * H5RageAdaptor::GetVariableName ( int  indx)
inline

Definition at line 34 of file H5RageAdaptor.h.

◆ GetWholeExtent()

int H5RageAdaptor::GetWholeExtent ( int  ext)
inline

Definition at line 36 of file H5RageAdaptor.h.

◆ GetSubExtent()

int H5RageAdaptor::GetSubExtent ( int  ext)
inline

Definition at line 37 of file H5RageAdaptor.h.

◆ GetDimension()

int H5RageAdaptor::GetDimension ( int  dim)
inline

Definition at line 38 of file H5RageAdaptor.h.

◆ GetOrigin()

double H5RageAdaptor::GetOrigin ( int  dim)
inline

Definition at line 39 of file H5RageAdaptor.h.

◆ GetSpacing()

double H5RageAdaptor::GetSpacing ( int  dim)
inline

Definition at line 40 of file H5RageAdaptor.h.

◆ CollectMetaData()

int H5RageAdaptor::CollectMetaData ( const char *  H5RageFileName)
protected

◆ ParseH5RageFile()

int H5RageAdaptor::ParseH5RageFile ( const char *  H5RageFileName)
protected

◆ TrimString()

std::string H5RageAdaptor::TrimString ( const std::string &  str)
protected

Member Data Documentation

◆ Controller

vtkMultiProcessController* H5RageAdaptor::Controller
protected

Definition at line 49 of file H5RageAdaptor.h.

◆ Rank

int H5RageAdaptor::Rank
protected

Definition at line 50 of file H5RageAdaptor.h.

◆ TotalRank

int H5RageAdaptor::TotalRank
protected

Definition at line 51 of file H5RageAdaptor.h.

◆ HdfFileName

std::vector<std::string> H5RageAdaptor::HdfFileName
protected

Definition at line 54 of file H5RageAdaptor.h.

◆ NumberOfTimeSteps

int H5RageAdaptor::NumberOfTimeSteps
protected

Definition at line 57 of file H5RageAdaptor.h.

◆ TimeSteps

double* H5RageAdaptor::TimeSteps
protected

Definition at line 58 of file H5RageAdaptor.h.

◆ ExtentSchedule

int** H5RageAdaptor::ExtentSchedule
protected

Definition at line 61 of file H5RageAdaptor.h.

◆ NumberOfTuples

int64_t* H5RageAdaptor::NumberOfTuples
protected

Definition at line 62 of file H5RageAdaptor.h.

◆ WholeExtent

int H5RageAdaptor::WholeExtent[6]
protected

Definition at line 64 of file H5RageAdaptor.h.

◆ SubExtent

int H5RageAdaptor::SubExtent[6]
protected

Definition at line 65 of file H5RageAdaptor.h.

◆ Dimension

int H5RageAdaptor::Dimension[3]
protected

Definition at line 66 of file H5RageAdaptor.h.

◆ Origin

double H5RageAdaptor::Origin[3]
protected

Definition at line 67 of file H5RageAdaptor.h.

◆ Spacing

double H5RageAdaptor::Spacing[3]
protected

Definition at line 68 of file H5RageAdaptor.h.

◆ NumberOfDimensions

int H5RageAdaptor::NumberOfDimensions
protected

Definition at line 70 of file H5RageAdaptor.h.

◆ TotalTuples

int64_t H5RageAdaptor::TotalTuples
protected

Definition at line 71 of file H5RageAdaptor.h.

◆ UseFloat64

bool H5RageAdaptor::UseFloat64
protected

Definition at line 72 of file H5RageAdaptor.h.

◆ NumberOfVariables

int H5RageAdaptor::NumberOfVariables
protected

Definition at line 75 of file H5RageAdaptor.h.

◆ VariableName

std::vector<std::string> H5RageAdaptor::VariableName
protected

Definition at line 76 of file H5RageAdaptor.h.


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