MeshLib C++ Docs
Loading...
Searching...
No Matches
MR::PickPointManager::Params Struct Reference

#include <MRPickPointManager.h>

Public Attributes

int widgetContourCloseMod = GLFW_MOD_CONTROL
 Modifier key for closing a contour (ordered vector of points) using the widget.
 
int widgetDeletePointMod = GLFW_MOD_SHIFT
 Modifier key for deleting a point using the widget.
 
std::string historyNameSuffix
 This is appended to the names of all undo/redo actions.
 
SurfacePointWidget::Parameters surfacePointParams
 
MR::Color ordinaryPointColor = Color::gray()
 
MR::Color lastPointColor = Color::green()
 
MR::Color closeContourPointColor = Color::transparent()
 
Viewport::PickRenderObjectPredicate pickPredicate
 Predicate to additionally filter objects that should be treated as pickable.
 
PickerPointCallBack onPointAdd
 This callback is invoked after a point is added with its index.
 
PickerPointCallBack onPointMoveStart
 This callback is invoked when a point starts being dragged.
 
PickerPointCallBack onPointMoveFinish
 This callback is invoked when point's dragging is completed.
 
PickerPointCallBack onPointRemove
 This callback is invoked when a point is removed with its index before deletion.
 

Member Data Documentation

◆ closeContourPointColor

MR::Color MR::PickPointManager::Params::closeContourPointColor = Color::transparent()

Color for the special point used to close a contour. Better do not change it. Parameters affect to future points only

◆ historyNameSuffix

std::string MR::PickPointManager::Params::historyNameSuffix

This is appended to the names of all undo/redo actions.

◆ lastPointColor

MR::Color MR::PickPointManager::Params::lastPointColor = Color::green()

Color for the last modified point in the contour Parameters affect to future points only

◆ onPointAdd

PickerPointCallBack MR::PickPointManager::Params::onPointAdd

This callback is invoked after a point is added with its index.

◆ onPointMoveFinish

PickerPointCallBack MR::PickPointManager::Params::onPointMoveFinish

This callback is invoked when point's dragging is completed.

◆ onPointMoveStart

PickerPointCallBack MR::PickPointManager::Params::onPointMoveStart

This callback is invoked when a point starts being dragged.

◆ onPointRemove

PickerPointCallBack MR::PickPointManager::Params::onPointRemove

This callback is invoked when a point is removed with its index before deletion.

◆ ordinaryPointColor

MR::Color MR::PickPointManager::Params::ordinaryPointColor = Color::gray()

Color for ordinary points in the contour Parameters affect to future points only

◆ pickPredicate

Viewport::PickRenderObjectPredicate MR::PickPointManager::Params::pickPredicate

Predicate to additionally filter objects that should be treated as pickable.

◆ surfacePointParams

SurfacePointWidget::Parameters MR::PickPointManager::Params::surfacePointParams

Parameters for configuring the surface point widget Parameters affect to future points only

◆ widgetContourCloseMod

int MR::PickPointManager::Params::widgetContourCloseMod = GLFW_MOD_CONTROL

Modifier key for closing a contour (ordered vector of points) using the widget.

◆ widgetDeletePointMod

int MR::PickPointManager::Params::widgetDeletePointMod = GLFW_MOD_SHIFT

Modifier key for deleting a point using the widget.


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