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

VISU.TMEDNamedPointCoords Class Reference

#include <VISU_MedConvertor.hxx>

Inheritance diagram for VISU.TMEDNamedPointCoords:
Inheritance graph

Public Member Functions

 TMEDNamedPointCoords ()
void Init (const MED::PNodeInfo &theNodeInfo, MED::EVersion theVersion)
void Init (const MED::PGrilleInfo &theGrilleInfo)
virtual vtkIdType GetObjID (vtkIdType theID) const
 Get object number for node by its VTK one.
virtual vtkIdType GetVTKID (vtkIdType theID) const
 Get VTK number for node by its object one.
virtual std::string GetNodeName (vtkIdType theObjID) const
 Get name of node by its object number.
virtual unsigned long int GetMemorySize ()
 Gets memory size used by the instance (bytes).
void Init (const PCoordHolder &theCoord)
 To initilize the class (numeration of the nodes can be missed)
std::stringGetName (vtkIdType theDim)
 Get name for defined dimension.
const std::stringGetName (vtkIdType theDim) const
 Get name for defined dimension (const version)
virtual vtkPointSet * GetPointSet () const
 Gets initialized corresponding VTK structure.
vtkIdType GetNbPoints () const
vtkIdType GetDim () const
TCCoordSlice GetCoordSlice (vtkIdType theNodeId) const
 Get slice of coordinates for defined node (const version)
TCoordSlice GetCoordSlice (vtkIdType theNodeId)
 Get slice of coordinates for defined node.
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

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 myIsPolarType
 To define structured mesh is polair.
TStructuredId myGrilleStructure
TObj2StructuredId myObj2StructuredId
 map of object id to i,j,k ids of structured grid nodes

Protected Types

typedef TVector< std::stringTPointsDim

Protected Member Functions

void SetVoidArray () const
 Passes the MED node coordinates data directly to VTK.

Protected Attributes

TPointsDim myPointsDim
 Keeps name of each dimension.
PCoordHolder myCoord
 An container for coordinates of the nodes.
PPointSet myPointSet
 VTK representation for the mesh nodes.

Private Attributes

MED::EBooleen myIsElemNum
 Keeps whether the numeration exists or not.
MED::PElemNum myElemNum
 Keeps objects numeration.
TObj2VTKID myObj2VTKID
 Keeps mapping from object number to VTK one.
MED::EVersion myVersion
MED::PString myElemNames
 Keeps whether the names exists or not.
MED::EBooleen myIsElemNames
 Keeps objects names.

Member Typedef Documentation

typedef TVector<std::string> VISU.TNamedPointCoords.TPointsDim [protected, inherited]

Constructor & Destructor Documentation

VISU.TMEDNamedPointCoords.TMEDNamedPointCoords ( )

Member Function Documentation

void VISU.TMEDNamedPointCoords::Init ( const MED::PNodeInfo &  theNodeInfo,
MED::EVersion  theVersion 
)
void VISU.TMEDNamedPointCoords::Init ( const MED::PGrilleInfo &  theGrilleInfo)
vtkIdType VISU.TMEDNamedPointCoords::GetObjID ( vtkIdType  theID) const [virtual]

Reimplemented from VISU.TPointCoords.

References VISU.TPointCoords.GetObjID().

vtkIdType VISU.TMEDNamedPointCoords::GetVTKID ( vtkIdType  theID) const [virtual]

Reimplemented from VISU.TPointCoords.

References VISU.TPointCoords.GetVTKID().

std::string VISU.TMEDNamedPointCoords::GetNodeName ( vtkIdType  theObjID) const [virtual]
unsigned long int VISU.TMEDNamedPointCoords::GetMemorySize ( ) [virtual]
void VISU.TNamedPointCoords::Init ( const PCoordHolder theCoord) [inherited]

Reimplemented from VISU.TPointCoords.

References VISU.TPointCoords.Init().

std::string & VISU.TNamedPointCoords::GetName ( vtkIdType  theDim) [inherited]
const std::string & VISU.TNamedPointCoords::GetName ( vtkIdType  theDim) const [inherited]
vtkPointSet * VISU.TNamedPointCoords::GetPointSet ( ) const [virtual, inherited]
vtkIdType VISU.TPointCoords::GetNbPoints ( ) const [inherited]
vtkIdType VISU.TPointCoords::GetDim ( ) const [inherited]
TCCoordSlice VISU.TPointCoords::GetCoordSlice ( vtkIdType  theNodeId) const [inherited]
TCoordSlice VISU.TPointCoords::GetCoordSlice ( vtkIdType  theNodeId) [inherited]
void VISU.TPointCoords::SetVoidArray ( ) const [protected, inherited]
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


Field Documentation

MED::EBooleen VISU.TMEDNamedPointCoords.myIsElemNum [private]
MED::PElemNum VISU.TMEDNamedPointCoords.myElemNum [private]
MED::EVersion VISU.TMEDNamedPointCoords.myVersion [private]
MED::PString VISU.TMEDNamedPointCoords.myElemNames [private]
MED::EBooleen VISU.TMEDNamedPointCoords.myIsElemNames [private]
PCoordHolder VISU.TPointCoords.myCoord [protected, inherited]

Usage of slices allow to minimize amount of memory to store the nodal coordinates and provide unifirm way of conversation with this coordinates (independant from mesh dimension) A pointer to the coordinates container holder

PPointSet VISU.TPointCoords.myPointSet [protected, inherited]
bool VISU.TIsVTKDone.myIsDone [mutable, inherited]
bool VISU.TIsVTKDone.myIsVTKDone [mutable, inherited]

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

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