|
| EIGEN_MAKE_ALIGNED_OPERATOR_NEW | StaticCameraControl () |
| | StaticCameraControl (const Eigen::Isometry3f &T_world_camera, const Eigen::Vector2f &depth=Eigen::Vector2f(1e-3, 1e3)) |
| | StaticCameraControl (const Eigen::Vector3f &eye, const Eigen::Vector3f ¢er, const Eigen::Vector3f &up, const Eigen::Vector2f &depth=Eigen::Vector2f(1e-3, 1e3)) |
| virtual | ~StaticCameraControl () override |
| virtual Eigen::Vector2f | depth_range () const override |
| | Get the depth range of the camera. This method can be overridden by derived classes to specify a custom depth range for rendering.
|
| virtual Eigen::Matrix4f | view_matrix () const override |
| | Get the view matrix of the camera. This method must be implemented by derived classes to return the current view transformation matrix.
|
| virtual std::string | name () const override |
| virtual void | load (std::istream &ist) override |
| virtual void | save (std::ostream &ost) const override |
| virtual | ~CameraControl () |
| virtual void | reset_center () |
| | Reset the shift of the camera.
|
| virtual void | lookat (const Eigen::Vector3f &pt) |
| | Move the camera to look at the given point. The point is expected to be in world coordinates.
|
| virtual void | lookat (const Eigen::Isometry3f &T_world_sensor) |
| | Move the camera to look at the given transform. The camera will look at the translation part of the transform, and optionally align its orientation with the rotation part.
|
| virtual void | lookat (const Eigen::Isometry3d &T_world_sensor) |
| virtual void | mouse (const Eigen::Vector2f &p, int button, bool down) |
| | Mouse event callback. This method is called when a mouse button is pressed or released.
|
| virtual void | drag (const Eigen::Vector2f &p, int button) |
| | Mouse drag event callback. This method is called when the mouse is moved while a button is pressed.
|
| virtual void | scroll (const Eigen::Vector2f &rel) |
| | Scroll event callback. This method is called when the mouse wheel is scrolled.
|
| virtual void | update () |
| | Update the camera state. This method can be called every frame to update the camera based on user input or animations.
|
| virtual void | updown (double p) |
| | Keyboard page up/down event callback. This method is called while the user is pressing the page up/down keys.
|
| virtual void | arrow (const Eigen::Vector2f &p) |
| | Keyboard arrow key event callback. This method is called while the user is pressing the arrow keys.
|