18 #ifndef _HBASEOPERATOR_H
19 #define _HBASEOPERATOR_H
28 #include "HBaseModel.h"
34 #define EPSILON 0.00001F
85 bool IsSpecialKey( HC_KEY key );
144 virtual const char * GetName();
155 virtual int OnLButtonDown(
HEventInfo &hevent);
173 virtual int OnLButtonDblClk(
HEventInfo &hevent);
183 virtual int OnLButtonDownAndMove(
HEventInfo &hevent);
193 virtual int OnMButtonDown(
HEventInfo &hevent);
211 virtual int OnMButtonDblClk(
HEventInfo &hevent);
220 virtual int OnMButtonDownAndMove(
HEventInfo &hevent);
230 virtual int OnRButtonDown(
HEventInfo &hevent);
248 virtual int OnRButtonDblClk(
HEventInfo &hevent);
257 virtual int OnRButtonDownAndMove(
HEventInfo &hevent);
266 virtual int OnLRButtonDownAndMove(
HEventInfo &hevent);
275 virtual int OnNoButtonDownAndMove(
HEventInfo &hevent);
321 virtual int OnTouchesDown(
HEventInfo &hevent);
330 virtual int OnTouchesMove(
HEventInfo &hevent);
HPoint m_ptFirst
Initial selection point.
Definition: HBaseOperator.h:76
Event handler is ready for processing.
Definition: HBaseOperator.h:50
HPoint const GetNewPoint(void)
Returns the current selection point.
Definition: HBaseOperator.h:106
HPoint const GetFirstPoint(void)
Returns the initial selection point.
Definition: HBaseOperator.h:103
HBaseView * m_pView
The HOOPS view corresponding to this operator.
Definition: HBaseOperator.h:79
virtual bool OperatorStarted()
Operator has been started if true, and has not been started if false.
Definition: HBaseOperator.h:111
void SetView(HBaseView *new_view)
Sets the view that this operator is associated with.
Definition: HBaseOperator.h:109
bool m_bOpStarted
Indicates whether the operator has already 'started'.
Definition: HBaseOperator.h:72
HCutGeometryVisibility m_TempCutGeometryVisibility
stores original cut geometry visibility
Definition: HBaseOperator.h:88
int m_doRepeat
Integer indicating if the operator is repeatable . This parameter has been deprecated.
Definition: HBaseOperator.h:73
HPoint m_ptNew
Current selection point.
Definition: HBaseOperator.h:77
HShadowMode m_TempShadowMode
stores original shadow mode
Definition: HBaseOperator.h:87
HCutGeometryVisibility
Definition: HGlobals.h:107
void SetFirstPoint(HPoint const &new_point)
Sets the initial selection point.
Definition: HBaseOperator.h:102
int Repeat()
Returns whether the operation is repeatable. This method has been deprecated.
Definition: HBaseOperator.h:91
void SetMapTouchesToMouseEvents(bool val)
Touch Events are mapped to mouse events if true, and are not if false.
Definition: HBaseOperator.h:114
The HDB class serves as a wrapper/utility class to manage an instance of the HOOPS/3dGS scene-graph...
Definition: HDB.h:38
void SetOperatorStarted(bool val)
Operator has been started if true, and has not been started if false.
Definition: HBaseOperator.h:112
The event has been handled.
Definition: HBaseOperator.h:47
The HBaseModel class is used to store and manage model information.
Definition: HBaseModel.h:52
The HBaseOperator class serves as a base for classes which handle user input and operate on the scene...
Definition: HBaseOperator.h:65
The HPoint class is the data type of a three-dimensional point.
Definition: HGlobals.h:126
The HBaseView class defines and manages a view of model information.
Definition: HBaseView.h:337
int Capture()
Returns whether we are currently in mouse capture mode. See this class' constructor for a more detail...
Definition: HBaseOperator.h:92
void SetNewPoint(HPoint const &new_point)
Sets the current selection point.
Definition: HBaseOperator.h:105
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:74
The HEventInfo class stores and manages event information.
Definition: HEventInfo.h:214
HShadowMode
Definition: HGlobals.h:97
HOperatorReturn
Definition: HBaseOperator.h:45
HBaseView * GetView(void)
Returns a pointer to the view that this operator is associated with.
Definition: HBaseOperator.h:108
Processing was aborted.
Definition: HBaseOperator.h:49
bool m_bMapTouchesToMouseEvents
Indicates if touch events are mapped to mouse events.
Definition: HBaseOperator.h:81
The event has not been handled.
Definition: HBaseOperator.h:48