39#ifndef EASY3D_RENDERER_MANIPULATED_CAMERA_FRAME_H
40#define EASY3D_RENDERER_MANIPULATED_CAMERA_FRAME_H
42#include <easy3d/renderer/manipulated_frame.h>
121 void action_rotate(
int mouse_x,
int mouse_y,
int mouse_dx,
int mouse_dy,
Camera* camera, ScreenAxis axis)
override;
122 void action_translate(
int mouse_x,
int mouse_y,
int mouse_dx,
int mouse_dy,
Camera* camera, ScreenAxis axis)
override;
123 void action_zoom(
int dy_wheel,
Camera* camera)
override;
125 virtual void action_turn(
float angle_radian,
Camera* camera);
177 bool zoomsOnPivotPoint_;
A perspective or orthographic camera.
Definition: camera.h:116
A manipulated frame with camera specific mouse bindings.
Definition: manipulated_camera_frame.h:68
void setPivotPoint(const vec3 &point)
Definition: manipulated_camera_frame.h:95
void action_rotate(int mouse_x, int mouse_y, int mouse_dx, int mouse_dy, Camera *camera, ScreenAxis axis) override
Definition: manipulated_camera_frame.cpp:71
vec3 pivotPoint() const
Definition: manipulated_camera_frame.h:92
ManipulatedCameraFrame & operator=(const ManipulatedCameraFrame &mcf)
Definition: manipulated_camera_frame.cpp:53
~ManipulatedCameraFrame() override=default
bool zoomsOnPivotPoint() const
Definition: manipulated_camera_frame.h:112
void setZoomsOnPivotPoint(bool enabled)
Definition: manipulated_camera_frame.h:115
A Frame that can be rotated and translated using the mouse.
Definition: manipulated_frame.h:110
The built-in Easy3D viewer.
Definition: viewer.h:61
Definition: collider.cpp:182