PartGui::DlgRevolution Class Reference

#include <DlgRevolution.h>

Classes

class  EdgeSelection
 

Public Member Functions

void accept ()
 
 DlgRevolution (QWidget *parent=0, Qt::WindowFlags fl=Qt::WindowFlags())
 
double getAngle () const
 
void getAxisLink (App::PropertyLinkSub &lnk) const
 
Base::Vector3d getDirection () const
 
Base::Vector3d getPosition () const
 
std::vector< App::DocumentObject * > getShapesToRevolve () const
 
void setAxisLink (const App::PropertyLinkSub &lnk)
 
void setAxisLink (const char *objname, const char *subname)
 
void setDirection (Base::Vector3d dir)
 
void setPosition (Base::Vector3d dir)
 
bool validate ()
 
 ~DlgRevolution ()
 
- Public Member Functions inherited from Gui::SelectionObserver
void attachSelection ()
 Attaches to the selection. More...
 
bool blockConnection (bool block)
 
void detachSelection ()
 Detaches from the selection. More...
 
bool isConnectionAttached () const
 
bool isConnectionBlocked () const
 
 SelectionObserver (bool attach=true, int resolve=1)
 Constructor. More...
 
 SelectionObserver (const Gui::ViewProviderDocumentObject *vp, bool attach=true, int resolve=1)
 Constructor. More...
 
virtual ~SelectionObserver ()
 

Protected Member Functions

void changeEvent (QEvent *e)
 
void keyPressEvent (QKeyEvent *)
 

Constructor & Destructor Documentation

◆ DlgRevolution()

◆ ~DlgRevolution()

DlgRevolution::~DlgRevolution ( )

Member Function Documentation

◆ accept()

◆ changeEvent()

void DlgRevolution::changeEvent ( QEvent e)
protected

◆ getAngle()

◆ getAxisLink()

◆ getDirection()

Base::Vector3d DlgRevolution::getDirection ( void  ) const

Referenced by accept(), and validate().

◆ getPosition()

Base::Vector3d DlgRevolution::getPosition ( void  ) const

References Base::Quantity::MilliMetre.

Referenced by accept().

◆ getShapesToRevolve()

std::vector< App::DocumentObject * > DlgRevolution::getShapesToRevolve ( ) const

◆ keyPressEvent()

void DlgRevolution::keyPressEvent ( QKeyEvent *  ke)
protected

◆ setAxisLink() [1/2]

◆ setAxisLink() [2/2]

void DlgRevolution::setAxisLink ( const char *  objname,
const char *  subname 
)

◆ setDirection()

◆ setPosition()

void DlgRevolution::setPosition ( Base::Vector3d  dir)

◆ validate()

bool DlgRevolution::validate ( )

The documentation for this class was generated from the following files:
  • Sources/FreeCAD/src/Mod/Part/Gui/DlgRevolution.h
  • Sources/FreeCAD/src/Mod/Part/Gui/DlgRevolution.cpp