#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. | |
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
std::string MR::PickPointManager::Params::historyNameSuffix |
This is appended to the names of all undo/redo actions.
MR::Color MR::PickPointManager::Params::lastPointColor = Color::green() |
Color for the last modified point in the contour Parameters affect to future points only
PickerPointCallBack MR::PickPointManager::Params::onPointAdd |
This callback is invoked after a point is added with its index.
PickerPointCallBack MR::PickPointManager::Params::onPointMoveFinish |
This callback is invoked when point's dragging is completed.
PickerPointCallBack MR::PickPointManager::Params::onPointMoveStart |
This callback is invoked when a point starts being dragged.
PickerPointCallBack MR::PickPointManager::Params::onPointRemove |
This callback is invoked when a point is removed with its index before deletion.
MR::Color MR::PickPointManager::Params::ordinaryPointColor = Color::gray() |
Color for ordinary points in the contour Parameters affect to future points only
Viewport::PickRenderObjectPredicate MR::PickPointManager::Params::pickPredicate |
Predicate to additionally filter objects that should be treated as pickable.
SurfacePointWidget::Parameters MR::PickPointManager::Params::surfacePointParams |
Parameters for configuring the surface point widget Parameters affect to future points only
int MR::PickPointManager::Params::widgetContourCloseMod = GLFW_MOD_CONTROL |
Modifier key for closing a contour (ordered vector of points) using the widget.
int MR::PickPointManager::Params::widgetDeletePointMod = GLFW_MOD_SHIFT |
Modifier key for deleting a point using the widget.