Public Types | |
typedef std::vector< vtkIdType > | TVTKIds |
Public Member Functions | |
TElementSimulation (SalomeApp_Application *theApplication) | |
void | SetPosition (SMESH_Actor *theActor, vtkIdType theType, TVTKIds &theIds) |
void | SetBallPosition (SMESH_Actor *theActor, TVTKIds &theIds, double theDiameter) |
void | SetVisibility (bool theVisibility, bool theShowOrientation=false, bool theShowBalls=false) |
~TElementSimulation () | |
Private Attributes | |
SalomeApp_Application * | myApplication |
SUIT_ViewWindow * | myViewWindow |
SVTK_ViewWindow * | myVTKViewWindow |
SALOME_Actor * | myPreviewActor |
vtkDataSetMapper * | myMapper |
vtkUnstructuredGrid * | myGrid |
SALOME_Actor * | myBallActor |
VTKViewer_PolyDataMapper * | myBallMapper |
vtkPolyData * | myBallPolyData |
SALOME_Actor * | myFaceOrientation |
vtkPolyDataMapper * | myFaceOrientationDataMapper |
SMESH_FaceOrientationFilter * | myFaceOrientationFilter |
typedef std::vector<vtkIdType> SMESH::TElementSimulation::TVTKIds |
SMESH::TElementSimulation::TElementSimulation | ( | SalomeApp_Application * | theApplication | ) |
References SMESH::GetColor(), SMESH::GetFloat(), SMESH::GetVtkViewWindow(), myApplication, myBallActor, myBallMapper, myBallPolyData, myFaceOrientation, myFaceOrientationDataMapper, myFaceOrientationFilter, myGrid, myMapper, myPreviewActor, myViewWindow, myVTKViewWindow, and SMESH_FaceOrientationFilter::New().
SMESH::TElementSimulation::~TElementSimulation | ( | ) |
void SMESH::TElementSimulation::SetBallPosition | ( | SMESH_Actor * | theActor, |
TVTKIds & | theIds, | ||
double | theDiameter | ||
) |
References MESHCUT::d, SMESH_Actor::GetBallScale(), SMESH_Actor::GetUnstructuredGrid(), myBallPolyData, and SetVisibility().
Referenced by SMESHGUI_AddMeshElementDlg::displaySimulation().
void SMESH::TElementSimulation::SetPosition | ( | SMESH_Actor * | theActor, |
vtkIdType | theType, | ||
TVTKIds & | theIds | ||
) |
void SMESH::TElementSimulation::SetVisibility | ( | bool | theVisibility, |
bool | theShowOrientation = false , |
||
bool | theShowBalls = false |
||
) |
References myBallActor, myFaceOrientation, myPreviewActor, and SMESH::RepaintCurrentView().
Referenced by SMESHGUI_AddMeshElementDlg::CheckBox(), SMESHGUI_AddMeshElementDlg::ClickOnApply(), SMESHGUI_AddMeshElementDlg::DeactivateActiveDialog(), SMESHGUI_AddMeshElementDlg::onOpenView(), SMESHGUI_AddMeshElementDlg::onTextChange(), SMESHGUI_AddMeshElementDlg::reject(), SMESHGUI_AddMeshElementDlg::SelectionIntoArgument(), SetBallPosition(), and SetPosition().
|
private |
Referenced by TElementSimulation(), and ~TElementSimulation().
|
private |
Referenced by SetVisibility(), TElementSimulation(), and ~TElementSimulation().
|
private |
Referenced by TElementSimulation(), and ~TElementSimulation().
|
private |
Referenced by SetBallPosition(), TElementSimulation(), and ~TElementSimulation().
|
private |
Referenced by SetVisibility(), TElementSimulation(), and ~TElementSimulation().
|
private |
Referenced by TElementSimulation(), and ~TElementSimulation().
|
private |
Referenced by TElementSimulation(), and ~TElementSimulation().
|
private |
Referenced by SetPosition(), TElementSimulation(), and ~TElementSimulation().
|
private |
Referenced by TElementSimulation(), and ~TElementSimulation().
|
private |
Referenced by SetVisibility(), TElementSimulation(), and ~TElementSimulation().
|
private |
Referenced by TElementSimulation(), and ~TElementSimulation().
|
private |
Referenced by TElementSimulation(), and ~TElementSimulation().