PartDesignGui::ViewProviderRevolution Class Reference

#include <ViewProviderRevolution.h>

Inheritance diagram for PartDesignGui::ViewProviderRevolution:
PartDesignGui::ViewProvider PartGui::ViewProviderPart PartGui::ViewProviderPartExt Gui::ViewProviderGeometryObject Gui::ViewProviderDocumentObject Gui::ViewProvider App::PropertyContainer Base::Persistence Base::BaseClass

List of all members.

Public Member Functions

std::vector
< App::DocumentObject * > 
claimChildren (void) const
 grouping handling
virtual Base::Type getTypeId (void) const
virtual bool onDelete (const std::vector< std::string > &)
 get called if the object is about to get deleted. Here you can delete other objects to or switch visibility of others.
void setupContextMenu (QMenu *, QObject *, const char *)
 set up the context-menu with the supported edit modes
 ViewProviderRevolution ()
 constructor
virtual ~ViewProviderRevolution ()
 destructor

Static Public Member Functions

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

Protected Member Functions

virtual const App::PropertyDatagetPropertyData (void) const
virtual bool setEdit (int ModNum)
 is called by the document when the provider goes in edit mode
virtual void unsetEdit (int ModNum)
 is called when you loose the edit mode

Static Protected Member Functions

static const App::PropertyDatagetPropertyDataPtr (void)

Detailed Description

Definition at line 32 of file ViewProviderRevolution.h.


Constructor & Destructor Documentation

ViewProviderRevolution::ViewProviderRevolution (  ) 

constructor

Definition at line 42 of file ViewProviderRevolution.cpp.

ViewProviderRevolution::~ViewProviderRevolution (  )  [virtual]

destructor

Definition at line 46 of file ViewProviderRevolution.cpp.


Member Function Documentation

std::vector< App::DocumentObject * > ViewProviderRevolution::claimChildren ( void   )  const [virtual]

grouping handling

Reimplemented from Gui::ViewProvider.

Definition at line 50 of file ViewProviderRevolution.cpp.

References Gui::ViewProviderDocumentObject::getObject().

void * PartDesignGui::ViewProviderRevolution::create ( void   )  [static]

Reimplemented from PartDesignGui::ViewProvider.

Definition at line 40 of file ViewProviderRevolution.cpp.

Base::Type PartDesignGui::ViewProviderRevolution::getClassTypeId ( void   )  [static]

Reimplemented from PartDesignGui::ViewProvider.

Definition at line 40 of file ViewProviderRevolution.cpp.

const App::PropertyData & PartDesignGui::ViewProviderRevolution::getPropertyData ( void   )  const [protected, virtual]

Reimplemented from PartDesignGui::ViewProvider.

Definition at line 40 of file ViewProviderRevolution.cpp.

const App::PropertyData * PartDesignGui::ViewProviderRevolution::getPropertyDataPtr ( void   )  [static, protected]

Reimplemented from PartDesignGui::ViewProvider.

Definition at line 40 of file ViewProviderRevolution.cpp.

Base::Type PartDesignGui::ViewProviderRevolution::getTypeId ( void   )  const [virtual]

Reimplemented from PartDesignGui::ViewProvider.

Definition at line 40 of file ViewProviderRevolution.cpp.

void PartDesignGui::ViewProviderRevolution::init ( void   )  [static]

Reimplemented from PartDesignGui::ViewProvider.

Definition at line 40 of file ViewProviderRevolution.cpp.

Referenced by initPartDesignGui().

bool ViewProviderRevolution::onDelete ( const std::vector< std::string > &   )  [virtual]

get called if the object is about to get deleted. Here you can delete other objects to or switch visibility of others.

Reimplemented from Gui::ViewProvider.

Definition at line 121 of file ViewProviderRevolution.cpp.

References Gui::ViewProviderDocumentObject::getObject(), App::PropertyLinkSub::getValue(), App::PropertyLink::getValue(), Gui::Application::Instance, PartDesign::SketchBased::Sketch, and Part::Part2DObject::Support.

bool ViewProviderRevolution::setEdit ( int  ModNum  )  [protected, virtual]

is called by the document when the provider goes in edit mode

Reimplemented from PartGui::ViewProviderPartExt.

Definition at line 66 of file ViewProviderRevolution.cpp.

References Gui::Control(), Gui::ViewProvider::Default, PartDesignGui::TaskDlgRevolutionParameters::getRevolutionView(), and Gui::Selection().

void ViewProviderRevolution::setupContextMenu ( QMenu *  ,
QObject *  ,
const char *   
) [virtual]

set up the context-menu with the supported edit modes

Reimplemented from PartGui::ViewProviderPartExt.

Definition at line 58 of file ViewProviderRevolution.cpp.

References Gui::ViewProvider::Default.

void ViewProviderRevolution::unsetEdit ( int  ModNum  )  [protected, virtual]

is called when you loose the edit mode

Reimplemented from PartGui::ViewProviderPartExt.

Definition at line 107 of file ViewProviderRevolution.cpp.

References Gui::Control(), and Gui::ViewProvider::Default.


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

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