HPS::WalkOperator
-
class HPS::WalkOperator : public HPS::FlyOperator
The WalkOperator class defines an operator which allows the user to accurately move the camera around the scene, while snapped to a plane. This operator is intended for walking through models that have a defined ground plane, such as a floor in a building. For models that don’t have a ground plane, Visualize will attempt to determine a ground plane heuristically. This operator works for both mouse and touch-driven devices.
Subclassed by HPS::SimpleWalkOperator
Public Functions
-
virtual void OnModelAttached()
This function is called whenever a model is attached to the view that is attached to this operator. If no view is attached to this operator, this function will not be called.
-
virtual bool OnTimerTick(HPS::TimerTickEvent const &in_event)
This function is called whenever HPS receives a TimerTickEvent This function moves the camera
- Parameters
in_state – A TimerTickEvent object describing the current timer tick.
- Returns
true if the input event was handled, false otherwise.
-
virtual void OnModelAttached()