MeshLib Documentation
Loading...
Searching...
No Matches
MR::VoxelsVolume< T > Struct Template Reference

represents a box in 3D space subdivided on voxels stored in T More...

#include <MRVoxelsVolume.h>

+ Inheritance diagram for MR::VoxelsVolume< T >:

Public Types

using ValueType = typename VoxelTraits<T>::ValueType
 

Public Member Functions

size_t heapBytes () const
 

Public Attributes

data
 
Vector3i dims
 
Vector3f voxelSize { 1.f, 1.f, 1.f }
 

Detailed Description

template<typename T>
struct MR::VoxelsVolume< T >

represents a box in 3D space subdivided on voxels stored in T

Member Typedef Documentation

◆ ValueType

template<typename T >
using MR::VoxelsVolume< T >::ValueType = typename VoxelTraits<T>::ValueType

Member Function Documentation

◆ heapBytes()

template<typename T >
size_t MR::VoxelsVolume< T >::heapBytes ( ) const
inlinenodiscard

Member Data Documentation

◆ data

template<typename T >
T MR::VoxelsVolume< T >::data

◆ dims

template<typename T >
Vector3i MR::VoxelsVolume< T >::dims

◆ voxelSize

template<typename T >
Vector3f MR::VoxelsVolume< T >::voxelSize { 1.f, 1.f, 1.f }

The documentation for this struct was generated from the following file: