MeshLib
 
Loading...
Searching...
No Matches
MR::PlaneWidget Class Reference

#include <MRPlaneWidget.h>

+ Inheritance diagram for MR::PlaneWidget:

Public Member Functions

MRVIEWER_API void updatePlane (const Plane3f &plane, bool updateCameraRotation=true)
 
MRVIEWER_API void updateBox (const Box3f &box, bool updateCameraRotation=true)
 
MRVIEWER_API void definePlane ()
 
MRVIEWER_API void undefinePlane ()
 
MRVIEWER_API void setLocalMode (bool on)
 
bool isInLocalMode () const
 
void setLocalShift (float shift)
 
float getLocalShift () const
 
MRVIEWER_API const Plane3f & getPlane () const
 
MRVIEWER_API const std::shared_ptr< ObjectMesh > & getPlaneObject () const
 
MRVIEWER_API void setOnPlaneUpdateCallback (OnPlaneUpdateCallback callback)
 
MRVIEWER_API const Box3fbox () const
 
MRVIEWER_API bool importPlaneMode () const
 
MRVIEWER_API void setImportPlaneMode (bool val)
 
bool getShowPlaneByDefault () const
 
void setShowPlaneByDefault (bool val)
 
- Public Member Functions inherited from MR::MultiListener< MouseDownListener, MouseMoveListener, MouseUpListener >
virtual ~MultiListener ()=default
 
virtual void connect (Viewer *viewer, int group=0, boost::signals2::connect_position pos=boost::signals2::connect_position::at_back)
 
virtual void disconnect ()
 

Member Function Documentation

◆ box()

MRVIEWER_API const Box3f & MR::PlaneWidget::box ( ) const

◆ definePlane()

MRVIEWER_API void MR::PlaneWidget::definePlane ( )

◆ getLocalShift()

float MR::PlaneWidget::getLocalShift ( ) const
inline

◆ getPlane()

MRVIEWER_API const Plane3f & MR::PlaneWidget::getPlane ( ) const

◆ getPlaneObject()

MRVIEWER_API const std::shared_ptr< ObjectMesh > & MR::PlaneWidget::getPlaneObject ( ) const

◆ getShowPlaneByDefault()

bool MR::PlaneWidget::getShowPlaneByDefault ( ) const
inline

◆ importPlaneMode()

MRVIEWER_API bool MR::PlaneWidget::importPlaneMode ( ) const

◆ isInLocalMode()

bool MR::PlaneWidget::isInLocalMode ( ) const
inline

◆ setImportPlaneMode()

MRVIEWER_API void MR::PlaneWidget::setImportPlaneMode ( bool val)

◆ setLocalMode()

MRVIEWER_API void MR::PlaneWidget::setLocalMode ( bool on)

◆ setLocalShift()

void MR::PlaneWidget::setLocalShift ( float shift)
inline

◆ setOnPlaneUpdateCallback()

MRVIEWER_API void MR::PlaneWidget::setOnPlaneUpdateCallback ( OnPlaneUpdateCallback callback)

◆ setShowPlaneByDefault()

void MR::PlaneWidget::setShowPlaneByDefault ( bool val)
inline

◆ undefinePlane()

MRVIEWER_API void MR::PlaneWidget::undefinePlane ( )

◆ updateBox()

MRVIEWER_API void MR::PlaneWidget::updateBox ( const Box3f & box,
bool updateCameraRotation = true )

◆ updatePlane()

MRVIEWER_API void MR::PlaneWidget::updatePlane ( const Plane3f & plane,
bool updateCameraRotation = true )

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