Public Types | |
typedef std::vector< vtkIdType > | TVTKIds |
Public Member Functions | |
TPolySimulation (SalomeApp_Application *app) | |
void | SetPosition (SMESH_Actor *theActor, vtkIdType theType, const TVTKIds &theIds, bool theReset=true) |
void | ResetGrid (bool theReset=true) |
void | SetVisibility (bool theVisibility) |
~TPolySimulation () | |
Private Attributes | |
SVTK_ViewWindow * | myViewWindow |
SALOME_Actor * | myPreviewActor |
vtkDataSetMapper * | myMapper |
vtkUnstructuredGrid * | myGrid |
typedef std::vector<vtkIdType> SMESH::TPolySimulation::TVTKIds |
SMESH::TPolySimulation::TPolySimulation | ( | SalomeApp_Application * | app | ) |
References SMESH::GetColor(), myGrid, myMapper, myPreviewActor, and myViewWindow.
SMESH::TPolySimulation::~TPolySimulation | ( | ) |
References myGrid, myMapper, myPreviewActor, and myViewWindow.
void SMESH::TPolySimulation::ResetGrid | ( | bool | theReset = true | ) |
References myGrid.
Referenced by SMESHGUI_CreatePolyhedralVolumeDlg::displaySimulation(), and SetPosition().
void SMESH::TPolySimulation::SetPosition | ( | SMESH_Actor * | theActor, |
vtkIdType | theType, | ||
const TVTKIds & | theIds, | ||
bool | theReset = true |
||
) |
References SMESH_Actor::GetUnstructuredGrid(), myGrid, ResetGrid(), and SetVisibility().
Referenced by SMESHGUI_CreatePolyhedralVolumeDlg::displaySimulation().
void SMESH::TPolySimulation::SetVisibility | ( | bool | theVisibility | ) |
References myPreviewActor, and SMESH::RepaintCurrentView().
Referenced by SMESHGUI_CreatePolyhedralVolumeDlg::ConstructorsClicked(), SMESHGUI_CreatePolyhedralVolumeDlg::DeactivateActiveDialog(), SMESHGUI_CreatePolyhedralVolumeDlg::displaySimulation(), SMESHGUI_CreatePolyhedralVolumeDlg::onOpenView(), SMESHGUI_CreatePolyhedralVolumeDlg::onTextChange(), SMESHGUI_CreatePolyhedralVolumeDlg::reject(), SMESHGUI_CreatePolyhedralVolumeDlg::SelectionIntoArgument(), and SetPosition().
|
private |
Referenced by ResetGrid(), SetPosition(), TPolySimulation(), and ~TPolySimulation().
|
private |
Referenced by TPolySimulation(), and ~TPolySimulation().
|
private |
Referenced by SetVisibility(), TPolySimulation(), and ~TPolySimulation().
|
private |
Referenced by TPolySimulation(), and ~TPolySimulation().