Version: 8.3.0
MEDFileFieldRepresentationLeaves Class Reference

#include <MEDFileFieldRepresentationTree.hxx>

Public Member Functions

 MEDFileFieldRepresentationLeaves ()
 
 MEDFileFieldRepresentationLeaves (const std::vector< MEDCoupling::MCAuto< MEDCoupling::MEDFileAnyTypeFieldMultiTS > > &arr, const MEDCoupling::MCAuto< MEDCoupling::MEDFileFastCellSupportComparator > &fsp)
 
 ~MEDFileFieldRepresentationLeaves ()
 
bool empty () const
 
void setId (int &id) const
 
std::string getMeshName () const
 
int getNumberOfArrays () const
 
int getNumberOfTS () const
 
void feedSIL (const MEDCoupling::MEDFileMeshes *ms, const std::string &meshName, vtkMutableDirectedGraph *sil, vtkIdType root, vtkVariantArray *edge, std::vector< std::string > &names) const
 
void computeFullNameInLeaves (const std::string &tsName, const std::string &meshName, const std::string &comSupStr) const
 
bool containId (int id) const
 
bool containZeName (const char *name, int &id) const
 
void dumpState (std::map< std::string, bool > &status) const
 
bool isActivated () const
 
void printMySelf (std::ostream &os) const
 
void activateAllArrays () const
 
const
MEDFileFieldRepresentationLeavesArrays
getLeafArr (int id) const
 
std::vector< double > getTimeSteps (const TimeKeeper &tk) const
 
std::vector< std::pair< int,
int > > 
getTimeStepsInCoarseMEDFileFormat (std::vector< double > &ts) const
 
std::string getHumanReadableOverviewOfTS () const
 
vtkDataSet * buildVTKInstanceNoTimeInterpolation (const MEDTimeReq *tr, const MEDCoupling::MEDFileFieldGlobsReal *globs, const MEDCoupling::MEDFileMeshes *meshes, ExportedTinyInfo *internalInfo=0) const
 

Private Member Functions

vtkUnstructuredGrid * buildVTKInstanceNoTimeInterpolationUnstructured (MEDCoupling::MEDUMeshMultiLev *mm) const
 
vtkRectilinearGrid * buildVTKInstanceNoTimeInterpolationCartesian (MEDCoupling::MEDCMeshMultiLev *mm) const
 
vtkStructuredGrid * buildVTKInstanceNoTimeInterpolationCurveLinear (MEDCoupling::MEDCurveLinearMeshMultiLev *mm) const
 
void appendFields (const MEDTimeReq *tr, const MEDCoupling::MEDFileFieldGlobsReal *globs, const MEDCoupling::MEDMeshMultiLev *mml, const MEDCoupling::MEDFileMeshes *meshes, vtkDataSet *ds, ExportedTinyInfo *internalInfo=0) const
 

Private Attributes

std::vector
< MEDFileFieldRepresentationLeavesArrays
_arrays
 
MEDCoupling::MCAuto
< MEDCoupling::MEDFileFastCellSupportComparator > 
_fsp
 
vtkDataSet * _cached_ds
 

Constructor & Destructor Documentation

MEDFileFieldRepresentationLeaves::MEDFileFieldRepresentationLeaves ( )
MEDFileFieldRepresentationLeaves::MEDFileFieldRepresentationLeaves ( const std::vector< MEDCoupling::MCAuto< MEDCoupling::MEDFileAnyTypeFieldMultiTS > > &  arr,
const MEDCoupling::MCAuto< MEDCoupling::MEDFileFastCellSupportComparator > &  fsp 
)

References _arrays.

MEDFileFieldRepresentationLeaves::~MEDFileFieldRepresentationLeaves ( )

References _cached_ds.

Member Function Documentation

bool MEDFileFieldRepresentationLeaves::empty ( ) const

References _arrays, and _fsp.

void MEDFileFieldRepresentationLeaves::setId ( int &  id) const

References _arrays.

std::string MEDFileFieldRepresentationLeaves::getMeshName ( ) const

References _arrays.

int MEDFileFieldRepresentationLeaves::getNumberOfArrays ( ) const

References _arrays.

int MEDFileFieldRepresentationLeaves::getNumberOfTS ( ) const

References _arrays.

void MEDFileFieldRepresentationLeaves::feedSIL ( const MEDCoupling::MEDFileMeshes *  ms,
const std::string &  meshName,
vtkMutableDirectedGraph *  sil,
vtkIdType  root,
vtkVariantArray *  edge,
std::vector< std::string > &  names 
) const
Parameters
[in]msis the meshes pointer. It can be used only for information of geometric types. No special processing will be requested on ms.

References _arrays, and _fsp.

void MEDFileFieldRepresentationLeaves::computeFullNameInLeaves ( const std::string &  tsName,
const std::string &  meshName,
const std::string &  comSupStr 
) const

References _arrays.

bool MEDFileFieldRepresentationLeaves::containId ( int  id) const

References _arrays.

bool MEDFileFieldRepresentationLeaves::containZeName ( const char *  name,
int &  id 
) const

References _arrays.

void MEDFileFieldRepresentationLeaves::dumpState ( std::map< std::string, bool > &  status) const

References _arrays.

bool MEDFileFieldRepresentationLeaves::isActivated ( ) const

References _arrays.

void MEDFileFieldRepresentationLeaves::printMySelf ( std::ostream &  os) const

References _arrays.

void MEDFileFieldRepresentationLeaves::activateAllArrays ( ) const

References _arrays.

const MEDFileFieldRepresentationLeavesArrays & MEDFileFieldRepresentationLeaves::getLeafArr ( int  id) const

References _arrays.

std::vector< double > MEDFileFieldRepresentationLeaves::getTimeSteps ( const TimeKeeper tk) const
std::vector< std::pair< int, int > > MEDFileFieldRepresentationLeaves::getTimeStepsInCoarseMEDFileFormat ( std::vector< double > &  ts) const

References _arrays, and getTimeSteps().

std::string MEDFileFieldRepresentationLeaves::getHumanReadableOverviewOfTS ( ) const
vtkUnstructuredGrid * MEDFileFieldRepresentationLeaves::buildVTKInstanceNoTimeInterpolationUnstructured ( MEDCoupling::MEDUMeshMultiLev *  mm) const
private
vtkRectilinearGrid * MEDFileFieldRepresentationLeaves::buildVTKInstanceNoTimeInterpolationCartesian ( MEDCoupling::MEDCMeshMultiLev *  mm) const
private
vtkStructuredGrid * MEDFileFieldRepresentationLeaves::buildVTKInstanceNoTimeInterpolationCurveLinear ( MEDCoupling::MEDCurveLinearMeshMultiLev *  mm) const
private
void MEDFileFieldRepresentationLeaves::appendFields ( const MEDTimeReq tr,
const MEDCoupling::MEDFileFieldGlobsReal *  globs,
const MEDCoupling::MEDMeshMultiLev *  mml,
const MEDCoupling::MEDFileMeshes *  meshes,
vtkDataSet *  ds,
ExportedTinyInfo internalInfo = 0 
) const
private

References _arrays.

Field Documentation

std::vector<MEDFileFieldRepresentationLeavesArrays> MEDFileFieldRepresentationLeaves::_arrays
private
MEDCoupling::MCAuto<MEDCoupling::MEDFileFastCellSupportComparator> MEDFileFieldRepresentationLeaves::_fsp
private
vtkDataSet* MEDFileFieldRepresentationLeaves::_cached_ds
mutableprivate