#include <MRSurfacePointPicker.h>
◆ PositionType
Enumerator |
---|
Faces | |
FaceCenters | |
Edges | |
EdgeCeneters | |
Verts | |
◆ ~SurfacePointWidget()
MRVIEWER_API MR::SurfacePointWidget::~SurfacePointWidget |
( |
| ) |
|
◆ create() [1/2]
◆ create() [2/2]
◆ getAutoHover()
bool MR::SurfacePointWidget::getAutoHover |
( |
| ) |
const |
|
inline |
◆ getBaseSurface()
std::shared_ptr< VisualObject > & MR::SurfacePointWidget::getBaseSurface |
( |
| ) |
|
|
inline |
◆ getCurrentPosition()
const PickedPoint & MR::SurfacePointWidget::getCurrentPosition |
( |
| ) |
const |
|
inline |
◆ getCurrentPositionMeshTriPoint()
std::optional< MeshTriPoint > MR::SurfacePointWidget::getCurrentPositionMeshTriPoint |
( |
| ) |
const |
|
inline |
◆ getParameters()
const Parameters & MR::SurfacePointWidget::getParameters |
( |
| ) |
const |
|
inline |
◆ getPickSphere()
std::shared_ptr< SphereObject > MR::SurfacePointWidget::getPickSphere |
( |
| ) |
const |
|
inline |
◆ isOnMove()
bool MR::SurfacePointWidget::isOnMove |
( |
| ) |
const |
|
inlinenodiscard |
◆ isPickIntoBackFace()
static bool MR::SurfacePointWidget::isPickIntoBackFace |
( |
const std::shared_ptr< MR::VisualObject > & | obj, |
|
|
const MR::PointOnObject & | pick, |
|
|
const Vector3f & | cameraEye ) |
|
staticnodiscard |
◆ reset()
MRVIEWER_API void MR::SurfacePointWidget::reset |
( |
| ) |
|
◆ setAutoHover()
void MR::SurfacePointWidget::setAutoHover |
( |
bool | on | ) |
|
|
inline |
◆ setEndMoveCallback()
void MR::SurfacePointWidget::setEndMoveCallback |
( |
std::function< void(const PickedPoint &)> | endMove | ) |
|
|
inline |
◆ setHovered()
MRVIEWER_API void MR::SurfacePointWidget::setHovered |
( |
bool | on | ) |
|
◆ setOnMoveCallback()
void MR::SurfacePointWidget::setOnMoveCallback |
( |
std::function< void(const PickedPoint &)> | onMove | ) |
|
|
inline |
◆ setParameters()
MRVIEWER_API void MR::SurfacePointWidget::setParameters |
( |
const Parameters & | params | ) |
|
◆ setStartMoveCallback()
void MR::SurfacePointWidget::setStartMoveCallback |
( |
std::function< void(const PickedPoint &)> | startMove | ) |
|
|
inline |
◆ toVector3f()
MRVIEWER_API Vector3f MR::SurfacePointWidget::toVector3f |
( |
| ) |
const |
◆ updateCurrentPosition() [1/2]
MRVIEWER_API void MR::SurfacePointWidget::updateCurrentPosition |
( |
const PickedPoint & | pos | ) |
|
◆ updateCurrentPosition() [2/2]
MRVIEWER_API void MR::SurfacePointWidget::updateCurrentPosition |
( |
const PointOnObject & | pos | ) |
|
◆ updateParameters()
MRVIEWER_API void MR::SurfacePointWidget::updateParameters |
( |
const std::function< void(Parameters &)> & | visitor | ) |
|
Update the widget parameters.
- Parameters
-
visitor | - the function that takes the widget parameters and modifies them. Then the parameters are applied by setParameters. |
The documentation for this class was generated from the following file: