Carna
Version 3.3.2
|
Computes the partitioning that VolumeGridHelper uses along one dimension. More...
#include <VolumeGridHelperDetails.h>
Public Member Functions | |
Partionining (std::size_t nativeSize, std::size_t regularPartitionSize) | |
Computes the partitioning. More... | |
std::size_t | totalSize () const |
Computes the effective total resolution. | |
std::size_t | partitionsCount () const |
Tells the total partitions number. | |
Public Attributes | |
std::size_t | regularPartitionSize |
Holds the always odd, effective resolution of a single regular partition. | |
std::size_t | regularPartitionsCount |
Holds the number of regular partitions, i.e. such of the size held by regularPartitionSize. | |
std::size_t | tailSize |
Holds the resolution of the last partition that may also be 0 . | |
Computes the partitioning that VolumeGridHelper uses along one dimension.
Definition at line 693 of file VolumeGridHelperDetails.h.
|
inline |
Computes the partitioning.
nativeSize | is the resolution of the actual payload data. |
regularPartitionSize | is the effective resolution of a single regular partition. It must be odd. |
Definition at line 702 of file VolumeGridHelperDetails.h.
Documentation generated by Doxygen