4#ifndef MRVIEWER_NO_VOXELS
Definition MRImGuiImage.h:14
ImGui visualization of a slice from voxel object and seed marks on it.
Definition MRMarkedVoxelSlice.h:18
void setActivePlane(SlicePlane plane)
Definition MRMarkedVoxelSlice.h:70
void setCustomBackgroundMarks(const std::vector< Mark > &backgroundMarks)
Definition MRMarkedVoxelSlice.h:57
const Color & getColor(MaskType type) const
Definition MRMarkedVoxelSlice.h:39
void setParameters(const Parameters ¶ms)
Definition MRMarkedVoxelSlice.h:110
SlicePlane getActivePlane() const
Definition MRMarkedVoxelSlice.h:69
const Box3i & getActiveBox() const
Definition MRMarkedVoxelSlice.h:82
void setCustomForegroundMarks(const std::vector< Mark > &foregroundMarks)
Definition MRMarkedVoxelSlice.h:65
void setMask(const VoxelBitSet &mask, MaskType type)
Definition MRMarkedVoxelSlice.h:36
Mark & getMark(MaskType type)
Definition MRMarkedVoxelSlice.h:45
const Vector3i & getActiveVoxel() const
Definition MRMarkedVoxelSlice.h:72
std::vector< Mark > & getCustomBackgroundMarks()
Definition MRMarkedVoxelSlice.h:54
VoxelBitSet & getMask(MaskType type)
Definition MRMarkedVoxelSlice.h:32
void setActiveVoxel(const Vector3i &voxel)
Definition MRMarkedVoxelSlice.h:73
const std::vector< Mark > & getCustomForegroundMarks() const
Definition MRMarkedVoxelSlice.h:63
const VoxelBitSet & getMask(MaskType type) const
Definition MRMarkedVoxelSlice.h:34
float getMax() const
Definition MRMarkedVoxelSlice.h:78
std::vector< Mark > & getCustomForegroundMarks()
Definition MRMarkedVoxelSlice.h:62
void setMark(const Mark &mark, MaskType type)
Definition MRMarkedVoxelSlice.h:49
MRVIEWER_API void forceUpdate()
const std::vector< Mark > & getCustomBackgroundMarks() const
Definition MRMarkedVoxelSlice.h:55
const Parameters & getParameters() const
Definition MRMarkedVoxelSlice.h:108
float getMin() const
Definition MRMarkedVoxelSlice.h:76
void setMin(float min)
Definition MRMarkedVoxelSlice.h:77
void setActiveBox(const Box3i &box)
Definition MRMarkedVoxelSlice.h:84
MRVIEWER_API MarkedVoxelSlice(const ObjectVoxels &voxels)
const Mark & getMark(MaskType type) const
Definition MRMarkedVoxelSlice.h:47
void setColor(const Color &color, MaskType type)
Definition MRMarkedVoxelSlice.h:40
void setMax(float max)
Definition MRMarkedVoxelSlice.h:79
MaskType
Definition MRMarkedVoxelSlice.h:28
@ Inside
Definition MRMarkedVoxelSlice.h:28
@ Outside
Definition MRMarkedVoxelSlice.h:28
@ Count
Definition MRMarkedVoxelSlice.h:28
@ Segment
Definition MRMarkedVoxelSlice.h:28
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
std::shared_ptr< OpenVdbFloatGrid > FloatGrid
Definition MRVoxelsFwd.h:25
static constexpr Color yellow() noexcept
Definition MRColor.h:33
static constexpr Color red() noexcept
Definition MRColor.h:30
static constexpr Color blue() noexcept
Definition MRColor.h:32
Definition MRMarkedVoxelSlice.h:21
Color color
Definition MRMarkedVoxelSlice.h:22
VoxelBitSet mask
Definition MRMarkedVoxelSlice.h:23
Definition MRMarkedVoxelSlice.h:88
SlicePlane activePlane
Definition MRMarkedVoxelSlice.h:102
std::optional< Color > inactiveVoxelColor
Definition MRMarkedVoxelSlice.h:104
std::vector< Mark > customForegroundMarks
Definition MRMarkedVoxelSlice.h:92
Vector3i activeVoxel
Definition MRMarkedVoxelSlice.h:94
Box3i activeBox
Definition MRMarkedVoxelSlice.h:96
float min
Definition MRMarkedVoxelSlice.h:98
float max
Definition MRMarkedVoxelSlice.h:100
std::array< Mark, size_t(MaskType::Count)> marks
Definition MRMarkedVoxelSlice.h:90
std::vector< Mark > customBackgroundMarks
Definition MRMarkedVoxelSlice.h:91