The ViewProviderIndexedFaceSet class creates an indexed faceset node in order to render the mesh data structure. More...
#include <ViewProvider.h>
Public Member Functions | |
virtual void | attach (App::DocumentObject *) |
Extracts the mesh data from the feature pcFeature and creates an Inventor node SoNode with these data. | |
virtual Base::Type | getTypeId (void) const |
virtual void | updateData (const App::Property *) |
Update the Mesh representation. | |
ViewProviderIndexedFaceSet () | |
virtual | ~ViewProviderIndexedFaceSet () |
Static Public Member Functions | |
static void * | create (void) |
static Base::Type | getClassTypeId (void) |
static void | init (void) |
Protected Member Functions | |
SoNode * | getCoordNode () const |
virtual const App::PropertyData & | getPropertyData (void) const |
SoShape * | getShapeNode () const |
void | showOpenEdges (bool) |
Static Protected Member Functions | |
static const App::PropertyData * | getPropertyDataPtr (void) |
The ViewProviderIndexedFaceSet class creates an indexed faceset node in order to render the mesh data structure.
Definition at line 205 of file Mod/Mesh/Gui/ViewProvider.h.
ViewProviderIndexedFaceSet::ViewProviderIndexedFaceSet | ( | ) |
Definition at line 1488 of file Mod/Mesh/Gui/ViewProvider.cpp.
ViewProviderIndexedFaceSet::~ViewProviderIndexedFaceSet | ( | ) | [virtual] |
Definition at line 1492 of file Mod/Mesh/Gui/ViewProvider.cpp.
void ViewProviderIndexedFaceSet::attach | ( | App::DocumentObject * | pcFeat | ) | [virtual] |
Extracts the mesh data from the feature pcFeature and creates an Inventor node SoNode with these data.
Reimplemented from MeshGui::ViewProviderMesh.
Definition at line 1500 of file Mod/Mesh/Gui/ViewProvider.cpp.
References SketcherExample::f, Gui::WindowParameter::getDefaultParameter(), Gui::ViewProviderGeometryObject::pcHighlight, and KDL::pow().
void * MeshGui::ViewProviderIndexedFaceSet::create | ( | void | ) | [static] |
Reimplemented from MeshGui::ViewProviderMesh.
Definition at line 1486 of file Mod/Mesh/Gui/ViewProvider.cpp.
Base::Type MeshGui::ViewProviderIndexedFaceSet::getClassTypeId | ( | void | ) | [static] |
Reimplemented from MeshGui::ViewProviderMesh.
Definition at line 1486 of file Mod/Mesh/Gui/ViewProvider.cpp.
Referenced by updateData().
SoNode * ViewProviderIndexedFaceSet::getCoordNode | ( | ) | const [protected, virtual] |
Reimplemented from MeshGui::ViewProviderMesh.
Definition at line 1568 of file Mod/Mesh/Gui/ViewProvider.cpp.
const App::PropertyData & MeshGui::ViewProviderIndexedFaceSet::getPropertyData | ( | void | ) | const [protected, virtual] |
Reimplemented from MeshGui::ViewProviderMesh.
Definition at line 1486 of file Mod/Mesh/Gui/ViewProvider.cpp.
const App::PropertyData * MeshGui::ViewProviderIndexedFaceSet::getPropertyDataPtr | ( | void | ) | [static, protected] |
Reimplemented from MeshGui::ViewProviderMesh.
Definition at line 1486 of file Mod/Mesh/Gui/ViewProvider.cpp.
SoShape * ViewProviderIndexedFaceSet::getShapeNode | ( | ) | const [protected, virtual] |
Reimplemented from MeshGui::ViewProviderMesh.
Definition at line 1563 of file Mod/Mesh/Gui/ViewProvider.cpp.
Base::Type MeshGui::ViewProviderIndexedFaceSet::getTypeId | ( | void | ) | const [virtual] |
Reimplemented from MeshGui::ViewProviderMesh.
Definition at line 1486 of file Mod/Mesh/Gui/ViewProvider.cpp.
void MeshGui::ViewProviderIndexedFaceSet::init | ( | void | ) | [static] |
Reimplemented from MeshGui::ViewProviderMesh.
Definition at line 1486 of file Mod/Mesh/Gui/ViewProvider.cpp.
Referenced by initMeshGui().
void ViewProviderIndexedFaceSet::showOpenEdges | ( | bool | show | ) | [protected, virtual] |
Reimplemented from MeshGui::ViewProviderMesh.
Definition at line 1527 of file Mod/Mesh/Gui/ViewProvider.cpp.
References MeshCore::MeshKernel::GetFacets(), MeshGui::ViewProviderMesh::pcLineStyle, Gui::ViewProviderDocumentObject::pcObject, MeshGui::ViewProviderMesh::pcOpenEdge, Gui::ViewProvider::pcRoot, and MeshGui::ViewProviderMesh::pOpenColor.
Referenced by updateData().
void ViewProviderIndexedFaceSet::updateData | ( | const App::Property * | prop | ) | [virtual] |
Update the Mesh representation.
Reimplemented from Gui::ViewProviderGeometryObject.
Definition at line 1516 of file Mod/Mesh/Gui/ViewProvider.cpp.
References MeshGui::ViewProviderMeshBuilder::createMesh(), getClassTypeId(), App::Property::getTypeId(), App::PropertyBool::getValue(), MeshGui::ViewProviderMesh::highlightSelection(), MeshGui::ViewProviderMesh::OpenEdges, and showOpenEdges().