Version: 9.15.0
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 *)
 
virtual void setSketcherMode (int)
 
virtual int sketcherMode () const
 

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_RectSketcher ( OCCViewer_ViewWindow vw,
int  typ 
)

◆ ~OCCViewer_RectSketcher()

OCCViewer_RectSketcher::~OCCViewer_RectSketcher ( )
virtual

Member Function Documentation

◆ onActivate()

void OCCViewer_RectSketcher::onActivate ( )
protectedvirtual

◆ onDeactivate()

void OCCViewer_RectSketcher::onDeactivate ( )
protectedvirtual

◆ onKey()

bool OCCViewer_RectSketcher::onKey ( QKeyEvent *  e)
protectedvirtual

◆ onMouse()

◆ onSketch()

Member Data Documentation

◆ mypRectRB

QtxRectRubberBand* OCCViewer_RectSketcher::mypRectRB
private

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