MeshLib
 
Loading...
Searching...
No Matches
MRCameraOrientationPlugin.h
Go to the documentation of this file.
1#pragma once
2#include "MRMesh//MRMeshFwd.h"
4#include "MRMesh/MRVector3.h"
5
6namespace MR
7{
8
10{
11public:
13
14 virtual void drawDialog( float menuScaling, ImGuiContext* ) override;
15
16 virtual bool blocking() const override { return false; }
17private:
18
19 Vector3f position_;
20 Vector3f direction_{ 1.f, 0.f, 0.f };
21 Vector3f upDir_{ 0.f, 1.f, 0.f };
22 bool isAutofit_{ true };
23
24 virtual bool onEnable_() override;
25
26 void drawCameraPresets_( float scaling );
27
28 inline void autofit_();
29};
30
31}
Definition MRCameraOrientationPlugin.h:10
virtual void drawDialog(float menuScaling, ImGuiContext *) override
virtual bool blocking() const override
Definition MRCameraOrientationPlugin.h:16
Definition MRViewerFwd.h:59
represents a 3-dimentional float-typed vector
Definition MRDotNet/MRVector3.h:8
Definition MRCameraOrientationPlugin.h:7