4#ifndef MRVIEWER_NO_VOXELS
wrapper class that helps mrbind to avoid excess MRVDBFloatGrid.h includes
Definition MRVoxels/MRFloatGrid.h:21
Definition MRImGuiImage.h:14
ImGui visualization of a slice from voxel object and seed marks on it.
Definition MRMarkedVoxelSlice.h:19
void setActivePlane(SlicePlane plane)
Definition MRMarkedVoxelSlice.h:71
void setCustomBackgroundMarks(const std::vector< Mark > &backgroundMarks)
Definition MRMarkedVoxelSlice.h:58
const Color & getColor(MaskType type) const
Definition MRMarkedVoxelSlice.h:40
void setParameters(const Parameters ¶ms)
Definition MRMarkedVoxelSlice.h:111
SlicePlane getActivePlane() const
Definition MRMarkedVoxelSlice.h:70
const Box3i & getActiveBox() const
Definition MRMarkedVoxelSlice.h:83
void setCustomForegroundMarks(const std::vector< Mark > &foregroundMarks)
Definition MRMarkedVoxelSlice.h:66
void setMask(const VoxelBitSet &mask, MaskType type)
Definition MRMarkedVoxelSlice.h:37
Mark & getMark(MaskType type)
Definition MRMarkedVoxelSlice.h:46
const Vector3i & getActiveVoxel() const
Definition MRMarkedVoxelSlice.h:73
std::vector< Mark > & getCustomBackgroundMarks()
Definition MRMarkedVoxelSlice.h:55
VoxelBitSet & getMask(MaskType type)
Definition MRMarkedVoxelSlice.h:33
void setActiveVoxel(const Vector3i &voxel)
Definition MRMarkedVoxelSlice.h:74
const std::vector< Mark > & getCustomForegroundMarks() const
Definition MRMarkedVoxelSlice.h:64
const VoxelBitSet & getMask(MaskType type) const
Definition MRMarkedVoxelSlice.h:35
float getMax() const
Definition MRMarkedVoxelSlice.h:79
std::vector< Mark > & getCustomForegroundMarks()
Definition MRMarkedVoxelSlice.h:63
void setMark(const Mark &mark, MaskType type)
Definition MRMarkedVoxelSlice.h:50
MRVIEWER_API void forceUpdate()
const std::vector< Mark > & getCustomBackgroundMarks() const
Definition MRMarkedVoxelSlice.h:56
const Parameters & getParameters() const
Definition MRMarkedVoxelSlice.h:109
float getMin() const
Definition MRMarkedVoxelSlice.h:77
void setMin(float min)
Definition MRMarkedVoxelSlice.h:78
void setActiveBox(const Box3i &box)
Definition MRMarkedVoxelSlice.h:85
MRVIEWER_API MarkedVoxelSlice(const ObjectVoxels &voxels)
const Mark & getMark(MaskType type) const
Definition MRMarkedVoxelSlice.h:48
void setColor(const Color &color, MaskType type)
Definition MRMarkedVoxelSlice.h:41
void setMax(float max)
Definition MRMarkedVoxelSlice.h:80
MaskType
Definition MRMarkedVoxelSlice.h:29
@ Inside
Definition MRMarkedVoxelSlice.h:29
@ Outside
Definition MRMarkedVoxelSlice.h:29
@ Count
Definition MRMarkedVoxelSlice.h:29
@ Segment
Definition MRMarkedVoxelSlice.h:29
Definition MRObjectVoxels.h:17
SlicePlane
Plane of slice in which to find path.
Definition MRVoxelPath.h:29
@ XY
= 2 cause main axis is z - [2]
Definition MRVoxelPath.h:32
Definition MRCameraOrientationPlugin.h:8
Definition MRMesh/MRColor.h:9
static constexpr Color yellow() noexcept
Definition MRMesh/MRColor.h:31
static constexpr Color red() noexcept
Definition MRMesh/MRColor.h:28
static constexpr Color blue() noexcept
Definition MRMesh/MRColor.h:30
Definition MRMarkedVoxelSlice.h:22
Color color
Definition MRMarkedVoxelSlice.h:23
VoxelBitSet mask
Definition MRMarkedVoxelSlice.h:24
Definition MRMarkedVoxelSlice.h:89
SlicePlane activePlane
Definition MRMarkedVoxelSlice.h:103
std::optional< Color > inactiveVoxelColor
Definition MRMarkedVoxelSlice.h:105
std::vector< Mark > customForegroundMarks
Definition MRMarkedVoxelSlice.h:93
Vector3i activeVoxel
Definition MRMarkedVoxelSlice.h:95
Box3i activeBox
Definition MRMarkedVoxelSlice.h:97
float min
Definition MRMarkedVoxelSlice.h:99
float max
Definition MRMarkedVoxelSlice.h:101
std::array< Mark, size_t(MaskType::Count)> marks
Definition MRMarkedVoxelSlice.h:91
std::vector< Mark > customBackgroundMarks
Definition MRMarkedVoxelSlice.h:92