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

VISU.TUnstructuredGridIDMapperImpl Struct Reference

Specialize TIDMapper to provide VTK mapping for MED TIMESTAMP mesh.

#include <VISU_Structures_impl.hxx>

Inheritance diagram for VISU.TUnstructuredGridIDMapperImpl:
Inheritance graph

Public Member Functions

 TUnstructuredGridIDMapperImpl ()
virtual vtkIdType GetNodeObjID (vtkIdType theID) const
 Reimplement the TIDMapper.GetNodeObjID.
virtual vtkIdType GetNodeVTKID (vtkIdType theID) const
 Reimplement the TIDMapper.GetNodeVTKID.
virtual vtkFloatingPointType * GetNodeCoord (vtkIdType theObjID)
 Reimplement the TIDMapper.GetNodeCoord.
virtual vtkIdType GetElemObjID (vtkIdType theID) const
 Reimplement the TIDMapper.GetElemObjID.
virtual vtkIdType GetElemVTKID (vtkIdType theID) const
 Reimplement the TIDMapper.GetElemVTKID.
virtual vtkCell * GetElemCell (vtkIdType theObjID)
 Reimplement the TIDMapper.GetElemCell.
virtual vtkUnstructuredGrid * GetUnstructuredGridOutput ()
 Reimplement the TUnstructuredGridIDMapper.GetUnstructuredGridOutput.
virtual vtkDataSet * GetOutput ()
 Reimplement the TIDMapper.GetOutput.
virtual unsigned long int GetMemorySize ()
 Gets memory size used by the instance (bytes).
void SetReferencedMesh (const PNamedIDMapper &theNamedIDMapper)
PUnstructuredGrid GetSource ()
const PMergeFilterGetFilter () const
 This method allow to create corresponding VTK filter by demand (not at once)
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

PAppendFilterHolder myIDMapper
 Responsible for numbering.
PCommonCellsFilter myCommonCellsFilter
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 Member Functions

void Build ()

Protected Attributes

TUnstructuredGridHolder mySource
 Keeps assigned data.
PMergeFilter myFilter

Constructor & Destructor Documentation

VISU.TUnstructuredGridIDMapperImpl::TUnstructuredGridIDMapperImpl ( )

Member Function Documentation

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

Reimplemented from VISU.TIDMapper.

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

Reimplemented from VISU.TIDMapper.

vtkFloatingPointType * VISU.TUnstructuredGridIDMapperImpl::GetNodeCoord ( vtkIdType  theObjID) [virtual]

Reimplemented from VISU.TIDMapper.

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

Reimplemented from VISU.TIDMapper.

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

Reimplemented from VISU.TIDMapper.

vtkCell * VISU.TUnstructuredGridIDMapperImpl::GetElemCell ( vtkIdType  theObjID) [virtual]

Reimplemented from VISU.TIDMapper.

vtkUnstructuredGrid * VISU.TUnstructuredGridIDMapperImpl::GetUnstructuredGridOutput ( ) [virtual]
vtkDataSet * VISU.TUnstructuredGridIDMapperImpl::GetOutput ( ) [virtual]

Reimplemented from VISU.TUnstructuredGridIDMapper.

unsigned long int VISU.TUnstructuredGridIDMapperImpl::GetMemorySize ( ) [virtual]

Implements VISU.TIDMapper.

void VISU.TUnstructuredGridIDMapperImpl::SetReferencedMesh ( const PNamedIDMapper theNamedIDMapper)
PUnstructuredGrid VISU.TUnstructuredGridIDMapperImpl::GetSource ( )
void VISU.TUnstructuredGridIDMapperImpl::Build ( ) [protected]
const PMergeFilter & VISU.TMergeFilterHolder::GetFilter ( ) const [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

PMergeFilter VISU.TMergeFilterHolder.myFilter [mutable, 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