![]() |
Carna Version 3.3.3
|
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. | |
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.
|
inline |
Tells the total partitions number.
Definition at line 737 of file VolumeGridHelperDetails.h.
|
inline |
Computes the effective total resolution.
Definition at line 729 of file VolumeGridHelperDetails.h.
std::size_t Carna::helpers::details::VolumeGridHelper::Partionining::regularPartitionsCount |
Holds the number of regular partitions, i.e. such of the size held by regularPartitionSize.
Definition at line 719 of file VolumeGridHelperDetails.h.
std::size_t Carna::helpers::details::VolumeGridHelper::Partionining::regularPartitionSize |
Holds the always odd, effective resolution of a single regular partition.
Definition at line 713 of file VolumeGridHelperDetails.h.
std::size_t Carna::helpers::details::VolumeGridHelper::Partionining::tailSize |
Holds the resolution of the last partition that may also be 0
.
Definition at line 724 of file VolumeGridHelperDetails.h.
Documentation generated by Doxygen