PartGui::DlgRevolution Class Reference

#include <DlgRevolution.h>

Classes

class  EdgeSelection
 

Public Member Functions

void accept ()
 
 DlgRevolution (QWidget *parent=nullptr, 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 blockSelection (bool block)
 
void detachSelection ()
 Detaches from the selection. More...
 
bool isSelectionAttached () const
 
bool isSelectionBlocked () const
 
 SelectionObserver (bool attach=true, ResolveMode resolve=ResolveMode::OldStyleElement)
 Constructor. More...
 
 SelectionObserver (const Gui::ViewProviderDocumentObject *vp, bool attach=true, ResolveMode resolve=ResolveMode::OldStyleElement)
 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 ( ) const

Referenced by accept(), and validate().

◆ getPosition()

Base::Vector3d DlgRevolution::getPosition ( ) 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()


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