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

VISU.TCoordHolderBase Class Reference

This class is responsible for keeping the mesh node coordinates.

#include <VISU_PointCoords.hxx>

Inheritance diagram for VISU.TCoordHolderBase:
Inheritance graph

Public Member Functions

void Init (vtkIdType theNbPoints, vtkIdType theDim)
 To initilize the instance.
vtkIdType GetNbPoints () const
vtkIdType GetDim () const
size_t size () const
virtual unsigned long int GetMemorySize ()
 Gets memory size used by the instance (bytes).
virtual TCCoordSlice GetCoordSlice (vtkIdType theNodeId) const =0
 Get slice of coordinates for defined node (const version)
virtual TCoordSlice GetCoordSlice (vtkIdType theNodeId)=0
 Get slice of coordinates for defined node.
virtual unsigned char * GetValuePtr ()=0
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

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 Attributes

vtkIdType myDim
 Dimension of the nodal coordinates.
vtkIdType myNbPoints
 Number of nodes in corresponding mesh.

Member Function Documentation

void VISU.TCoordHolderBase::Init ( vtkIdType  theNbPoints,
vtkIdType  theDim 
)
vtkIdType VISU.TCoordHolderBase::GetNbPoints ( ) const
vtkIdType VISU.TCoordHolderBase::GetDim ( ) const
size_t VISU.TCoordHolderBase::size ( ) const

References GetNbPoints().

unsigned long int VISU.TCoordHolderBase::GetMemorySize ( ) [virtual]
virtual TCCoordSlice VISU.TCoordHolderBase.GetCoordSlice ( vtkIdType  theNodeId) const [pure virtual]
virtual TCoordSlice VISU.TCoordHolderBase.GetCoordSlice ( vtkIdType  theNodeId) [pure virtual]
virtual unsigned char* VISU.TCoordHolderBase.GetValuePtr ( ) [pure 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


Field Documentation

vtkIdType VISU.TCoordHolderBase.myDim [protected]
vtkIdType VISU.TCoordHolderBase.myNbPoints [protected]

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