MeshGui::ViewProviderMeshDefects Class Reference

The ViewProviderMeshDefects class is used to display the most known types of defects of a polymesh. More...

#include <ViewProviderDefects.h>

Inheritance diagram for MeshGui::ViewProviderMeshDefects:
Gui::ViewProviderDocumentObject Gui::ViewProvider App::PropertyContainer Base::Persistence Base::BaseClass MeshGui::ViewProviderMeshDegenerations MeshGui::ViewProviderMeshDuplicatedFaces MeshGui::ViewProviderMeshDuplicatedPoints MeshGui::ViewProviderMeshFolds MeshGui::ViewProviderMeshIndices MeshGui::ViewProviderMeshNonManifolds MeshGui::ViewProviderMeshOrientation MeshGui::ViewProviderMeshSelfIntersections

List of all members.

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::PropertyDatagetPropertyData (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::PropertyDatagetPropertyDataPtr (void)

Protected Attributes

SoCoordinate3 * pcCoords
SoDrawStyle * pcDrawStyle

Detailed Description

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.

Author:
Werner Mayer

Definition at line 39 of file ViewProviderDefects.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

virtual void MeshGui::ViewProviderMeshDefects::attach ( App::DocumentObject pcFeature  )  [pure virtual]
void * MeshGui::ViewProviderMeshDefects::create ( void   )  [static]
Base::Type MeshGui::ViewProviderMeshDefects::getClassTypeId ( void   )  [static]
const App::PropertyData & MeshGui::ViewProviderMeshDefects::getPropertyData ( void   )  const [protected, virtual]
const App::PropertyData * MeshGui::ViewProviderMeshDefects::getPropertyDataPtr ( void   )  [static, protected]
Base::Type MeshGui::ViewProviderMeshDefects::getTypeId ( void   )  const [virtual]
void MeshGui::ViewProviderMeshDefects::init ( void   )  [static]
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]

Member Data Documentation

Definition at line 48 of file ViewProviderDefects.h.

Referenced by onChanged().

SoCoordinate3* MeshGui::ViewProviderMeshDefects::pcCoords [protected]

The documentation for this class was generated from the following files:

Generated on Wed Nov 23 19:02:28 2011 for FreeCAD by  doxygen 1.6.1