Manages input events.
More...
#include "ViewerInteractor.h"
|
| ViewerInteractor (const Handle(V3d_View)&view, const Handle(AIS_InteractiveContext)&ctx) |
| Ctor.
|
|
virtual | ~ViewerInteractor () |
| Dtor.
|
|
const | Handle (AIS_InteractiveContext) &GetContext() const |
| Return interactive context.
|
|
virtual bool | UpdateMouseButtons (const Graphic3d_Vec2i &thePoint, Aspect_VKeyMouse theButtons, Aspect_VKeyFlags theModifiers, bool theIsEmulated) Standard_OVERRIDE |
| Handle mouse button press/release event.
|
|
virtual void | KeyDown (Aspect_VKey theKey, double theTime, double thePressure=1.0) Standard_OVERRIDE |
| Release key.
|
|
virtual void | KeyUp (Aspect_VKey theKey, double theTime) Standard_OVERRIDE |
| Release key.
|
|
virtual void | ProcessExpose () |
| Redraw the View on an Expose Event.
|
|
virtual void | handleViewRedraw (const Handle(AIS_InteractiveContext)&theCtx, const Handle(V3d_View)&theView) Standard_OVERRIDE |
| Handle redraw.
|
|
virtual void | ProcessConfigure () |
| Resize View.
|
|
void | ProcessKeyPress (Aspect_VKey theKey) |
| Handle KeyPress event.
|
|
◆ ViewerInteractor()
ViewerInteractor::ViewerInteractor |
( |
const Handle(V3d_View)& | view, |
|
|
const Handle(AIS_InteractiveContext)& | ctx ) |
Ctor.
- Parameters
-
[in] | view | the V3d view instance. |
[in] | ctx | the interactive context. |
◆ ~ViewerInteractor()
ViewerInteractor::~ViewerInteractor |
( |
| ) |
|
|
virtual |
◆ Handle()
const ViewerInteractor::Handle |
( |
AIS_InteractiveContext | | ) |
const & |
|
inline |
Return interactive context.
◆ handleViewRedraw()
void ViewerInteractor::handleViewRedraw |
( |
const Handle(AIS_InteractiveContext)& | theCtx, |
|
|
const Handle(V3d_View)& | theView ) |
|
virtual |
◆ KeyDown()
void ViewerInteractor::KeyDown |
( |
Aspect_VKey | theKey, |
|
|
double | theTime, |
|
|
double | thePressure = 1.0 ) |
|
virtual |
◆ KeyUp()
void ViewerInteractor::KeyUp |
( |
Aspect_VKey | theKey, |
|
|
double | theTime ) |
|
virtual |
◆ ProcessConfigure()
void ViewerInteractor::ProcessConfigure |
( |
| ) |
|
|
virtual |
◆ ProcessExpose()
void ViewerInteractor::ProcessExpose |
( |
| ) |
|
|
virtual |
Redraw the View on an Expose Event.
◆ ProcessKeyPress()
void ViewerInteractor::ProcessKeyPress |
( |
Aspect_VKey | theKey | ) |
|
◆ UpdateMouseButtons()
bool ViewerInteractor::UpdateMouseButtons |
( |
const Graphic3d_Vec2i & | thePoint, |
|
|
Aspect_VKeyMouse | theButtons, |
|
|
Aspect_VKeyFlags | theModifiers, |
|
|
bool | theIsEmulated ) |
|
virtual |
Handle mouse button press/release event.
The documentation for this class was generated from the following files: