#include <MRViewport.h>
Public Types | |
| enum class | GlobalBasisScaleMode { GlobalBasisScaleMode::Auto , GlobalBasisScaleMode::Fixed } |
| enum class | RotationCenterMode { RotationCenterMode::Static , RotationCenterMode::DynamicStatic , RotationCenterMode::Dynamic } |
Public Member Functions | |
| bool | operator== (const Viewport::Parameters &other) const =default |
Public Attributes | |
| Color | backgroundColor = Color( Vector3f{0.3f, 0.3f, 0.5f} ) |
| Vector3f | lightPosition {0.0f, 0.3f, 0.0f} |
| Quaternionf | cameraTrackballAngle |
| x y z - position, w - factor | |
| Vector3f | cameraTranslation |
| float | cameraZoom {1.0f} |
| float | cameraViewAngle {45.0f} |
| float | cameraDnear {1.0f} |
| float | cameraDfar {100.0f} |
| bool | depthTest {true} |
| bool | orthographic {true} |
| enum MR::Viewport::Parameters::GlobalBasisScaleMode | Auto |
| float | objectScale {1.0f} |
| Caches the two-norm between the min/max point of the bounding box. | |
| Color | borderColor |
| std::string | label |
| Plane3f | clippingPlane {Vector3f::plusX(), 0.0f} |
| enum MR::Viewport::Parameters::RotationCenterMode | Dynamic |
| std::optional< Vector3f > | staticRotationPivot |
| bool | compensateRotation { true } |
| bool | selectable {true} |
| this flag allows viewport to be selected by user | |