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

VISU.TGroupImpl Struct Reference

Specialize TGroup to provide VTK mapping for the entity.

#include <VISU_Structures_impl.hxx>

Inheritance diagram for VISU.TGroupImpl:
Inheritance graph

Public Member Functions

virtual void CopyStructure (PStructured theStructured)
 Reimplements the TStructured.CopyStructure.
TNbASizeCells GetNbASizeCells () const
 Calculate pair of values - number of cells and its size.
virtual vtkIdType GetElemVTKID (vtkIdType theID) const
 Reimplement the TIDMapper.GetElemVTKID.
virtual vtkIdType GetElemObjID (vtkIdType theID) const
 Reimplement the TIDMapper.GetElemObjID.
virtual vtkIdType GetNodeObjID (vtkIdType theID) const
 Reimplement the TIDMapper.GetNodeObjID.
virtual vtkIdType GetNodeVTKID (vtkIdType theID) const
 Reimplement the TIDMapper.GetNodeVTKID.
virtual vtkUnstructuredGrid * GetUnstructuredGridOutput ()
 Reimplement the TUnstructuredGridIDMapper.GetUnstructuredGridOutput.
virtual unsigned long int GetMemorySize ()
 Gets memory size used by the instance (bytes).
virtual vtkDataSet * GetOutput ()
 Reimplement the TIDMapper.GetOutput.
virtual vtkFloatingPointType * GetNodeCoord (vtkIdType theObjID)
 Get coordinates of node for corresponding object ID.
virtual vtkCell * GetElemCell (vtkIdType theObjID)
 Get VTK representation of mesh cell for corresponding object ID.
bool IsStructured () const
TStructuredId GetStructure ()
vtkIdType GetStructureDim ()
TStructuredId GetIndexesOfNode (vtkIdType theNodeId)
vtkIdType GetObjectIDByIndexes (TStructuredId theVec)

Data Fields

TID2ID myElemObj2VTKID
 To support object to VTK number mapping.
TFamilyArr myFamilyArr
 Keeps sequence of TFamily as they were added into TAppendFilterHolder.
PNamedPointCoords myNamedPointCoords
 Share the same instance with TMesh to implement nodal mapping.
TFamilySet myFamilySet
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 PAppendFilterGetFilter () const
 This method allow to create corresponding VTK filter by demand (not at once)

Private Attributes

PAppendFilter myFilter
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.

Member Function Documentation

void VISU.TGroupImpl::CopyStructure ( PStructured  theStructured) [virtual]

Reimplemented from VISU.TStructured.

References VISU.TStructured.CopyStructure().

TNbASizeCells VISU.TGroupImpl::GetNbASizeCells ( ) const
vtkIdType VISU.TGroupImpl::GetElemVTKID ( vtkIdType  theID) const [virtual]

Reimplemented from VISU.TIDMapper.

vtkIdType VISU.TGroupImpl::GetElemObjID ( vtkIdType  theID) const [virtual]

Reimplemented from VISU.TIDMapper.

References VISU.GetElemObjID(), and VISU.GetOutput().

vtkIdType VISU.TGroupImpl::GetNodeObjID ( vtkIdType  theID) const [virtual]

Reimplemented from VISU.TIDMapper.

vtkIdType VISU.TGroupImpl::GetNodeVTKID ( vtkIdType  theID) const [virtual]

Reimplemented from VISU.TIDMapper.

vtkUnstructuredGrid * VISU.TGroupImpl::GetUnstructuredGridOutput ( ) [virtual]
unsigned long int VISU.TGroupImpl::GetMemorySize ( ) [virtual]
vtkDataSet * VISU.TUnstructuredGridIDMapper::GetOutput ( ) [virtual, inherited]

Implements VISU.TIDMapper.

Reimplemented in VISU.TUnstructuredGridIDMapperImpl.

vtkFloatingPointType * VISU.TIDMapper::GetNodeCoord ( vtkIdType  theObjID) [virtual, inherited]
vtkCell * VISU.TIDMapper::GetElemCell ( vtkIdType  theObjID) [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 PAppendFilter & VISU.TAppendFilterHolder::GetFilter ( ) const [inherited]

Field Documentation

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

PAppendFilter VISU.TAppendFilterHolder.myFilter [mutable, protected, 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