#include <MRObjectTransformWidget.h>
Public Types | |
| enum class | SizeType { SizeType::LengthUnit = 0 , SizeType::Pixels } |
| type of length measurement units More... | |
Public Member Functions | |
| MRVIEWER_API void | update (const Box3f &box) |
| updates radius and width with given box | |
Public Attributes | |
| float | radius { -1.0f } |
| float | width { -1.0f } |
| SizeType | sizeType = SizeType::LengthUnit |
| sets the type of widget size units (metric length or pixels units) | |
| float | coneRadiusFactor { 1.35f } |
| the product of this factor and width gives cone radius of the arrows | |
| float | coneSizeFactor { 2.2f } |
| the product of this factor and width gives cone size of the arrows | |
| float | negativeLineExtension { 1.15f } |
| extension of the translation line in the negative direction relative to the radius | |
| float | positiveLineExtension { 1.3f } |
| extension of the translation line in the positive direction relative to the radius | |
| std::array< Color, size_t(Axis::Count)> | rotationColors { Color::red(),Color::green(),Color::blue() } |
| colors of widget | |
| std::array< Color, size_t(Axis::Count)> | translationColors { Color::red(),Color::green(),Color::blue() } |
| Color | helperLineColor { Color::black() } |
| Color | activeLineColor { Color::white() } |