This class is responsible for representation of mesh nodes.
#include <VISU_PointCoords.hxx>

Public Member Functions | |
| TPointCoords () | |
| void | Init (const PCoordHolder &theCoord) |
| To initilize the class. | |
| vtkIdType | GetNbPoints () const |
| vtkIdType | GetDim () const |
| virtual vtkPointSet * | GetPointSet () const |
| Gets corresponding VTK structure. | |
| virtual unsigned long int | GetMemorySize () |
| Gets memory size used by the instance (bytes). | |
| 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 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 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 Member Functions | |
| void | SetVoidArray () const |
| Passes the MED node coordinates data directly to VTK. | |
Protected Attributes | |
| PCoordHolder | myCoord |
| An container for coordinates of the nodes. | |
| PPointSet | myPointSet |
| VTK representation for the mesh nodes. | |
| VISU.TPointCoords::TPointCoords | ( | ) |
| void VISU.TPointCoords::Init | ( | const PCoordHolder & | theCoord | ) |
Reimplemented in VISU.TNamedPointCoords.
| vtkIdType VISU.TPointCoords::GetNbPoints | ( | ) | const |
| vtkIdType VISU.TPointCoords::GetDim | ( | ) | const |
| vtkPointSet * VISU.TPointCoords::GetPointSet | ( | ) | const [virtual] |
Reimplemented in VISU.TNamedPointCoords.
References GetNbPoints(), and MYDEBUG.
| unsigned long int VISU.TPointCoords::GetMemorySize | ( | ) | [virtual] |
Reimplemented in VISU.TMEDNamedPointCoords, and VISU.TNamedPointCoords.
| TCCoordSlice VISU.TPointCoords::GetCoordSlice | ( | vtkIdType | theNodeId | ) | const |
| TCoordSlice VISU.TPointCoords::GetCoordSlice | ( | vtkIdType | theNodeId | ) |
| vtkIdType VISU.TPointCoords::GetObjID | ( | vtkIdType | theID | ) | const [virtual] |
Reimplemented in VISU.TMEDNamedPointCoords.
| vtkIdType VISU.TPointCoords::GetVTKID | ( | vtkIdType | theID | ) | const [virtual] |
Reimplemented in VISU.TMEDNamedPointCoords.
| void VISU.TPointCoords::SetVoidArray | ( | ) | const [protected] |
| void VISU.TStructured::CopyStructure | ( | PStructured | theStructured | ) | [virtual, inherited] |
Reimplemented in VISU.TSubMeshImpl, VISU.TMeshOnEntityImpl, VISU.TFamilyImpl, and VISU.TGroupImpl.
| 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
PCoordHolder VISU.TPointCoords.myCoord [protected] |
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] |
bool VISU.TIsVTKDone.myIsDone [mutable, inherited] |
bool VISU.TIsVTKDone.myIsVTKDone [mutable, inherited] |
std::string VISU.TBaseStructure.myEntry [inherited] |
bool VISU.TStructured.myIsStructured [inherited] |
bool VISU.TStructured.myIsPolarType [inherited] |
TStructuredId VISU.TStructured.myGrilleStructure [inherited] |
provides grille structure for structured grid. Example: {3,4,5}, 3 nodes in X axe, 4 nodes in Y axe, ...
TObj2StructuredId VISU.TStructured.myObj2StructuredId [inherited] |