|
OpenVDB
1.2.0
|
#include <Stencils.h>
Public Types | |
| typedef _GridType | GridType |
| typedef GridType::TreeType | TreeType |
| typedef GridType::ValueType | ValueType |
| typedef std::vector< ValueType > | BufferType |
| typedef BufferType::iterator | IterType |
Public Member Functions | |
| void | moveTo (const Coord &ijk) |
| Initialize the stencil buffer with the values of voxel (x, y, z) and its neighbors. More... | |
| template<typename IterType > | |
| void | moveTo (const IterType &iter) |
| Initialize the stencil buffer with the values of voxel (x, y, z) and its neighbors. More... | |
| ValueType | getValue (unsigned int pos=0) const |
| Return the value from the stencil buffer with linear offset pos. More... | |
| template<int i, int j, int k> | |
| const ValueType & | getValue () const |
| Return the value at the specified location relative to the center of the stencil. More... | |
| template<int i, int j, int k> | |
| void | setValue (const ValueType &value) |
| Set the value at the specified location relative to the center of the stencil. More... | |
| int | size () |
| Return the size of the stencil buffer. More... | |
| ValueType | median () const |
| Return the median value of the current stencil. More... | |
| ValueType | mean () const |
| Return the mean value of the current stencil. More... | |
| ValueType | min () const |
| Return the smallest value in the stencil buffer. More... | |
| ValueType | max () const |
| Return the largest value in the stencil buffer. More... | |
| const Coord & | getCenterCoord () const |
| Return the coordinates of the center point of the stencil. More... | |
| const ValueType & | getCenterValue () const |
| Return the value at the center of the stencil. More... | |
| bool | intersects (const ValueType &isoValue=zeroVal< ValueType >()) const |
| Return true if the center of the stencil intersects the iso-contour specified by the isoValue. More... | |
Protected Member Functions | |
| BaseStencil (const GridType &grid, int size) | |
Protected Attributes | |
| GridType::ConstAccessor | mCache |
| BufferType | mStencil |
| Coord | mCenter |
| typedef std::vector<ValueType> BufferType |
| typedef _GridType GridType |
| typedef BufferType::iterator IterType |
| typedef GridType::TreeType TreeType |
| typedef GridType::ValueType ValueType |
|
inlineprotected |
|
inline |
Return the coordinates of the center point of the stencil.
|
inline |
Return the value at the center of the stencil.
|
inline |
Return the value from the stencil buffer with linear offset pos.
|
inline |
Return the value at the specified location relative to the center of the stencil.
Return true if the center of the stencil intersects the iso-contour specified by the isoValue.
|
inline |
Return the largest value in the stencil buffer.
|
inline |
Return the mean value of the current stencil.
|
inline |
Return the median value of the current stencil.
|
inline |
Return the smallest value in the stencil buffer.
|
inline |
Initialize the stencil buffer with the values of voxel (x, y, z) and its neighbors.
|
inline |
Initialize the stencil buffer with the values of voxel (x, y, z) and its neighbors.
|
inline |
Set the value at the specified location relative to the center of the stencil.
|
inline |
Return the size of the stencil buffer.
|
protected |
|
protected |
|
protected |
1.8.4