Like Mesh viewprovider but with manipulator. More...
#include <ViewProviderTransform.h>
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 | |
virtual void | updateData (const App::Property *) |
Update the Mesh representation. | |
ViewProviderMeshTransform () | |
virtual | ~ViewProviderMeshTransform () |
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 | |
SoTransformerManip * | pcTransformerDragger |
Like Mesh viewprovider but with manipulator.
Definition at line 48 of file ViewProviderTransform.h.
ViewProviderMeshTransform::ViewProviderMeshTransform | ( | ) |
Definition at line 58 of file ViewProviderTransform.cpp.
ViewProviderMeshTransform::~ViewProviderMeshTransform | ( | ) | [virtual] |
Definition at line 64 of file ViewProviderTransform.cpp.
References pcTransformerDragger.
void ViewProviderMeshTransform::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 69 of file ViewProviderTransform.cpp.
References Gui::ViewProvider::addDisplayMaskMode(), Gui::ViewProviderGeometryObject::pcHighlight, Gui::ViewProviderGeometryObject::pcShapeMaterial, pcTransformerDragger, and MeshCore::MeshIO::PER_FACE.
void * MeshGui::ViewProviderMeshTransform::create | ( | void | ) | [static] |
Reimplemented from MeshGui::ViewProviderMesh.
Definition at line 55 of file ViewProviderTransform.cpp.
Base::Type MeshGui::ViewProviderMeshTransform::getClassTypeId | ( | void | ) | [static] |
Reimplemented from MeshGui::ViewProviderMesh.
Definition at line 55 of file ViewProviderTransform.cpp.
const char * ViewProviderMeshTransform::getDefaultDisplayMode | ( | ) | const [virtual] |
get the default display mode
Reimplemented from Gui::ViewProviderDocumentObject.
Definition at line 104 of file ViewProviderTransform.cpp.
std::vector< std::string > ViewProviderMeshTransform::getDisplayModes | ( | void | ) | const [virtual] |
returns a list of all possible modes
Reimplemented from MeshGui::ViewProviderMesh.
Definition at line 109 of file ViewProviderTransform.cpp.
const App::PropertyData & MeshGui::ViewProviderMeshTransform::getPropertyData | ( | void | ) | const [protected, virtual] |
Reimplemented from MeshGui::ViewProviderMesh.
Definition at line 55 of file ViewProviderTransform.cpp.
const App::PropertyData * MeshGui::ViewProviderMeshTransform::getPropertyDataPtr | ( | void | ) | [static, protected] |
Reimplemented from MeshGui::ViewProviderMesh.
Definition at line 55 of file ViewProviderTransform.cpp.
Base::Type MeshGui::ViewProviderMeshTransform::getTypeId | ( | void | ) | const [virtual] |
Reimplemented from MeshGui::ViewProviderMesh.
Definition at line 55 of file ViewProviderTransform.cpp.
void MeshGui::ViewProviderMeshTransform::init | ( | void | ) | [static] |
Reimplemented from MeshGui::ViewProviderMesh.
Definition at line 55 of file ViewProviderTransform.cpp.
Referenced by initMeshGui().
void ViewProviderMeshTransform::setDisplayMode | ( | const char * | ModeName | ) | [virtual] |
set the viewing mode
Reimplemented from MeshGui::ViewProviderMesh.
Definition at line 97 of file ViewProviderTransform.cpp.
References Gui::ViewProvider::setDisplayMaskMode().
void ViewProviderMeshTransform::updateData | ( | const App::Property * | prop | ) | [virtual] |
Update the Mesh representation.
Reimplemented from Gui::ViewProviderGeometryObject.
Definition at line 92 of file ViewProviderTransform.cpp.
SoTransformerManip* MeshGui::ViewProviderMeshTransform::pcTransformerDragger [protected] |
Definition at line 74 of file ViewProviderTransform.h.
Referenced by attach(), and ~ViewProviderMeshTransform().