31 template <
typename VoxelType>
33 :m_regValidRegion(regValid)
45 template <
typename VoxelType>
54 template <
typename VoxelType>
66 template <
typename VoxelType>
77 template <
typename VoxelType>
80 return m_tBorderValue;
86 template <
typename VoxelType>
89 return m_regValidRegion;
96 template <
typename VoxelType>
99 return m_regValidRegion.getUpperX() - m_regValidRegion.getLowerX() + 1;
106 template <
typename VoxelType>
109 return m_regValidRegion.getUpperY() - m_regValidRegion.getLowerY() + 1;
116 template <
typename VoxelType>
119 return m_regValidRegion.getUpperZ() - m_regValidRegion.getLowerZ() + 1;
127 template <
typename VoxelType>
130 return m_uShortestSideLength;
138 template <
typename VoxelType>
141 return m_uLongestSideLength;
150 template <
typename VoxelType>
153 return m_fDiagonalLength;
162 template <
typename VoxelType>
165 POLYVOX_ASSERT(
false,
"You should never call the base class version of this function.");
173 template <
typename VoxelType>
176 POLYVOX_ASSERT(
false,
"You should never call the base class version of this function.");
186 template <
typename VoxelType>
189 POLYVOX_ASSERT(
false,
"You should never call the base class version of this function.");
197 template <
typename VoxelType>
200 POLYVOX_ASSERT(
false,
"You should never call the base class version of this function.");
210 template <
typename VoxelType>
213 POLYVOX_ASSERT(
false,
"You should never call the base class version of this function.");
221 template <
typename VoxelType>
224 POLYVOX_ASSERT(
false,
"You should never call the base class version of this function.");
231 template <
typename VoxelType>
234 m_tBorderValue = tBorder;
244 template <
typename VoxelType>
247 POLYVOX_ASSERT(
false,
"You should never call the base class version of this function.");
256 template <
typename VoxelType>
259 POLYVOX_ASSERT(
false,
"You should never call the base class version of this function.");
266 template <
typename VoxelType>
269 return getWidth() * getHeight() * getDepth() *
sizeof(
VoxelType);