Incarnation of SMESH_VisualObj allowing usage of SMESH_Actor to show arbitrary mesh data. More...
#include <SMESHGUI_PreVisualObj.h>

Public Member Functions | |
| SMESHGUI_PreVisualObj () | |
| virtual SMDS_Mesh * | GetMesh () const |
| virtual bool | Update (int theIsClear) |
| virtual bool | NulData () |
| virtual void | UpdateFunctor (const SMESH::Controls::FunctorPtr &theFunctor) |
| virtual int | GetElemDimension (const int theObjId) |
| virtual int | GetNbEntities (const SMDSAbs_ElementType theType) const |
| virtual bool | IsValid () const |
| virtual bool | GetEdgeNodes (const int theElemId, const int theEdgeNum, int &theNodeId1, int &theNodeId2) const |
| virtual vtkIdType | GetNodeObjId (int theVTKID) |
| virtual vtkIdType | GetNodeVTKId (int theObjID) |
| virtual vtkIdType | GetElemObjId (int theVTKID) |
| virtual vtkIdType | GetElemVTKId (int theObjID) |
| virtual void | ClearEntitiesFlags () |
| virtual bool | GetEntitiesFlag () |
| virtual unsigned int | GetEntitiesState () |
| virtual SMESH::SMESH_Mesh_ptr | GetMeshServer () |
| virtual vtkUnstructuredGrid * | GetUnstructuredGrid () |
Private Attributes | |
| SMDS_Mesh * | myMesh |
| bool | myEntitiesFlag |
| unsigned int | myEntitiesState |
Incarnation of SMESH_VisualObj allowing usage of SMESH_Actor to show arbitrary mesh data.
SMESHGUI_PreVisualObj encapsulates a instance of SMDS_Mesh that can be filled by its user. Main usage: to initialize a SMESH_Actor to display some preview
| SMESHGUI_PreVisualObj::SMESHGUI_PreVisualObj | ( | ) |
References myMesh.
|
virtual |
Implements SMESH_VisualObj.
References SMESH_Actor::eAllEntity, myEntitiesFlag, and myEntitiesState.
Implements SMESH_VisualObj.
References SMDS_Mesh::FindElement(), myMesh, SMDSAbs_Edge, SMDSAbs_Face, and SMDSAbs_Volume.
|
virtual |
Implements SMESH_VisualObj.
References SMDS_Mesh::fromVtkToSmds(), and GetMesh().
|
virtual |
Implements SMESH_VisualObj.
References SMDS_Mesh::FindElement(), SMDS_MeshElement::getVtkId(), and myMesh.
|
virtual |
Implements SMESH_VisualObj.
References myEntitiesFlag.
|
virtual |
Implements SMESH_VisualObj.
References myEntitiesState.
|
virtual |
Implements SMESH_VisualObj.
Referenced by GetElemObjId(), and UpdateFunctor().
|
virtual |
Implements SMESH_VisualObj.
|
virtual |
Implements SMESH_VisualObj.
References SMDS_Mesh::GetMeshInfo(), myMesh, and SMDS_MeshInfo::NbElements().
Referenced by IsValid().
|
virtual |
Implements SMESH_VisualObj.
References SMDS_Mesh::FindNodeVtk(), SMDS_MeshElement::GetID(), and myMesh.
|
virtual |
Implements SMESH_VisualObj.
References SMDS_Mesh::FindNode(), SMDS_MeshElement::GetID(), and myMesh.
|
virtual |
Implements SMESH_VisualObj.
References SMDS_Mesh::getGrid(), and myMesh.
|
virtual |
Implements SMESH_VisualObj.
References GetNbEntities(), and SMDSAbs_All.
|
virtual |
Implements SMESH_VisualObj.
Implements SMESH_VisualObj.
|
virtual |
Implements SMESH_VisualObj.
References GetMesh().
|
private |
Referenced by ClearEntitiesFlags(), and GetEntitiesFlag().
|
private |
Referenced by ClearEntitiesFlags(), and GetEntitiesState().
|
mutableprivate |