The ViewProviderMeshDefects class is used to display the most known types of defects of a polymesh. More...
#include <ViewProviderDefects.h>
Public Member Functions | |
virtual void | attach (App::DocumentObject *pcFeature)=0 |
virtual Base::Type | getTypeId (void) const |
virtual void | showDefects (const std::vector< unsigned long > &)=0 |
Fill up the Inventor node with data. | |
ViewProviderMeshDefects () | |
virtual | ~ViewProviderMeshDefects () |
Static Public Member Functions | |
static void * | create (void) |
static Base::Type | getClassTypeId (void) |
static void | init (void) |
Public Attributes | |
App::PropertyFloat | LineWidth |
Protected Member Functions | |
virtual const App::PropertyData & | getPropertyData (void) const |
void | onChanged (const App::Property *prop) |
get called by the container whenever a property has been changed | |
Static Protected Member Functions | |
static const App::PropertyData * | getPropertyDataPtr (void) |
Protected Attributes | |
SoCoordinate3 * | pcCoords |
SoDrawStyle * | pcDrawStyle |
The ViewProviderMeshDefects class is used to display the most known types of defects of a polymesh.
In subclasses defects like non-manifolds, wrong oriented facets, degenerated facets, duplicates, .... are displayed.
Definition at line 39 of file ViewProviderDefects.h.
ViewProviderMeshDefects::ViewProviderMeshDefects | ( | ) |
Definition at line 69 of file ViewProviderDefects.cpp.
References ADD_PROPERTY, and SketcherExample::f.
ViewProviderMeshDefects::~ViewProviderMeshDefects | ( | ) | [virtual] |
Definition at line 81 of file ViewProviderDefects.cpp.
References pcCoords, and pcDrawStyle.
virtual void MeshGui::ViewProviderMeshDefects::attach | ( | App::DocumentObject * | pcFeature | ) | [pure virtual] |
Reimplemented from Gui::ViewProviderDocumentObject.
Implemented in MeshGui::ViewProviderMeshOrientation, MeshGui::ViewProviderMeshNonManifolds, MeshGui::ViewProviderMeshDuplicatedFaces, MeshGui::ViewProviderMeshDegenerations, MeshGui::ViewProviderMeshDuplicatedPoints, MeshGui::ViewProviderMeshIndices, MeshGui::ViewProviderMeshSelfIntersections, and MeshGui::ViewProviderMeshFolds.
Referenced by MeshGui::DlgEvaluateMeshImp::addViewProvider().
void * MeshGui::ViewProviderMeshDefects::create | ( | void | ) | [static] |
Reimplemented from Gui::ViewProviderDocumentObject.
Reimplemented in MeshGui::ViewProviderMeshOrientation, MeshGui::ViewProviderMeshNonManifolds, MeshGui::ViewProviderMeshDuplicatedFaces, MeshGui::ViewProviderMeshDegenerations, MeshGui::ViewProviderMeshDuplicatedPoints, MeshGui::ViewProviderMeshIndices, MeshGui::ViewProviderMeshSelfIntersections, and MeshGui::ViewProviderMeshFolds.
Definition at line 59 of file ViewProviderDefects.cpp.
Base::Type MeshGui::ViewProviderMeshDefects::getClassTypeId | ( | void | ) | [static] |
Reimplemented from Gui::ViewProviderDocumentObject.
Reimplemented in MeshGui::ViewProviderMeshOrientation, MeshGui::ViewProviderMeshNonManifolds, MeshGui::ViewProviderMeshDuplicatedFaces, MeshGui::ViewProviderMeshDegenerations, MeshGui::ViewProviderMeshDuplicatedPoints, MeshGui::ViewProviderMeshIndices, MeshGui::ViewProviderMeshSelfIntersections, and MeshGui::ViewProviderMeshFolds.
Definition at line 59 of file ViewProviderDefects.cpp.
const App::PropertyData & MeshGui::ViewProviderMeshDefects::getPropertyData | ( | void | ) | const [protected, virtual] |
Reimplemented from Gui::ViewProviderDocumentObject.
Reimplemented in MeshGui::ViewProviderMeshOrientation, MeshGui::ViewProviderMeshNonManifolds, MeshGui::ViewProviderMeshDuplicatedFaces, MeshGui::ViewProviderMeshDegenerations, MeshGui::ViewProviderMeshDuplicatedPoints, MeshGui::ViewProviderMeshIndices, MeshGui::ViewProviderMeshSelfIntersections, and MeshGui::ViewProviderMeshFolds.
Definition at line 59 of file ViewProviderDefects.cpp.
const App::PropertyData * MeshGui::ViewProviderMeshDefects::getPropertyDataPtr | ( | void | ) | [static, protected] |
Reimplemented from Gui::ViewProviderDocumentObject.
Reimplemented in MeshGui::ViewProviderMeshOrientation, MeshGui::ViewProviderMeshNonManifolds, MeshGui::ViewProviderMeshDuplicatedFaces, MeshGui::ViewProviderMeshDegenerations, MeshGui::ViewProviderMeshDuplicatedPoints, MeshGui::ViewProviderMeshIndices, MeshGui::ViewProviderMeshSelfIntersections, and MeshGui::ViewProviderMeshFolds.
Definition at line 59 of file ViewProviderDefects.cpp.
Base::Type MeshGui::ViewProviderMeshDefects::getTypeId | ( | void | ) | const [virtual] |
Reimplemented from Gui::ViewProviderDocumentObject.
Reimplemented in MeshGui::ViewProviderMeshOrientation, MeshGui::ViewProviderMeshNonManifolds, MeshGui::ViewProviderMeshDuplicatedFaces, MeshGui::ViewProviderMeshDegenerations, MeshGui::ViewProviderMeshDuplicatedPoints, MeshGui::ViewProviderMeshIndices, MeshGui::ViewProviderMeshSelfIntersections, and MeshGui::ViewProviderMeshFolds.
Definition at line 59 of file ViewProviderDefects.cpp.
Referenced by MeshGui::DlgEvaluateMeshImp::addViewProvider().
void MeshGui::ViewProviderMeshDefects::init | ( | void | ) | [static] |
Reimplemented from Gui::ViewProviderDocumentObject.
Reimplemented in MeshGui::ViewProviderMeshOrientation, MeshGui::ViewProviderMeshNonManifolds, MeshGui::ViewProviderMeshDuplicatedFaces, MeshGui::ViewProviderMeshDegenerations, MeshGui::ViewProviderMeshDuplicatedPoints, MeshGui::ViewProviderMeshIndices, MeshGui::ViewProviderMeshSelfIntersections, and MeshGui::ViewProviderMeshFolds.
Definition at line 59 of file ViewProviderDefects.cpp.
Referenced by initMeshGui().
void ViewProviderMeshDefects::onChanged | ( | const App::Property * | prop | ) | [protected, virtual] |
get called by the container whenever a property has been changed
Reimplemented from Gui::ViewProviderDocumentObject.
Definition at line 87 of file ViewProviderDefects.cpp.
References App::PropertyFloat::getValue(), LineWidth, and pcDrawStyle.
virtual void MeshGui::ViewProviderMeshDefects::showDefects | ( | const std::vector< unsigned long > & | ) | [pure virtual] |
Fill up the Inventor node with data.
Implemented in MeshGui::ViewProviderMeshOrientation, MeshGui::ViewProviderMeshNonManifolds, MeshGui::ViewProviderMeshDuplicatedFaces, MeshGui::ViewProviderMeshDegenerations, MeshGui::ViewProviderMeshDuplicatedPoints, MeshGui::ViewProviderMeshIndices, MeshGui::ViewProviderMeshSelfIntersections, and MeshGui::ViewProviderMeshFolds.
Referenced by MeshGui::DlgEvaluateMeshImp::addViewProvider().
Definition at line 48 of file ViewProviderDefects.h.
Referenced by onChanged().
SoCoordinate3* MeshGui::ViewProviderMeshDefects::pcCoords [protected] |
Definition at line 59 of file ViewProviderDefects.h.
Referenced by MeshGui::ViewProviderMeshFolds::attach(), MeshGui::ViewProviderMeshSelfIntersections::attach(), MeshGui::ViewProviderMeshIndices::attach(), MeshGui::ViewProviderMeshDegenerations::attach(), MeshGui::ViewProviderMeshDuplicatedPoints::attach(), MeshGui::ViewProviderMeshDuplicatedFaces::attach(), MeshGui::ViewProviderMeshNonManifolds::attach(), MeshGui::ViewProviderMeshOrientation::attach(), MeshGui::ViewProviderMeshFolds::showDefects(), MeshGui::ViewProviderMeshSelfIntersections::showDefects(), MeshGui::ViewProviderMeshIndices::showDefects(), MeshGui::ViewProviderMeshDegenerations::showDefects(), MeshGui::ViewProviderMeshDuplicatedPoints::showDefects(), MeshGui::ViewProviderMeshDuplicatedFaces::showDefects(), MeshGui::ViewProviderMeshNonManifolds::showDefects(), MeshGui::ViewProviderMeshOrientation::showDefects(), and ~ViewProviderMeshDefects().
SoDrawStyle* MeshGui::ViewProviderMeshDefects::pcDrawStyle [protected] |
Definition at line 60 of file ViewProviderDefects.h.
Referenced by MeshGui::ViewProviderMeshSelfIntersections::attach(), MeshGui::ViewProviderMeshDegenerations::attach(), MeshGui::ViewProviderMeshDuplicatedPoints::attach(), MeshGui::ViewProviderMeshNonManifolds::attach(), onChanged(), and ~ViewProviderMeshDefects().