MeshGui::ViewProviderMeshTransformDemolding Class Reference

Like Mesh viewprovider but with manipulator. More...

#include <ViewProviderTransformDemolding.h>

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

List of all members.

Public Member Functions

virtual void attach (App::DocumentObject *)
 Extracts the mesh data from the feature pcFeature and creates an Inventor node SoNode with these data.
virtual const char * getDefaultDisplayMode () const
 get the default display mode
virtual std::vector< std::string > getDisplayModes (void) const
 returns a list of all possible modes
virtual Base::Type getTypeId (void) const
virtual void setDisplayMode (const char *ModeName)
 set the viewing mode
 ViewProviderMeshTransformDemolding ()
virtual ~ViewProviderMeshTransformDemolding ()

Static Public Member Functions

static void * create (void)
static Base::Type getClassTypeId (void)
static void init (void)

Protected Member Functions

void calcMaterialIndex (const SbRotation &rot)
void calcNormalVector (void)
void DragEndCallback (void)
virtual const App::PropertyDatagetPropertyData (void) const
void valueChangedCallback (void)

Static Protected Member Functions

static const App::PropertyDatagetPropertyDataPtr (void)
static void sDragEndCallback (void *, SoDragger *)
static void sValueChangedCallback (void *, SoDragger *)

Protected Attributes

Base::Vector3f center
std::vector< SbVec3f > normalVector
SoMaterial * pcColorMat
SoTrackballDragger * pcTrackballDragger
SoTransform * pcTransformDrag

Detailed Description

Like Mesh viewprovider but with manipulator.

Definition at line 53 of file ViewProviderTransformDemolding.h.


Constructor & Destructor Documentation

ViewProviderMeshTransformDemolding::ViewProviderMeshTransformDemolding (  ) 

Definition at line 64 of file ViewProviderTransformDemolding.cpp.

ViewProviderMeshTransformDemolding::~ViewProviderMeshTransformDemolding (  )  [virtual]

Definition at line 70 of file ViewProviderTransformDemolding.cpp.

References pcTrackballDragger.


Member Function Documentation

void ViewProviderMeshTransformDemolding::attach ( App::DocumentObject pcFeat  )  [virtual]
void ViewProviderMeshTransformDemolding::calcMaterialIndex ( const SbRotation &  rot  )  [protected]

Definition at line 146 of file ViewProviderTransformDemolding.cpp.

References KDL::acos(), Base::Angle, normalVector, and result.

Referenced by attach(), and DragEndCallback().

void ViewProviderMeshTransformDemolding::calcNormalVector ( void   )  [protected]
void * MeshGui::ViewProviderMeshTransformDemolding::create ( void   )  [static]

Reimplemented from MeshGui::ViewProviderMesh.

Definition at line 61 of file ViewProviderTransformDemolding.cpp.

void ViewProviderMeshTransformDemolding::DragEndCallback ( void   )  [protected]
Base::Type MeshGui::ViewProviderMeshTransformDemolding::getClassTypeId ( void   )  [static]

Reimplemented from MeshGui::ViewProviderMesh.

Definition at line 61 of file ViewProviderTransformDemolding.cpp.

const char * ViewProviderMeshTransformDemolding::getDefaultDisplayMode (  )  const [virtual]

get the default display mode

Reimplemented from Gui::ViewProviderDocumentObject.

Definition at line 213 of file ViewProviderTransformDemolding.cpp.

std::vector< std::string > ViewProviderMeshTransformDemolding::getDisplayModes ( void   )  const [virtual]

returns a list of all possible modes

Reimplemented from MeshGui::ViewProviderMesh.

Definition at line 218 of file ViewProviderTransformDemolding.cpp.

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

Reimplemented from MeshGui::ViewProviderMesh.

Definition at line 61 of file ViewProviderTransformDemolding.cpp.

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

Reimplemented from MeshGui::ViewProviderMesh.

Definition at line 61 of file ViewProviderTransformDemolding.cpp.

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

Reimplemented from MeshGui::ViewProviderMesh.

Definition at line 61 of file ViewProviderTransformDemolding.cpp.

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

Reimplemented from MeshGui::ViewProviderMesh.

Definition at line 61 of file ViewProviderTransformDemolding.cpp.

Referenced by initMeshGui().

void ViewProviderMeshTransformDemolding::sDragEndCallback ( void *  This,
SoDragger *   
) [static, protected]

Definition at line 174 of file ViewProviderTransformDemolding.cpp.

References DragEndCallback().

Referenced by attach().

void ViewProviderMeshTransformDemolding::setDisplayMode ( const char *  ModeName  )  [virtual]

set the viewing mode

Reimplemented from MeshGui::ViewProviderMesh.

Definition at line 206 of file ViewProviderTransformDemolding.cpp.

References Gui::ViewProvider::setDisplayMaskMode().

void ViewProviderMeshTransformDemolding::sValueChangedCallback ( void *  This,
SoDragger *   
) [static, protected]

Definition at line 169 of file ViewProviderTransformDemolding.cpp.

References valueChangedCallback().

Referenced by attach().

void ViewProviderMeshTransformDemolding::valueChangedCallback ( void   )  [protected]

Member Data Documentation

Definition at line 89 of file ViewProviderTransformDemolding.h.

Referenced by attach(), and valueChangedCallback().

Definition at line 88 of file ViewProviderTransformDemolding.h.

Referenced by calcMaterialIndex(), and calcNormalVector().

Definition at line 87 of file ViewProviderTransformDemolding.h.

Referenced by attach().

Definition at line 86 of file ViewProviderTransformDemolding.h.

Referenced by attach(), and valueChangedCallback().


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