33 namespace visualization {
51 const Eigen::Vector3f& center_of_rotation);
59 virtual void Rotate(
int dx,
int dy);
65 const Eigen::Vector3f& x_axis,
66 const Eigen::Vector3f& y_axis);
69 virtual void RotateZ(
int dx,
int dy);
71 virtual void RotateZWorld(
int dx,
int dy,
const Eigen::Vector3f& forward);
virtual void RotateZWorld(int dx, int dy, const Eigen::Vector3f &forward)
Definition: MatrixInteractorLogic.cpp:161
virtual void RotateZ(int dx, int dy)
Rotates about the forward axis of the matrix.
Definition: MatrixInteractorLogic.cpp:150
void SetMouseDownInfo(const Camera::Transform &matrix, const Eigen::Vector3f ¢er_of_rotation)
Definition: MatrixInteractorLogic.cpp:55
float CalcRotateRadians(int dx, int dy)
Definition: MatrixInteractorLogic.cpp:145
Eigen::Vector3f center_of_rotation_at_mouse_down_
Definition: MatrixInteractorLogic.h:91
virtual void Rotate(int dx, int dy)
Definition: MatrixInteractorLogic.cpp:73
A bounding box that is aligned along the coordinate axes.
Definition: BoundingVolume.h:149
const geometry::AxisAlignedBoundingBox & GetBoundingBox() const
Definition: MatrixInteractorLogic.cpp:44
virtual void RotateWorld(int dx, int dy, const Eigen::Vector3f &x_axis, const Eigen::Vector3f &y_axis)
Definition: MatrixInteractorLogic.cpp:118
Camera::Transform matrix_at_mouse_down_
Definition: MatrixInteractorLogic.h:90
int GetViewWidth() const
Definition: MatrixInteractorLogic.cpp:40
float CalcDollyDist(int dy, DragType drag_type)
Definition: MatrixInteractorLogic.cpp:205
void SetViewSize(int width, int height)
Definition: MatrixInteractorLogic.cpp:35
void SetMatrix(const Camera::Transform &matrix)
Definition: MatrixInteractorLogic.cpp:65
virtual ~MatrixInteractorLogic()
Definition: MatrixInteractorLogic.cpp:33
Eigen::Transform< float, 3, Eigen::Affine > Transform
Definition: Camera.h:39
int view_width_
Definition: MatrixInteractorLogic.h:84
Eigen::Vector3f center_of_rotation_
Definition: MatrixInteractorLogic.h:88
const Camera::Transform & GetMatrix() const
Definition: MatrixInteractorLogic.cpp:69
DragType
Definition: MatrixInteractorLogic.h:73
geometry::AxisAlignedBoundingBox model_bounds_
Definition: MatrixInteractorLogic.h:87
Definition: MatrixInteractorLogic.h:39
Definition: PinholeCameraIntrinsic.cpp:35
int height
Definition: FilePCD.cpp:72
virtual void Dolly(int dy, DragType drag_type)
Definition: MatrixInteractorLogic.cpp:180
int view_height_
Definition: MatrixInteractorLogic.h:85
int GetViewHeight() const
Definition: MatrixInteractorLogic.cpp:42
virtual void SetBoundingBox(const geometry::AxisAlignedBoundingBox &bounds)
Definition: MatrixInteractorLogic.cpp:49
double model_size_
Definition: MatrixInteractorLogic.h:86
float CalcRotateZRadians(int dx, int dy)
Definition: MatrixInteractorLogic.cpp:174
int width
Definition: FilePCD.cpp:71