#include <Stencils.h>
Inherits BaseStencil< GridType, ThirteenPointStencil< GridType > >.
Public Member Functions |
| ThirteenPointStencil (const GridType &grid) |
template<int i, int j, int k> |
unsigned int | pos () const |
| Return linear offset for the specified stencil point relative to its center.
|
void | moveTo (const Coord &ijk) |
void | moveTo (const IterType &iter) |
| Initialize the stencil buffer with the values of voxel (x, y, z) and its neighbors.
|
ValueType | getValue (unsigned int pos=0) const |
| Return the value from the stencil buffer with linear offset pos.
|
const ValueType & | getValue () const |
| Return the value at the specified location relative to the center of the stencil.
|
void | setValue (const ValueType &value) |
| Set the value at the specified location relative to the center of the stencil.
|
int | size () |
| Return the size of the stencil buffer.
|
ValueType | median () const |
| Return the median value of the current stencil.
|
ValueType | mean () const |
| Return the mean value of the current stencil.
|
ValueType | min () const |
| Return the smallest value in the stencil buffer.
|
ValueType | max () const |
| Return the largest value in the stencil buffer.
|
const Coord & | getCenterCoord () const |
| Return the coordinates of the center point of the stencil.
|
const ValueType & | getCenterValue () const |
| Return the value at the center of the stencil.
|
bool | intersects (const ValueType &isoValue=zeroVal< ValueType >()) const |
Static Public Attributes |
static const int | SIZE = 13 |
Member Typedef Documentation
Constructor & Destructor Documentation
Member Function Documentation
const Coord& getCenterCoord |
( |
| ) |
const |
|
inlineinherited |
Return the coordinates of the center point of the stencil.
Return the value at the center of the stencil.
ValueType getValue |
( |
unsigned int |
pos = 0 | ) |
const |
|
inlineinherited |
Return the value from the stencil buffer with linear offset pos.
The default (pos = 0) corresponds to the center point of the stencil.
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
Return the largest value in the stencil buffer.
Return the mean value of the current stencil.
Return the median value of the current stencil.
Return the smallest value in the stencil buffer.
void moveTo |
( |
const Coord & |
ijk | ) |
|
|
inlineinherited |
Initialize the stencil buffer with the values of voxel (x, y, z) and its neighbors.
Initialize the stencil buffer with the values of voxel (x, y, z) and its neighbors.
- Note
- This version is slightly faster than the one above, since the center voxel's value is read directly from the iterator.
unsigned int pos |
( |
| ) |
const |
|
inline |
Return linear offset for the specified stencil point relative to its center.
Set the value at the specified location relative to the center of the stencil.
Return the size of the stencil buffer.
Friends And Related Function Documentation
Member Data Documentation
GridType::ConstAccessor mCache |
|
protectedinherited |
The documentation for this class was generated from the following file: