#include <qocccmdcircle2pt.h>
Inheritance diagram for QoccCmdCircle2Pt:


| Public Types | |
| Centre | |
| Radius | |
| Done | |
| enum | CircleParameter { Centre, Radius, Done } | 
| Public Member Functions | |
| QoccCmdCircle2Pt (QAction *startingAction=NULL, QWidget *parent=NULL) | |
| ~QoccCmdCircle2Pt () | |
| virtual void | clickEvent (Qocc3dWidget *widget, QMouseEvent *e) | 
| virtual void | moveEvent (Qocc3dWidget *widget, QMouseEvent *e) | 
| Protected Member Functions | |
| Handle (GEOM_Object) myCentre | |
| Handle (GEOM_Object) myVector | |
| Handle (GEOM_Object) myCircle | |
| Protected Attributes | |
| QoccDocument * | myDocument | 
| Standard_Real | myRadius | 
| CircleParameter | myParameter | 
| gp_Pnt | myStartPoint | 
| gp_Pnt | myCurrentPoint | 
Definition at line 47 of file qocccmdcircle2pt.h.
| QoccCmdCircle2Pt::QoccCmdCircle2Pt | ( | QAction * | startingAction = NULL, | |
| QWidget * | parent = NULL | |||
| ) | 
Definition at line 54 of file qocccmdcircle2pt.cpp.
References Centre, QoccCommand::myAction, myDocument, and myParameter.
| QoccCmdCircle2Pt::~QoccCmdCircle2Pt | ( | ) | 
Definition at line 65 of file qocccmdcircle2pt.cpp.
References QoccCommand::myAction, myDocument, and QoccDocument::RemovePresentation().
Here is the call graph for this function:

| void QoccCmdCircle2Pt::clickEvent | ( | Qocc3dWidget * | widget, | |
| QMouseEvent * | e | |||
| ) |  [virtual] | 
Reimplemented from QoccCommand.
Definition at line 87 of file qocccmdcircle2pt.cpp.
References Centre, QoccController::clearLocalContext(), Qocc3dWidget::getController(), Qocc3dWidget::getDirection(), QoccController::getDocument(), Handle(), QoccController::hasLocalContext(), QoccDocument::id(), QoccController::localContext(), myCurrentPoint, myDocument, QoccCommand::myIsDrawing, myParameter, myRadius, myStartPoint, qGeomApp, Radius, QoccDocument::RemovePresentation(), QoccController::setLocalContext(), QoccController::update(), Qocc3dWidget::x(), Qocc3dWidget::y(), and Qocc3dWidget::z().
Here is the call graph for this function:

| QoccCmdCircle2Pt::Handle | ( | GEOM_Object | ) |  [protected] | 
| QoccCmdCircle2Pt::Handle | ( | GEOM_Object | ) |  [protected] | 
| QoccCmdCircle2Pt::Handle | ( | GEOM_Object | ) |  [protected] | 
| void QoccCmdCircle2Pt::moveEvent | ( | Qocc3dWidget * | widget, | |
| QMouseEvent * | e | |||
| ) |  [virtual] | 
Reimplemented from QoccCommand.
Definition at line 149 of file qocccmdcircle2pt.cpp.
References Centre, Qocc3dWidget::getController(), QoccController::getDocument(), QoccDocument::id(), myCurrentPoint, myParameter, myRadius, myStartPoint, qGeomApp, Radius, QoccDocument::RemovePresentation(), Qocc3dWidget::x(), Qocc3dWidget::y(), and Qocc3dWidget::z().
Here is the call graph for this function:

| gp_Pnt QoccCmdCircle2Pt::myCurrentPoint  [protected] | 
| QoccDocument* QoccCmdCircle2Pt::myDocument  [protected] | 
Definition at line 67 of file qocccmdcircle2pt.h.
Referenced by clickEvent(), QoccCmdCircle2Pt(), and ~QoccCmdCircle2Pt().
| CircleParameter QoccCmdCircle2Pt::myParameter  [protected] | 
Definition at line 72 of file qocccmdcircle2pt.h.
Referenced by clickEvent(), moveEvent(), and QoccCmdCircle2Pt().
| Standard_Real QoccCmdCircle2Pt::myRadius  [protected] | 
| gp_Pnt QoccCmdCircle2Pt::myStartPoint  [protected] | 
 1.4.7
 1.4.7