The ViewProviderMeshDuplicatedFaces class displays duplicated faces in red. More...
#include <ViewProviderDefects.h>
Public Member Functions | |
void | attach (App::DocumentObject *pcFeature) |
virtual Base::Type | getTypeId (void) const |
void | showDefects (const std::vector< unsigned long > &) |
Fill up the Inventor node with data. | |
ViewProviderMeshDuplicatedFaces () | |
virtual | ~ViewProviderMeshDuplicatedFaces () |
Static Public Member Functions | |
static void * | create (void) |
static Base::Type | getClassTypeId (void) |
static void | init (void) |
Protected Member Functions | |
virtual const App::PropertyData & | getPropertyData (void) const |
Static Protected Member Functions | |
static const App::PropertyData * | getPropertyDataPtr (void) |
Protected Attributes | |
SoFaceSet * | pcFaces |
The ViewProviderMeshDuplicatedFaces class displays duplicated faces in red.
Definition at line 102 of file ViewProviderDefects.h.
ViewProviderMeshDuplicatedFaces::ViewProviderMeshDuplicatedFaces | ( | ) |
Definition at line 237 of file ViewProviderDefects.cpp.
References pcFaces.
ViewProviderMeshDuplicatedFaces::~ViewProviderMeshDuplicatedFaces | ( | ) | [virtual] |
Definition at line 243 of file ViewProviderDefects.cpp.
References pcFaces.
void ViewProviderMeshDuplicatedFaces::attach | ( | App::DocumentObject * | pcFeature | ) | [virtual] |
Implements MeshGui::ViewProviderMeshDefects.
Definition at line 248 of file ViewProviderDefects.cpp.
References Gui::ViewProvider::addDisplayMaskMode(), SketcherExample::f, MeshGui::ViewProviderMeshDefects::pcCoords, and pcFaces.
void * MeshGui::ViewProviderMeshDuplicatedFaces::create | ( | void | ) | [static] |
Reimplemented from MeshGui::ViewProviderMeshDefects.
Definition at line 62 of file ViewProviderDefects.cpp.
Base::Type MeshGui::ViewProviderMeshDuplicatedFaces::getClassTypeId | ( | void | ) | [static] |
Reimplemented from MeshGui::ViewProviderMeshDefects.
Definition at line 62 of file ViewProviderDefects.cpp.
const App::PropertyData & MeshGui::ViewProviderMeshDuplicatedFaces::getPropertyData | ( | void | ) | const [protected, virtual] |
Reimplemented from MeshGui::ViewProviderMeshDefects.
Definition at line 62 of file ViewProviderDefects.cpp.
const App::PropertyData * MeshGui::ViewProviderMeshDuplicatedFaces::getPropertyDataPtr | ( | void | ) | [static, protected] |
Reimplemented from MeshGui::ViewProviderMeshDefects.
Definition at line 62 of file ViewProviderDefects.cpp.
Base::Type MeshGui::ViewProviderMeshDuplicatedFaces::getTypeId | ( | void | ) | const [virtual] |
Reimplemented from MeshGui::ViewProviderMeshDefects.
Definition at line 62 of file ViewProviderDefects.cpp.
void MeshGui::ViewProviderMeshDuplicatedFaces::init | ( | void | ) | [static] |
Reimplemented from MeshGui::ViewProviderMeshDefects.
Definition at line 62 of file ViewProviderDefects.cpp.
Referenced by initMeshGui().
void ViewProviderMeshDuplicatedFaces::showDefects | ( | const std::vector< unsigned long > & | ) | [virtual] |
Fill up the Inventor node with data.
Implements MeshGui::ViewProviderMeshDefects.
Definition at line 283 of file ViewProviderDefects.cpp.
References SketcherExample::f, Mesh::MeshObject::getKernel(), Mesh::PropertyMeshKernel::getValue(), k, Mesh::Feature::Mesh, MeshGui::ViewProviderMeshDefects::pcCoords, pcFaces, Gui::ViewProviderDocumentObject::pcObject, MeshCore::MeshFacetIterator::Set(), Gui::ViewProvider::setDisplayMaskMode(), Base::Vector3< _Precision >::x, Base::Vector3< _Precision >::y, and Base::Vector3< _Precision >::z.
SoFaceSet* MeshGui::ViewProviderMeshDuplicatedFaces::pcFaces [protected] |
Definition at line 114 of file ViewProviderDefects.h.
Referenced by attach(), showDefects(), ViewProviderMeshDuplicatedFaces(), and ~ViewProviderMeshDuplicatedFaces().