The ViewProviderIndexedFaceSet class creates an own node in order to directly render the mesh data structure. More...
#include <ViewProvider.h>
Public Member Functions | |
void | attach (App::DocumentObject *pcFeat) |
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 *) |
Gets called if some of the property hade bin changed. | |
ViewProviderMeshObject () | |
virtual | ~ViewProviderMeshObject () |
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 own node in order to directly render the mesh data structure.
Definition at line 232 of file Mod/Mesh/Gui/ViewProvider.h.
ViewProviderMeshObject::ViewProviderMeshObject | ( | ) |
Definition at line 1577 of file Mod/Mesh/Gui/ViewProvider.cpp.
ViewProviderMeshObject::~ViewProviderMeshObject | ( | ) | [virtual] |
Definition at line 1581 of file Mod/Mesh/Gui/ViewProvider.cpp.
void ViewProviderMeshObject::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 1585 of file Mod/Mesh/Gui/ViewProvider.cpp.
References SketcherExample::f, Gui::WindowParameter::getDefaultParameter(), Py::int, Gui::ViewProviderGeometryObject::pcHighlight, KDL::pow(), and MeshGui::SoFCMeshObjectShape::renderTriangleLimit.
void * MeshGui::ViewProviderMeshObject::create | ( | void | ) | [static] |
Reimplemented from MeshGui::ViewProviderMesh.
Definition at line 1575 of file Mod/Mesh/Gui/ViewProvider.cpp.
Base::Type MeshGui::ViewProviderMeshObject::getClassTypeId | ( | void | ) | [static] |
Reimplemented from MeshGui::ViewProviderMesh.
Definition at line 1575 of file Mod/Mesh/Gui/ViewProvider.cpp.
Referenced by updateData().
SoNode * ViewProviderMeshObject::getCoordNode | ( | ) | const [protected, virtual] |
Reimplemented from MeshGui::ViewProviderMesh.
Definition at line 1638 of file Mod/Mesh/Gui/ViewProvider.cpp.
const App::PropertyData & MeshGui::ViewProviderMeshObject::getPropertyData | ( | void | ) | const [protected, virtual] |
Reimplemented from MeshGui::ViewProviderMesh.
Definition at line 1575 of file Mod/Mesh/Gui/ViewProvider.cpp.
const App::PropertyData * MeshGui::ViewProviderMeshObject::getPropertyDataPtr | ( | void | ) | [static, protected] |
Reimplemented from MeshGui::ViewProviderMesh.
Definition at line 1575 of file Mod/Mesh/Gui/ViewProvider.cpp.
SoShape * ViewProviderMeshObject::getShapeNode | ( | ) | const [protected, virtual] |
Reimplemented from MeshGui::ViewProviderMesh.
Definition at line 1633 of file Mod/Mesh/Gui/ViewProvider.cpp.
Base::Type MeshGui::ViewProviderMeshObject::getTypeId | ( | void | ) | const [virtual] |
Reimplemented from MeshGui::ViewProviderMesh.
Definition at line 1575 of file Mod/Mesh/Gui/ViewProvider.cpp.
void MeshGui::ViewProviderMeshObject::init | ( | void | ) | [static] |
Reimplemented from MeshGui::ViewProviderMesh.
Definition at line 1575 of file Mod/Mesh/Gui/ViewProvider.cpp.
Referenced by initMeshGui().
void ViewProviderMeshObject::showOpenEdges | ( | bool | show | ) | [protected, virtual] |
Reimplemented from MeshGui::ViewProviderMesh.
Definition at line 1612 of file Mod/Mesh/Gui/ViewProvider.cpp.
References MeshGui::ViewProviderMesh::pcLineStyle, MeshGui::ViewProviderMesh::pcOpenEdge, Gui::ViewProvider::pcRoot, and MeshGui::ViewProviderMesh::pOpenColor.
void ViewProviderMeshObject::updateData | ( | const App::Property * | ) | [virtual] |
Gets called if some of the property hade bin changed.
Reimplemented from Gui::ViewProviderGeometryObject.
Definition at line 1601 of file Mod/Mesh/Gui/ViewProvider.cpp.
References getClassTypeId(), App::Property::getTypeId(), Mesh::PropertyMeshKernel::getValuePtr(), MeshGui::SoFCMeshObjectNode::mesh, Mesh2Shape::mesh, and MeshGui::SoSFMeshObject::setValue().