#include <MRObjectTransformWidget.h>
◆ AxisTransformMode
Enumerator |
---|
AxisTranslation | |
AxisScaling | |
UniformScaling | |
◆ create()
MRVIEWER_API void MR::ObjectTransformWidget::create |
( |
const Box3f & | box, |
|
|
const AffineXf3f & | xf, |
|
|
std::shared_ptr< ITransformControls > | controls = {} ) |
◆ followObjVisibility()
MRVIEWER_API void MR::ObjectTransformWidget::followObjVisibility |
( |
const std::weak_ptr< Object > & | obj | ) |
|
◆ getAxisTransformMode()
◆ getControls()
◆ getControlsAs()
template<typename T >
std::shared_ptr< T > MR::ObjectTransformWidget::getControlsAs |
( |
| ) |
const |
|
inline |
◆ getControlsXf()
MRVIEWER_API AffineXf3f MR::ObjectTransformWidget::getControlsXf |
( |
ViewportId | id = {} | ) |
const |
◆ getRootObject()
std::shared_ptr< Object > MR::ObjectTransformWidget::getRootObject |
( |
| ) |
const |
|
inline |
◆ getTransformModeMask()
◆ reset()
MRVIEWER_API void MR::ObjectTransformWidget::reset |
( |
| ) |
|
◆ setAddXfCallback()
void MR::ObjectTransformWidget::setAddXfCallback |
( |
std::function< void(const AffineXf3f &)> | callback | ) |
|
|
inline |
◆ setApproveXfCallback()
void MR::ObjectTransformWidget::setApproveXfCallback |
( |
std::function< bool(const AffineXf3f &)> | callback | ) |
|
|
inline |
◆ setAxisTransformMode()
◆ setControlsXf()
MRVIEWER_API void MR::ObjectTransformWidget::setControlsXf |
( |
const AffineXf3f & | xf, |
|
|
ViewportId | id = {} ) |
◆ setRotateTooltipCallback()
void MR::ObjectTransformWidget::setRotateTooltipCallback |
( |
std::function< void(float)> | callback | ) |
|
|
inline |
◆ setScaleTooltipCallback()
void MR::ObjectTransformWidget::setScaleTooltipCallback |
( |
std::function< void(float)> | callback | ) |
|
|
inline |
◆ setStartModifyCallback()
void MR::ObjectTransformWidget::setStartModifyCallback |
( |
std::function< void()> | callback | ) |
|
|
inline |
◆ setStopModifyCallback()
void MR::ObjectTransformWidget::setStopModifyCallback |
( |
std::function< void()> | callback | ) |
|
|
inline |
◆ setTransformMode()
MRVIEWER_API void MR::ObjectTransformWidget::setTransformMode |
( |
ControlBit | mask, |
|
|
ViewportId | id = {} ) |
◆ setTranslateTooltipCallback()
void MR::ObjectTransformWidget::setTranslateTooltipCallback |
( |
std::function< void(float)> | callback | ) |
|
|
inline |
The documentation for this class was generated from the following file: