13 #ifndef _HBASEOPERATOR_H
14 #define _HBASEOPERATOR_H
23 #include "HBaseModel.h"
29 #define EPSILON 0.00001F
80 bool IsSpecialKey( HC_KEY key );
139 virtual const char * GetName();
150 virtual int OnLButtonDown(
HEventInfo &hevent);
168 virtual int OnLButtonDblClk(
HEventInfo &hevent);
178 virtual int OnLButtonDownAndMove(
HEventInfo &hevent);
188 virtual int OnMButtonDown(
HEventInfo &hevent);
206 virtual int OnMButtonDblClk(
HEventInfo &hevent);
215 virtual int OnMButtonDownAndMove(
HEventInfo &hevent);
225 virtual int OnRButtonDown(
HEventInfo &hevent);
243 virtual int OnRButtonDblClk(
HEventInfo &hevent);
252 virtual int OnRButtonDownAndMove(
HEventInfo &hevent);
261 virtual int OnLRButtonDownAndMove(
HEventInfo &hevent);
270 virtual int OnNoButtonDownAndMove(
HEventInfo &hevent);
316 virtual int OnTouchesDown(
HEventInfo &hevent);
325 virtual int OnTouchesMove(
HEventInfo &hevent);
HPoint m_ptFirst
Initial selection point.
Definition: HBaseOperator.h:71
Event handler is ready for processing.
Definition: HBaseOperator.h:45
HBaseView * m_pView
The HOOPS view corresponding to this operator.
Definition: HBaseOperator.h:74
virtual bool OperatorStarted()
Operator has been started if true, and has not been started if false.
Definition: HBaseOperator.h:106
void SetView(HBaseView *new_view)
Sets the view that this operator is associated with.
Definition: HBaseOperator.h:104
bool m_bOpStarted
Indicates whether the operator has already 'started'.
Definition: HBaseOperator.h:67
HCutGeometryVisibility m_TempCutGeometryVisibility
stores original cut geometry visibility
Definition: HBaseOperator.h:83
int m_doRepeat
Integer indicating if the operator is repeatable . This parameter has been deprecated.
Definition: HBaseOperator.h:68
HPoint const GetNewPoint()
Returns the current selection point.
Definition: HBaseOperator.h:101
HPoint m_ptNew
Current selection point.
Definition: HBaseOperator.h:72
HShadowMode m_TempShadowMode
stores original shadow mode
Definition: HBaseOperator.h:82
HCutGeometryVisibility
Definition: HGlobals.h:102
void SetFirstPoint(HPoint const &new_point)
Sets the initial selection point.
Definition: HBaseOperator.h:97
int Repeat()
Returns whether the operation is repeatable. This method has been deprecated.
Definition: HBaseOperator.h:86
void SetMapTouchesToMouseEvents(bool val)
Touch Events are mapped to mouse events if true, and are not if false.
Definition: HBaseOperator.h:109
The HDB class serves as a wrapper/utility class to manage an instance of the HOOPS/3dGS scene-graph...
Definition: HDB.h:32
void SetOperatorStarted(bool val)
Operator has been started if true, and has not been started if false.
Definition: HBaseOperator.h:107
The event has been handled.
Definition: HBaseOperator.h:42
The HBaseModel class is used to store and manage model information.
Definition: HBaseModel.h:47
The HBaseOperator class serves as a base for classes which handle user input and operate on the scene...
Definition: HBaseOperator.h:60
The HPoint class is the data type of a three-dimensional point.
Definition: HGlobals.h:121
The HBaseView class defines and manages a view of model information.
Definition: HBaseView.h:332
int Capture()
Returns whether we are currently in mouse capture mode. See this class' constructor for a more detail...
Definition: HBaseOperator.h:87
HBaseView * GetView()
Returns a pointer to the view that this operator is associated with.
Definition: HBaseOperator.h:103
void SetNewPoint(HPoint const &new_point)
Sets the current selection point.
Definition: HBaseOperator.h:100
int m_doCapture
Integer indicating whether to capture mouse on button down and release on button up. This parameter has been deprecated.
Definition: HBaseOperator.h:69
The HEventInfo class stores and manages event information.
Definition: HEventInfo.h:207
HShadowMode
Definition: HGlobals.h:92
HOperatorReturn
Definition: HBaseOperator.h:40
HPoint const GetFirstPoint()
Returns the initial selection point.
Definition: HBaseOperator.h:98
Processing was aborted.
Definition: HBaseOperator.h:44
bool m_bMapTouchesToMouseEvents
Indicates if touch events are mapped to mouse events.
Definition: HBaseOperator.h:76
The event has not been handled.
Definition: HBaseOperator.h:43