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