|
enum | Priority { Low = 0,
Default = 1,
High = 2
} |
|
|
override void | deleteCptr () |
|
virtual bool | DerivedClassHasMethod (string methodName, System.Type[] methodTypes) |
|
override IntPtr | GetNonDirectorClassID () |
|
virtual bool | IsUserDerived () |
|
override void | deleteCptr () |
|
|
HandleRef | sptr |
|
bool | cMemOwn |
|
HandleRef | cptr |
|
|
static Dictionary< IntPtr, Operator > | cachedObjects = new Dictionary<IntPtr, Operator>() |
|
static Dictionary< IntPtr, WeakReference > | cachedWeakRefs = new Dictionary<IntPtr, WeakReference>() |
|
static ReaderWriterLockSlim | mapLock = new ReaderWriterLockSlim(LockRecursionPolicy.SupportsRecursion) |
|
The Operator class is the base class for classes which handle under input and operate on the scene. This class handles GUI events such as key presses, mouse movement and clicks, and touches
◆ Assign()
Assigns the parameter in_that to this operator, resulting in a clone.
◆ DetachView()
void HPS.Operator.DetachView |
( |
| ) |
|
|
inline |
Detaches the Operator from the View it was previously attached to.
◆ Equals()
Tests this operator for equality against the parameter in_that. Same as Operator.operator==
◆ GetAttachedView()
HPS.View HPS.Operator.GetAttachedView |
( |
| ) |
|
|
inline |
◆ GetModifierTrigger()
Gets the modifier trigger associated with this operator.
◆ GetMouseTrigger()
Gets the mouse trigger associated with this operator.
◆ GetName()
virtual string HPS.Operator.GetName |
( |
| ) |
|
|
inlinevirtual |
Returns the name of the Operator.
Reimplemented in HPS.Exchange.MeasurementOperator, HPS.Exchange.CommonMeasurementOperator, HPS.HandlesOperator, HPS.NavigationCubeOperator, HPS.MouseWheelOperator, HPS.SelectAreaOperator, HPS.SelectOperator, HPS.HighlightAreaOperator, HPS.HighlightOperator, HPS.RelativeOrbitOperator, HPS.WalkOperator, HPS.MarkupOperator, HPS.ConstructRectangleOperator, HPS.AnnotationOperator, HPS.FlyOperator, HPS.AxisTriadOperator, HPS.CuttingSectionOperator, HPS.OrbitOperator, HPS.PanOperator, HPS.PanOrbitZoomOperator, HPS.SimpleWalkOperator, HPS.TurntableOperator, HPS.ZoomOperator, HPS.ZoomBoxOperator, and HPS.ZoomFitTouchOperator.
◆ IsMouseTriggered()
◆ ObjectType()
override HPS.Type HPS.Operator.ObjectType |
( |
| ) |
|
|
inlinevirtual |
This function returns the type the object, as declared (if the object is derived, this does not give the true type of the derived object).
- Returns
- The declared type of the object in question, which may differ from the true, underlying type.
Reimplemented from HPS.Object.
◆ OnKeyDown()
◆ OnKeyUp()
◆ OnModelAttached()
virtual void HPS.Operator.OnModelAttached |
( |
| ) |
|
|
inlinevirtual |
◆ OnModelDetached()
virtual void HPS.Operator.OnModelDetached |
( |
| ) |
|
|
inlinevirtual |
This function is called whenever a model is detached from the view that is attached to this operator. If no view is attached to this operator, this function will not be called.
◆ OnMouseDown()
This function is called whenever HPS receives a MouseEvent that signals a mouse button was pressed.
- Parameters
-
in_state | A MouseState object describing the current mouse state. |
- Returns
- true if the input event was handled, false otherwise.
Reimplemented in HPS.Exchange.MeasurementOperator, HPS.HandlesOperator, HPS.SimpleWalkOperator, HPS.CuttingSectionOperator, HPS.NavigationCubeOperator, HPS.FlyOperator, HPS.MarkupOperator, HPS.AnnotationOperator, HPS.ConstructRectangleOperator, HPS.SelectOperator, HPS.HighlightOperator, HPS.RelativeOrbitOperator, HPS.AxisTriadOperator, HPS.OrbitOperator, HPS.PanOperator, HPS.PanOrbitZoomOperator, HPS.TurntableOperator, and HPS.ZoomOperator.
◆ OnMouseEnter()
This function is called whenever HPS receives a MouseEvent that signals the mouse entered the window.
- Parameters
-
in_state | A MouseState object describing the current mouse state. |
- Returns
- true if the input event was handled, false otherwise.
Reimplemented in HPS.SimpleWalkOperator.
◆ OnMouseLeave()
This function is called whenever HPS receives a MouseEvent that signals the mouse left the window.
- Parameters
-
in_state | A MouseState object describing the current mouse state. |
- Returns
- true if the input event was handled, false otherwise.
Reimplemented in HPS.SimpleWalkOperator.
◆ OnMouseMove()
This function is called whenever HPS receives a MouseEvent that signals the mouse moved
- Parameters
-
in_state | A MouseState object describing the current mouse state. |
- Returns
- true if the input event was handled, false otherwise.
Reimplemented in HPS.Exchange.MeasurementOperator, HPS.HandlesOperator, HPS.CuttingSectionOperator, HPS.SimpleWalkOperator, HPS.NavigationCubeOperator, HPS.FlyOperator, HPS.MarkupOperator, HPS.AnnotationOperator, HPS.AxisTriadOperator, HPS.OrbitOperator, HPS.PanOperator, HPS.PanOrbitZoomOperator, HPS.TurntableOperator, HPS.ZoomOperator, HPS.ConstructRectangleOperator, and HPS.RelativeOrbitOperator.
◆ OnMouseUp()
This function is called whenever HPS receives a MouseEvent that signals a mouse button was released.
- Parameters
-
in_state | A MouseState object describing the current mouse state. |
- Returns
- true if the input event was handled, false otherwise.
Reimplemented in HPS.Exchange.MeasurementOperator, HPS.HandlesOperator, HPS.SimpleWalkOperator, HPS.CuttingSectionOperator, HPS.NavigationCubeOperator, HPS.FlyOperator, HPS.MarkupOperator, HPS.ConstructRectangleOperator, HPS.AxisTriadOperator, HPS.OrbitOperator, HPS.PanOperator, HPS.PanOrbitZoomOperator, HPS.TurntableOperator, HPS.ZoomOperator, HPS.SelectAreaOperator, HPS.RelativeOrbitOperator, HPS.HighlightAreaOperator, and HPS.ZoomBoxOperator.
◆ OnMouseWheel()
◆ OnTimerTick()
◆ OnTouchDown()
This function is called whenever HPS receives a TouchEvent that signals the device was touched.
- Parameters
-
in_state | A TouchState object describing the current touch state. |
- Returns
- true if the input event was handled, false otherwise.
Reimplemented in HPS.Exchange.MeasurementOperator, HPS.SimpleWalkOperator, HPS.HandlesOperator, HPS.CuttingSectionOperator, HPS.FlyOperator, HPS.NavigationCubeOperator, HPS.MarkupOperator, HPS.TurntableOperator, HPS.AnnotationOperator, HPS.AxisTriadOperator, HPS.OrbitOperator, HPS.PanOperator, HPS.PanOrbitZoomOperator, HPS.ZoomOperator, HPS.ConstructRectangleOperator, HPS.RelativeOrbitOperator, HPS.SelectOperator, HPS.HighlightOperator, and HPS.ZoomFitTouchOperator.
◆ OnTouchMove()
This function is called whenever HPS receives a TouchEvent that signals a point of contact has moved.
- Parameters
-
in_state | A TouchState object describing the current touch state. |
- Returns
- true if the input event was handled, false otherwise.
Reimplemented in HPS.Exchange.MeasurementOperator, HPS.SimpleWalkOperator, HPS.HandlesOperator, HPS.CuttingSectionOperator, HPS.FlyOperator, HPS.NavigationCubeOperator, HPS.MarkupOperator, HPS.TurntableOperator, HPS.AnnotationOperator, HPS.AxisTriadOperator, HPS.OrbitOperator, HPS.PanOperator, HPS.PanOrbitZoomOperator, HPS.ZoomOperator, HPS.ConstructRectangleOperator, and HPS.RelativeOrbitOperator.
◆ OnTouchUp()
This function is called whenever HPS receives a TouchEvent that signals a point of contact has been released.
- Parameters
-
in_state | A TouchState object describing the current touch state. |
- Returns
- true if the input event was handled, false otherwise.
Reimplemented in HPS.Exchange.MeasurementOperator, HPS.SimpleWalkOperator, HPS.HandlesOperator, HPS.CuttingSectionOperator, HPS.FlyOperator, HPS.NavigationCubeOperator, HPS.MarkupOperator, HPS.TurntableOperator, HPS.AnnotationOperator, HPS.AxisTriadOperator, HPS.OrbitOperator, HPS.PanOperator, HPS.PanOrbitZoomOperator, HPS.ConstructRectangleOperator, HPS.RelativeOrbitOperator, HPS.SelectAreaOperator, HPS.HighlightAreaOperator, HPS.ZoomBoxOperator, and HPS.ZoomFitTouchOperator.
◆ OnViewAttached()
virtual void HPS.Operator.OnViewAttached |
( |
HPS.View |
in_attached_view | ) |
|
|
inlinevirtual |
This function is called whenever a view is attached to this operator.
- Parameters
-
in_attached_view | The view attached to this operator. |
Reimplemented in HPS.Exchange.MeasurementOperator, HPS.Exchange.CommonMeasurementOperator, HPS.FlyOperator, HPS.NavigationCubeOperator, HPS.AxisTriadOperator, HPS.HandlesOperator, HPS.MouseWheelOperator, HPS.WalkOperator, HPS.SimpleWalkOperator, HPS.SelectAreaOperator, HPS.CuttingSectionOperator, HPS.HighlightAreaOperator, HPS.MarkupOperator, HPS.ConstructRectangleOperator, and HPS.AnnotationOperator.
◆ OnViewDetached()
virtual void HPS.Operator.OnViewDetached |
( |
HPS.View |
in_detached_view | ) |
|
|
inlinevirtual |
◆ SetModifierTrigger()
Sets the modifier trigger associated with this operator.
- Parameters
-
in_modifiers | The modifier keys that are used to trigger this operator. |
◆ SetMouseTrigger()
Sets the mouse trigger for this operator
The documentation for this class was generated from the following file:
- internals/hps_sprk/source/cs/HPS.Operator.cs