15 std::shared_ptr<ObjectMesh> planeObj_;
21 bool localMode_{
false };
22 float localShift_{ 0.0f };
24 using OnPlaneUpdateCallback = std::function<void()>;
25 OnPlaneUpdateCallback onPlaneUpdate_;
27 bool pressed_ =
false;
28 bool showPlaneByDefault_ =
true;
32 std::shared_ptr<ObjectLines> line_;
34 bool importPlaneMode_ =
false;
42 MRVIEWER_API
void updateBox(
const Box3f& box,
bool updateCameraRotation =
true );
76 MRVIEWER_API
void updateWidget_(
bool updateCameraRotation =
true );
78 MRVIEWER_API
virtual bool onDragStart_( MouseButton button,
int modifier )
override;
79 MRVIEWER_API
virtual bool onDragEnd_( MouseButton button,
int modifier )
override;
80 MRVIEWER_API
virtual bool onDrag_(
int mouse_x,
int mouse_y )
override;
83 bool importPlaneObj_(
Object& obj );
Definition MRCameraOrientationPlugin.h:8
Definition MRViewerEventsListener.h:29