# cee::vis::CameraInputHandlerZoom

class `CameraInputHandlerZoom` : public CameraInputHandler

  Camera input handler implementing standard Envision style Zoom navigation.

  - Left button: Pan
  - Right button: Rotate
  - Middle button or Left+Right: Zoom

  Public Functions

  `CameraInputHandlerZoom`(bool updateEyePositionOnSetRotationPoint = true)

    Creates the Envision Zoom Navigation handler.

    If updateEyePositionOnSetRotationPoint is set to true, the eye position will be updated to keep the distance from eye -> rotation point if we’re doing zoom navigation to avoid distorted views.

  virtual void `wheelEvent`(const WheelEvent &theWheelEvent)

    Processes the mouse wheel event.

    This is typically called from the viewer (platform dependent class derived from cee::vis::Viewer) based on mouse input.

  virtual void `wheelEvent`(const WheelEvent &theWheelEvent, const cee::Vec3d &pos)

    Processes the mouse wheel event.

    This is typically called from the viewer (platform dependent class derived from cee::vis::Viewer) based on mouse input.

    This wheel event also takes a position position which is used for the ‘zoom to cursor’ feature. For normal zoom, use the ordinary wheelEvent() function.

  virtual void `setRotationPoint`(const Vec3d &rotationPoint)

    Sets the rotation point.

    If updateEyePositionOnSetRotationPoint was set to true in the constructor, the eye point will be updated to keep the distance from the rotation point.

  Protected Functions

  virtual NavigationType `navigationTypeFromInputState`(MouseButtons mouseButtons, KeyboardModifiers keyboardModifiers) const

    Implements Envision style Zoom Navigation.

  virtual NavigationType `wheelNavigationType`() const

    Returns ZOOM.

Conversation saved
HOOPSY BETA

### Hello! I'm HOOPSY

Your multilingual generative AI assistant for documentation. Ask me anything about HOOPS Envision for Desktop in your own language, or choose a sample question below to start a conversation:

What is HOOPS Envision for Desktop?
What are the latest release notes for HOOPS Envision for Desktop?
How do I start evaluating HOOPS Envision for Desktop?
How do I write my first sample application?
How can I get assistance?

HOOPSY may store conversations according to OpenAI's policy. Responses may not always be accurate.

HOOPSY is thinking...