widget for surface modifying @detail available 3 modes: add (move surface region in direction of normal) remove (move surface region in opposite direction to normal) relax (relax surface region)
More...
#include <MRSurfaceManipulationWidget.h>
widget for surface modifying @detail available 3 modes: add (move surface region in direction of normal) remove (move surface region in opposite direction to normal) relax (relax surface region)
◆ DeviationCalculationMethod
Method for calculating mesh changes.
Enumerator |
---|
PointToPoint | distance between the start and end points
|
PointToPlane | distance between the initial plane (starting point and normal to it) and the end point
|
ExactDistance | distance between the start and end meshes
|
◆ WorkMode
widget work modes
Enumerator |
---|
Add | |
Remove | |
Relax | |
Laplacian | |
Patch | |
◆ SurfaceManipulationWidget()
MRVIEWER_API MR::SurfaceManipulationWidget::SurfaceManipulationWidget |
( |
| ) |
|
◆ ~SurfaceManipulationWidget()
MRVIEWER_API MR::SurfaceManipulationWidget::~SurfaceManipulationWidget |
( |
| ) |
|
◆ deviationCalculationMethod()
get method for calculating mesh changes
◆ enableDeviationVisualization()
MRVIEWER_API void MR::SurfaceManipulationWidget::enableDeviationVisualization |
( |
bool | enable | ) |
|
enable visualization of mesh deviations
◆ getMinMax()
MRVIEWER_API Vector2f MR::SurfaceManipulationWidget::getMinMax |
( |
| ) |
|
get min / max point shifts for (usefull for setup palette)
◆ getMinRadius()
MRVIEWER_API float MR::SurfaceManipulationWidget::getMinRadius |
( |
| ) |
|
|
inline |
mimum radius of editing area.
◆ getSettings()
MRVIEWER_API const Settings & MR::SurfaceManipulationWidget::getSettings |
( |
| ) |
|
|
inline |
◆ ignoreOcclusion()
MRVIEWER_API bool MR::SurfaceManipulationWidget::ignoreOcclusion |
( |
| ) |
const |
|
inline |
◆ init()
MRVIEWER_API void MR::SurfaceManipulationWidget::init |
( |
const std::shared_ptr< ObjectMesh > & | objectMesh | ) |
|
◆ palette()
Palette & MR::SurfaceManipulationWidget::palette |
( |
| ) |
|
|
inline |
get palette used for visualization point shifts
◆ reset()
MRVIEWER_API void MR::SurfaceManipulationWidget::reset |
( |
| ) |
|
◆ sameValidVerticesAsInOriginMesh()
MRVIEWER_API bool MR::SurfaceManipulationWidget::sameValidVerticesAsInOriginMesh |
( |
| ) |
const |
|
inline |
checks for a one-to-one correspondence between the vertices of the original grid and the modified one
◆ setDeviationCalculationMethod()
set method for calculating mesh changes
◆ setFixedRegion()
MRVIEWER_API void MR::SurfaceManipulationWidget::setFixedRegion |
( |
const FaceBitSet & | region | ) |
|
lock the mesh region (vertices in this region cannot be moved, added or deleted)
- Note
- boundary edges can be splitted to improve quality of the patch
◆ setIgnoreOcclusion()
MRVIEWER_API void MR::SurfaceManipulationWidget::setIgnoreOcclusion |
( |
bool | ignore | ) |
|
|
inline |
allow the user to edit parts of object that are hidden in the current view by other objects
◆ setSettings()
MRVIEWER_API void MR::SurfaceManipulationWidget::setSettings |
( |
const Settings & | settings | ) |
|
set widget settings (mesh change settings)
◆ updateTexture()
MRVIEWER_API void MR::SurfaceManipulationWidget::updateTexture |
( |
| ) |
|
update texture used for colorize surface (use after change colorMap in palette)
◆ updateUVs()
MRVIEWER_API void MR::SurfaceManipulationWidget::updateUVs |
( |
| ) |
|
update texture uv coords used for colorize surface (use after change ranges in palette)
The documentation for this class was generated from the following file: