Field3D
|
Checks if all the absolute values in the SparseBlock are greater than some number. Useful for making narrow band levelsets Used by SparseField::releaseBlocks(). More...
#include <SparseField.h>
Public Member Functions | |
bool | check (const SparseBlock< Data_T > &block, Data_T &retEmptyValue, const V3i &validSize, const V3i &blockSize) |
Checks whether a given block can be released. It's safe to assume that the block is allocated if this functor is called. | |
CheckMaxAbs (Data_T maxValue) | |
Constructor. Takes max value. | |
Private Attributes | |
Data_T | m_maxValue |
Checks if all the absolute values in the SparseBlock are greater than some number. Useful for making narrow band levelsets Used by SparseField::releaseBlocks().
Definition at line 811 of file SparseField.h.
|
inline |
|
inline |
Checks whether a given block can be released. It's safe to assume that the block is allocated if this functor is called.
block | Reference to the block to check |
retEmptyValue | If the block is to be removed, store the "empty value" that replaces it in this variable |
validSize | Number of voxels per dim within field data window |
blockSize | Number of voxels actually allocated per dim |
Definition at line 825 of file SparseField.h.
References FIELD3D_MTX_T, and Sparse::CheckMaxAbs< Data_T >::m_maxValue.
|
private |
Definition at line 872 of file SparseField.h.
Referenced by Sparse::CheckMaxAbs< Data_T >::check().