MeshLib Documentation
Loading...
Searching...
No Matches
MR::ITransformControls Class Referenceabstract

#include <MRObjectTransformWidget.h>

+ Inheritance diagram for MR::ITransformControls:

Classes

class  ChangeCenterAction
 

Public Member Functions

virtual ~ITransformControls ()=default
 
const Vector3f & getCenter () const
 
MRVIEWER_API void setCenter (const Vector3f &center)
 
virtual float getRadius () const
 
void setTransformModesValidator (TransformModesValidator validator)
 
void setPickThrough (bool on)
 
bool getPickThrough () const
 
ControlBit getHoveredControl () const
 
virtual void init (std::shared_ptr< Object > parent)=0
 
virtual void update ()=0
 
void hover ()
 
void stopModify ()
 
MRVIEWER_API void updateVisualTransformMode (ControlBit showMask, ViewportMask viewportMask, const AffineXf3f &xf)
 
virtual void updateTranslation (Axis ax, const Vector3f &startMove, const Vector3f &endMove)=0
 
virtual void updateRotation (Axis ax, const AffineXf3f &xf, float startAngle, float endAngle)=0
 

Protected Member Functions

virtual ControlBit hover_ (bool pickThrough)=0
 
virtual void stopModify_ ()=0
 
virtual void updateVisualTransformMode_ (ControlBit showMask, ViewportMask viewportMask)=0
 

Constructor & Destructor Documentation

◆ ~ITransformControls()

virtual MR::ITransformControls::~ITransformControls ( )
virtualdefault

Member Function Documentation

◆ getCenter()

const Vector3f & MR::ITransformControls::getCenter ( ) const
inline

◆ getHoveredControl()

ControlBit MR::ITransformControls::getHoveredControl ( ) const
inline

◆ getPickThrough()

bool MR::ITransformControls::getPickThrough ( ) const
inline

◆ getRadius()

virtual float MR::ITransformControls::getRadius ( ) const
inlinevirtual

Reimplemented in MR::TransformControls.

◆ hover()

void MR::ITransformControls::hover ( )
inline

◆ hover_()

virtual ControlBit MR::ITransformControls::hover_ ( bool pickThrough)
protectedpure virtual

◆ init()

virtual void MR::ITransformControls::init ( std::shared_ptr< Object > parent)
pure virtual

Implemented in MR::TransformControls.

◆ setCenter()

MRVIEWER_API void MR::ITransformControls::setCenter ( const Vector3f & center)

◆ setPickThrough()

void MR::ITransformControls::setPickThrough ( bool on)
inline

◆ setTransformModesValidator()

void MR::ITransformControls::setTransformModesValidator ( TransformModesValidator validator)
inline

◆ stopModify()

void MR::ITransformControls::stopModify ( )
inline

◆ stopModify_()

virtual void MR::ITransformControls::stopModify_ ( )
protectedpure virtual

◆ update()

virtual void MR::ITransformControls::update ( )
pure virtual

Implemented in MR::TransformControls.

◆ updateRotation()

virtual void MR::ITransformControls::updateRotation ( Axis ax,
const AffineXf3f & xf,
float startAngle,
float endAngle )
pure virtual

Implemented in MR::TransformControls.

◆ updateTranslation()

virtual void MR::ITransformControls::updateTranslation ( Axis ax,
const Vector3f & startMove,
const Vector3f & endMove )
pure virtual

Implemented in MR::TransformControls.

◆ updateVisualTransformMode()

MRVIEWER_API void MR::ITransformControls::updateVisualTransformMode ( ControlBit showMask,
ViewportMask viewportMask,
const AffineXf3f & xf )

◆ updateVisualTransformMode_()

virtual void MR::ITransformControls::updateVisualTransformMode_ ( ControlBit showMask,
ViewportMask viewportMask )
protectedpure virtual

The documentation for this class was generated from the following file: