67 std::vector<std::shared_ptr<Object>>& objects, Vector3f& centerPoint, Vector3f& startPoint );
71 MRVIEWER_API Box3f
getBbox_(
const std::vector<std::shared_ptr<Object>>& objects );
78 void applyCurrentXf_(
bool history );
81 void setVisualizeVectors_( std::vector<Vector3f> worldPoints );
83 std::vector<std::shared_ptr<Object>> objects_;
84 std::vector<AffineXf3f> initialXfs_;
87 Vector2i screenStartPoint_;
88 AffineXf3f currentXf_;
92 Vector3f worldStartPoint_;
93 Vector3f xfCenterPoint_;
94 float viewportStartPointZ_;
95 Plane3f referencePlane_;
100 std::vector<ImVec2> visualizeVectors_;
Definition MRMoveObjectByMouseImpl.h:16
virtual ~MoveObjectByMouseImpl()=default
MRVIEWER_API void onDrawDialog(float menuScaling) const
MoveObjectByMouseImpl()=default
MRVIEWER_API bool onMouseMove(int x, int y)
MRVIEWER_API Box3f getBbox_(const std::vector< std::shared_ptr< Object > > &objects)
MRVIEWER_API bool onMouseUp(MouseButton button, int modifiers)
TransformMode
Transformation mode.
Definition MRMoveObjectByMouseImpl.h:53
MRVIEWER_API bool onMouseDown(MouseButton button, int modifiers)
MRVIEWER_API bool isMoving() const
int minDistance() const
Definition MRMoveObjectByMouseImpl.h:24
void setMinDistance(int minDistance)
Definition MRMoveObjectByMouseImpl.h:25
MRVIEWER_API void cancel()
virtual MRVIEWER_API TransformMode pick_(MouseButton button, int modifiers, std::vector< std::shared_ptr< Object > > &objects, Vector3f ¢erPoint, Vector3f &startPoint)
@ None
special value not to limit path in one slice
Definition MRVoxelPath.h:33
Definition MRCameraOrientationPlugin.h:8
MouseButton
Definition MRMouse.h:9