VISU.TSizeCounter Struct Reference

Define an utility base class which allow to keep calculated number of cells and their size.

#include <VISU_Convertor_impl.hxx>

Inheritance diagram for VISU.TSizeCounter:

Inheritance graph

Public Member Functions

 TSizeCounter ()
virtual bool IsStructured () const
virtual TIdTypeVector GetStructure ()
virtual TIdTypeVector GetIndexesOfNode (vtkIdType theNodeId)
virtual vtkIdType GetObjectIDByIndexes (TIdTypeVector theVec)

Data Fields

vtkIdType myNbCells
 Number of cells contained into corresponding sublclass.
vtkIdType myCellsSize
 Size of cells contained into corresponding sublclass.
bool myIsDone
 Say, is the corresponding MED entity already loaded into intermediate data structure.
bool myIsVTKDone
 Say, is the corresponding intermediate data structure already mapped into VTK representation.
std::string myEntry
 To simplify publication of the object tree.
bool myIsStructured
 To define mesh type (structured - true, non structured - false).
bool myType
 To define structured mesh is polair.
TIdTypeVector myGrilleStructure
TObj2IdTypeVector myObjID2StructureID
 map of object id to i,j,k ids of structured grid nodes

Constructor & Destructor Documentation

VISU.TSizeCounter::TSizeCounter  ) 
 


Member Function Documentation

bool VISU.TStructured::IsStructured  )  const [virtual, inherited]
 

TIdTypeVector VISU.TStructured::GetStructure  )  [virtual, inherited]
 

Get structure of grille see also MED.TGrilleInfo.GetGrilleStructure see also MED.TGrilleInfo.GetNbIndexes

TIdTypeVector VISU.TStructured::GetIndexesOfNode vtkIdType  theNodeId  )  [virtual, inherited]
 

Gets i,j,k by object id return -1, if not found

vtkIdType VISU.TStructured::GetObjectIDByIndexes TIdTypeVector  theVec  )  [virtual, inherited]
 

Gets object id by i,j,k return -1, if not found


Field Documentation

vtkIdType VISU.TSizeCounter.myNbCells
 

vtkIdType VISU.TSizeCounter.myCellsSize
 

bool VISU.TIsVTKDone.myIsDone [inherited]
 

bool VISU.TIsVTKDone.myIsVTKDone [inherited]
 

std::string VISU.TBaseStructure.myEntry [inherited]
 

bool VISU.TStructured.myIsStructured [inherited]
 

bool VISU.TStructured.myType [inherited]
 

TIdTypeVector VISU.TStructured.myGrilleStructure [inherited]
 

provides grille structure for structured grid. Example: {3,4,5}, 3 nodes in X axe, 4 nodes in Y axe, ...

TObj2IdTypeVector VISU.TStructured.myObjID2StructureID [inherited]