FreeCAD C++
|
#include <Mod/Mesh/Gui/ViewProviderCurvature.h>
The ViewProviderMeshCurvature class is associated to the mesh curvature feature. It allows to display the most known types of curvatures, such as Gaussian curvature, mean curvature, minimum and maximum curvature. Moreover a color bar is also added to the scene.
Public Member Functions | |
void | attach (App::DocumentObject *pcFeature) |
Extracts the mesh data from the feature pcFeature and creates an Inventor node SoNode with these data. | |
void | setDisplayMode (const char *ModeName) |
Sets the viewing mode. | |
virtual const char * | getDefaultDisplayMode () const |
get the default display mode | |
std::vector< std::string > | getDisplayModes (void) const |
Returns a list of all possible modes. | |
void | updateData (const App::Property *) |
Updates the mesh feature representation. | |
QIcon | getIcon () const |
Returns a pixmap for the associated feature type. | |
void | OnChange (Base::Subject< int > &rCaller, int rcReason) |
Once the color bar settinhs has been changed this method gets called to update the feature's representation. | |
SoSeparator * | getFrontRoot (void) const |
Returns a color bar. | |
virtual void | hide (void) |
Hide the object in the view. | |
virtual void | show (void) |
Show the object in the view. | |
![]() | |
DocumentObserver () | |
Constructor. | |
void | attachDocument (Document *) |
void | detachDocument () |
![]() | |
Observer () | |
virtual | ~Observer () |
virtual void | OnDestroy (Subject< int > &rCaller) |
virtual const char * | Name (void) |