Dispalayer of free borders. More...
Public Member Functions | |
| BorderGroupDisplayer (const SMESH::CoincidentFreeBorders &borders, int groupIndex, QColor color, SMESH::SMESH_Mesh_ptr mesh) | |
| ~BorderGroupDisplayer () | |
| void | Hide () |
| void | ShowGroup (bool wholeBorders) |
| void | ShowPart (int partIndex, bool toEdit) |
| void | Update () |
Data Fields | |
| const SMESH::ListOfFreeBorders & | myBorders |
| const SMESH::FreeBordersGroup & | myGroup |
| QColor | myColor |
| SMESH::SMESH_Mesh_ptr | myMesh |
| std::vector< SMESH_Actor * > | myPartActors |
| SVTK_ViewWindow * | myViewWindow |
| SMESHGUI_IdPreview | myIdPreview |
Private Member Functions | |
| void | getPartEnds (int partIndex, std::vector< int > &ids, std::list< gp_XYZ > &coords) |
Dispalayer of free borders.
| SMESHGUI_SewingDlg::BorderGroupDisplayer::BorderGroupDisplayer | ( | const SMESH::CoincidentFreeBorders & | borders, |
| int | groupIndex, | ||
| QColor | color, | ||
| SMESH::SMESH_Mesh_ptr | mesh | ||
| ) |
References Update().
| SMESHGUI_SewingDlg::BorderGroupDisplayer::~BorderGroupDisplayer | ( | ) |
| void SMESHGUI_SewingDlg::BorderGroupDisplayer::Hide | ( | ) |
| void SMESHGUI_SewingDlg::BorderGroupDisplayer::ShowGroup | ( | bool | wholeBorders | ) |
| void SMESHGUI_SewingDlg::BorderGroupDisplayer::Update | ( | ) |
References Abs(), SMDS_Mesh::AddEdgeWithID(), SMDS_Mesh::AddNode(), SMESH::FreeBorderPart::border, SMDS_Mesh::Clear(), SMESH::GetFloat(), SMESHGUI_SewingDlg::myBorders, SMESHGUI_SewingDlg::myMesh, SMDS_Mesh::NbEdges(), SMESH_Actor::New(), SMESH::FreeBorderPart::node1, SMESH::FreeBorderPart::node2, SMESH::FreeBorder::nodeIDs, and SMESH::FreeBorderPart::nodeLast.
Referenced by BorderGroupDisplayer().
| const SMESH::ListOfFreeBorders& SMESHGUI_SewingDlg::BorderGroupDisplayer::myBorders |
| QColor SMESHGUI_SewingDlg::BorderGroupDisplayer::myColor |
| const SMESH::FreeBordersGroup& SMESHGUI_SewingDlg::BorderGroupDisplayer::myGroup |
| SMESHGUI_IdPreview SMESHGUI_SewingDlg::BorderGroupDisplayer::myIdPreview |
| SMESH::SMESH_Mesh_ptr SMESHGUI_SewingDlg::BorderGroupDisplayer::myMesh |
| std::vector< SMESH_Actor* > SMESHGUI_SewingDlg::BorderGroupDisplayer::myPartActors |
| SVTK_ViewWindow* SMESHGUI_SewingDlg::BorderGroupDisplayer::myViewWindow |