|
OpenVDB
2.0.0
|
Filtering of VDB volumes. More...
#include <Filter.h>
Public Types | |
| typedef GridT | GridType |
| typedef GridType::TreeType | TreeType |
| typedef TreeType::LeafNodeType | LeafType |
| typedef LeafType::ValueType | ValueType |
| typedef tree::LeafManager < TreeType > | LeafManagerType |
| typedef LeafManagerType::LeafRange | RangeType |
| typedef LeafManagerType::BufferType | BufferType |
Public Member Functions | |
| Filter (GridT &grid, InterruptT *interrupt=NULL) | |
| void | mean (int width=1, int iterations=1, bool serial=false) |
| One iteration of a fast separable mean-value (i.e. box) filter. More... | |
| void | gaussian (int width=1, int iterations=1, bool serial=false) |
| One iteration of a fast separable gaussian filter. More... | |
| void | median (int width=1, int iterations=1, bool serial=false) |
| One iteration of a median-value filter. More... | |
| void | offset (float offset, bool serial=false) |
| void | operator() (const RangeType &range) const |
| Used internally by tbb::parallel_for() More... | |
Filtering of VDB volumes.
| typedef GridT GridType |
| typedef tree::LeafManager<TreeType> LeafManagerType |
| typedef TreeType::LeafNodeType LeafType |
| typedef LeafManagerType::LeafRange RangeType |
| typedef GridType::TreeType TreeType |
| typedef LeafType::ValueType ValueType |
|
inline |
Constructor
| grid | Grid to be filtered. |
| interrupt | Optional interrupter. |
|
inline |
One iteration of a fast separable gaussian filter.
| width | The width of the mean-value filter is 2*width+1 voxels. |
| iterations | Numer of times the mean-value filter is applied. |
| serial | False if multi-threading is enabled. |
|
inline |
One iteration of a fast separable mean-value (i.e. box) filter.
| width | The width of the mean-value filter is 2*width+1 voxels. |
| iterations | Number of times the mean-value filter is applied. |
| serial | False if multi-threading is enabled. |
|
inline |
One iteration of a median-value filter.
| width | The width of the mean-value filter is 2*width+1 voxels. |
| iterations | Numer of times the mean-value filter is applied. |
| serial | False if multi-threading is enabled. |
|
inline |
Offsets (i.e. adds) a constant value to all active voxels.
| offset | Offset in world units |
| serial | False if multi-threading is enabled. |
|
inline |
Used internally by tbb::parallel_for()
| range | Range of LeafNodes over which to multi-thread. |
1.8.5