Version: 6.3.1
Public Member Functions | Data Fields | Private Member Functions | Private Attributes

VISU.TSubProfileImpl Struct Reference

Specialize TSubProfile to provide VTK mapping.

#include <VISU_Structures_impl.hxx>

Inheritance diagram for VISU.TSubProfileImpl:
Inheritance graph

Public Member Functions

 TSubProfileImpl ()
virtual vtkIdType GetElemObjID (vtkIdType theVtkI) const
 Get object number of mesh cell by its VTK one.
virtual vtkIdType GetElemVTKID (vtkIdType theID) const
 Get cell VTK ID for corresponding object ID.
virtual bool isDefault () const
 Return true in case if it is default profile, i.e myName == "" (MED_NOPFL, see med.h)
virtual unsigned long int GetMemorySize ()
 Gets memory size used by the instance (bytes).
virtual void CopyStructure (PStructured theStructured)
 Copys all information which should be sinchronized between two instances.
bool IsStructured () const
TStructuredId GetStructure ()
vtkIdType GetStructureDim ()
TStructuredId GetIndexesOfNode (vtkIdType theNodeId)
vtkIdType GetObjectIDByIndexes (TStructuredId theVec)

Data Fields

EGeometry myGeom
 Defines to what geometrical type the MED PROFILE belong to.
std::string myName
 Keeps its name.
ESubMeshStatus myStatus
 Keeps status of the structure.
TSubMeshID mySubMeshID
 Keeps numbers of mesh cell which contain the MED PROFILE.
std::string myEntry
 To simplify publication of the object tree.
bool myIsStructured
 To define mesh type (structured - true, non structured - false)
bool myIsPolarType
 To define structured mesh is polair.
TStructuredId myGrilleStructure
TObj2StructuredId myObj2StructuredId
 map of object id to i,j,k ids of structured grid nodes

Private Member Functions

const PUnstructuredGridGetSource () const
 This method allow to create corresponding VTK data set by demand (not at once)
virtual vtkUnstructuredGrid * GetUnstructuredGridOutput ()

Private Attributes

PUnstructuredGrid mySource
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.

Constructor & Destructor Documentation

VISU.TSubProfileImpl::TSubProfileImpl ( )

Member Function Documentation

vtkIdType VISU.TSubProfileImpl::GetElemObjID ( vtkIdType  theVtkI) const [virtual]

Implements VISU.TSubProfile.

Reimplemented in VISU.TMEDSubProfile.

vtkIdType VISU.TSubProfileImpl::GetElemVTKID ( vtkIdType  theID) const [virtual]

Implements VISU.TSubProfile.

Reimplemented in VISU.TMEDSubProfile.

bool VISU.TSubProfileImpl::isDefault ( ) const [virtual]
unsigned long int VISU.TSubProfileImpl::GetMemorySize ( ) [virtual]
void VISU.TStructured::CopyStructure ( PStructured  theStructured) [virtual, inherited]
bool VISU.TStructured::IsStructured ( ) const [inherited]
TStructuredId VISU.TStructured::GetStructure ( ) [inherited]

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

vtkIdType VISU.TStructured::GetStructureDim ( ) [inherited]
TStructuredId VISU.TStructured::GetIndexesOfNode ( vtkIdType  theNodeId) [inherited]

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

vtkIdType VISU.TStructured::GetObjectIDByIndexes ( TStructuredId  theVec) [inherited]

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

const PUnstructuredGrid & VISU.TUnstructuredGridHolder::GetSource ( ) const [inherited]
vtkUnstructuredGrid * VISU.TUnstructuredGridHolder::GetUnstructuredGridOutput ( ) [virtual, inherited]

Reimplemented in VISU.TFamilyImpl.


Field Documentation

In some cases MED file does not use MED PROFILES, but at VISU creates corresponding data strucutre in order to construct mesh for MED TIEMSTAMPS in uniform way.

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

vtkIdType VISU.TSizeCounter.myNbCells [inherited]
vtkIdType VISU.TSizeCounter.myCellsSize [inherited]
bool VISU.TIsVTKDone.myIsDone [mutable, inherited]
bool VISU.TIsVTKDone.myIsVTKDone [mutable, inherited]
Copyright © 2007-2011 CEA/DEN, EDF R&D, OPEN CASCADE
Copyright © 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS