A base class for volumes.
virtual PLATFORM_API void commit()=0
Commits changes to the volume.
PLATFORM_API Vector2f getValueRange() const
Get the Value Range object.
PLATFORM_API Vector2f getDataRange() const
PLATFORM_API Volume(const Vector3ui &dimensions, const Vector3f &spacing, const DataType type)
Constructs a Volume object.
virtual PLATFORM_API void setDataRange(const Vector2f &range)=0
PLATFORM_API Boxd getBounds() const
Gets the bounding box of the volume.
PLATFORM_API Vector3f getOffset() const
Get the Offset object.
PLATFORM_API Vector3f getDimensions() const
Get the Dimensions object.
PLATFORM_API Vector3f getElementSpacing() const
Get the Element Spacing object.
PLATFORM_API size_t getSizeInBytes() const
Gets the size of the volume in bytes.
const Vector3ui _dimensions
std::atomic_size_t _sizeInBytes
glm::vec< 3, uint32_t > Vector3ui