36 namespace visualization {
46 double min_far_plane);
53 const std::vector<GeometryHandle>& objects);
55 void Rotate(
int dx,
int dy)
override;
56 void RotateZ(
int dx,
int dy)
override;
58 void Pan(
int dx,
int dy)
override;
67 std::vector<GeometryHandle> model_;
68 bool is_axes_visible_;
71 std::map<GeometryHandle, Camera::Transform> transforms_at_mouse_down_;
void Dolly(int dy, DragType drag_type) override
Definition: ModelInteractorLogic.cpp:98
A bounding box that is aligned along the coordinate axes.
Definition: BoundingVolume.h:164
void EndMouseDrag() override
Definition: ModelInteractorLogic.cpp:167
void SetModel(GeometryHandle axes, const std::vector< GeometryHandle > &objects)
Definition: ModelInteractorLogic.cpp:52
Definition: RotationInteractorLogic.h:34
void SetBoundingBox(const geometry::AxisAlignedBoundingBox &bounds) override
Definition: ModelInteractorLogic.cpp:43
Definition: ModelInteractorLogic.h:40
virtual ~ModelInteractorLogic()
Definition: ModelInteractorLogic.cpp:41
ModelInteractorLogic(visualization::Scene *scene, visualization::Camera *camera, double min_far_plane)
Definition: ModelInteractorLogic.cpp:34
RotationInteractorLogic(visualization::Camera *camera, double min_far_plane)
Definition: RotationInteractorLogic.cpp:32
void UpdateMouseDragUI() override
Definition: ModelInteractorLogic.cpp:165
Definition: Open3DViewer.h:29
void Rotate(int dx, int dy) override
Definition: ModelInteractorLogic.cpp:58
void Pan(int dx, int dy) override
Definition: ModelInteractorLogic.cpp:122
void StartMouseDrag() override
Definition: ModelInteractorLogic.cpp:149
void RotateZ(int dx, int dy) override
Rotates about the forward axis of the matrix.
Definition: ModelInteractorLogic.cpp:82
Eigen::Transform< float, 3, Eigen::Affine > Transform
Definition: Camera.h:38
DragType
Definition: MatrixInteractorLogic.h:71