MeshGui::ViewProviderMeshFaceSet Class Reference

The ViewProviderMeshFaceSet class creates nodes for representing the mesh data structure. More...

#include <ViewProviderMeshFaceSet.h>

Inheritance diagram for MeshGui::ViewProviderMeshFaceSet:
MeshGui::ViewProviderMesh Gui::ViewProviderGeometryObject Gui::ViewProviderDocumentObject Gui::ViewProvider App::PropertyContainer Base::Persistence Base::BaseClass

List of all members.

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.
 ViewProviderMeshFaceSet ()
virtual ~ViewProviderMeshFaceSet ()

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::PropertyDatagetPropertyData (void) const
SoShape * getShapeNode () const
void showOpenEdges (bool)

Static Protected Member Functions

static const App::PropertyDatagetPropertyDataPtr (void)

Detailed Description

The ViewProviderMeshFaceSet class creates nodes for representing the mesh data structure.

Depending on the size of the mesh it uses two ways to render it:

For more details

See also:
SoFCMeshNode and SoFCMeshFaceSet.
Author:
Werner Mayer

Definition at line 48 of file ViewProviderMeshFaceSet.h.


Constructor & Destructor Documentation

ViewProviderMeshFaceSet::ViewProviderMeshFaceSet (  ) 

Definition at line 90 of file ViewProviderMeshFaceSet.cpp.

ViewProviderMeshFaceSet::~ViewProviderMeshFaceSet (  )  [virtual]

Definition at line 105 of file ViewProviderMeshFaceSet.cpp.


Member Function Documentation

void ViewProviderMeshFaceSet::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 113 of file ViewProviderMeshFaceSet.cpp.

References SketcherExample::f, Gui::WindowParameter::getDefaultParameter(), Py::int, Gui::ViewProviderGeometryObject::pcHighlight, KDL::pow(), and MeshGui::SoFCMeshObjectShape::renderTriangleLimit.

void * MeshGui::ViewProviderMeshFaceSet::create ( void   )  [static]

Reimplemented from MeshGui::ViewProviderMesh.

Definition at line 88 of file ViewProviderMeshFaceSet.cpp.

Base::Type MeshGui::ViewProviderMeshFaceSet::getClassTypeId ( void   )  [static]

Reimplemented from MeshGui::ViewProviderMesh.

Definition at line 88 of file ViewProviderMeshFaceSet.cpp.

Referenced by initMeshGui(), and updateData().

SoNode * ViewProviderMeshFaceSet::getCoordNode (  )  const [protected, virtual]

Reimplemented from MeshGui::ViewProviderMesh.

Definition at line 216 of file ViewProviderMeshFaceSet.cpp.

const App::PropertyData & MeshGui::ViewProviderMeshFaceSet::getPropertyData ( void   )  const [protected, virtual]

Reimplemented from MeshGui::ViewProviderMesh.

Definition at line 88 of file ViewProviderMeshFaceSet.cpp.

const App::PropertyData * MeshGui::ViewProviderMeshFaceSet::getPropertyDataPtr ( void   )  [static, protected]

Reimplemented from MeshGui::ViewProviderMesh.

Definition at line 88 of file ViewProviderMeshFaceSet.cpp.

SoShape * ViewProviderMeshFaceSet::getShapeNode (  )  const [protected, virtual]

Reimplemented from MeshGui::ViewProviderMesh.

Definition at line 209 of file ViewProviderMeshFaceSet.cpp.

Base::Type MeshGui::ViewProviderMeshFaceSet::getTypeId ( void   )  const [virtual]

Reimplemented from MeshGui::ViewProviderMesh.

Definition at line 88 of file ViewProviderMeshFaceSet.cpp.

void MeshGui::ViewProviderMeshFaceSet::init ( void   )  [static]

Reimplemented from MeshGui::ViewProviderMesh.

Definition at line 88 of file ViewProviderMeshFaceSet.cpp.

Referenced by initMeshGui().

void ViewProviderMeshFaceSet::showOpenEdges ( bool  show  )  [protected, virtual]
void ViewProviderMeshFaceSet::updateData ( const App::Property  )  [virtual]

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