Version: 8.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
OCCViewer_RectSketcher Class Reference

#include <OCCViewer_ViewSketcher.h>

Inheritance diagram for OCCViewer_RectSketcher:
Inheritance graph

Public Member Functions

 OCCViewer_RectSketcher (OCCViewer_ViewWindow *, int)
 
virtual ~OCCViewer_RectSketcher ()
 
- Public Member Functions inherited from OCCViewer_ViewSketcher
 OCCViewer_ViewSketcher (OCCViewer_ViewWindow *, int)
 
virtual ~OCCViewer_ViewSketcher ()
 
int type () const
 
int result () const
 
int buttonState () const
 
bool isHasShift () const
 
void * data () const
 
void activate ()
 
void deactivate ()
 
int sketchButton ()
 
void setSketchButton (int)
 
virtual bool isDefault () const
 
virtual bool eventFilter (QObject *, QEvent *)
 

Protected Member Functions

virtual bool onKey (QKeyEvent *)
 
virtual void onMouse (QMouseEvent *)
 
virtual void onSketch (SketchState)
 
virtual void onActivate ()
 
virtual void onDeactivate ()
 

Private Attributes

QtxRectRubberBandmypRectRB
 

Additional Inherited Members

- Public Types inherited from OCCViewer_ViewSketcher
enum  { Neutral, Accept, Reject }
 
- Protected Types inherited from OCCViewer_ViewSketcher
enum  SketchState { Debut, EnTrain, Fin }
 
- Protected Attributes inherited from OCCViewer_ViewSketcher
int mySketchButton
 
OCCViewer_ViewWindowmypViewWindow
 
int myType
 
void * mypData
 
int myResult
 
QCursor mySavedCursor
 
QPoint myStart
 
QPoint myCurr
 
int myButtonState
 
bool myHasShift
 

Constructor & Destructor Documentation

OCCViewer_RectSketcher::OCCViewer_RectSketcher ( OCCViewer_ViewWindow vw,
int  typ 
)
OCCViewer_RectSketcher::~OCCViewer_RectSketcher ( )
virtual

Member Function Documentation

void OCCViewer_RectSketcher::onActivate ( )
protectedvirtual
void OCCViewer_RectSketcher::onDeactivate ( )
protectedvirtual
bool OCCViewer_RectSketcher::onKey ( QKeyEvent *  e)
protectedvirtual

Member Data Documentation

QtxRectRubberBand* OCCViewer_RectSketcher::mypRectRB
private

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