|
MeVisLab Scripting Reference
|
#include <mlOpenVDBGridWrapper.h>
Public Slots | |
| MLOpenVDBGridWrapper * | deepCopy () |
| QVariant | getValueRange () const |
| bool | hasIsoValue (double isoValue=0.0) const |
| QVariantList | origin () const |
| double | resolution () const |
| MLWEMWrapper * | toWEM (double adaptivity=0.0, double isoValue=0.0) |
Constructive solid geometry operations. | |
| void | csgDifference (MLOpenVDBGridWrapper *other) |
| void | csgIntersection (MLOpenVDBGridWrapper *other) |
| void | csgUnion (MLOpenVDBGridWrapper *other) |
Filter operations. | |
| void | applyGaussian (double width=1) |
| void | applyLaplacian () |
| void | applyMean (double width=1) |
| void | applyMeanCurvature () |
| void | applyMedian (double width=1) |
| void | applyOffset (double offset) |
| void | add (double value) |
Friends | |
| class | MLOpenVDBToolsWrapper |
A class that wraps an OpenVDB grid (and some auxillary data).
|
slot |
Adds a value to all voxels. For dilate/erode operations, this is faster than applyOffset(), but somewhat less exact (but equal to selecting another isoValue in toWEM() ).
|
slot |
Applies a Gaussian filter.
|
slot |
Applies a Laplacian filter.
|
slot |
Applies a mean filter.
|
slot |
Applies a mean curvature filter.
|
slot |
Applies a median filter.
|
slot |
Applies an offset filter with the given offset value.
|
slot |
Subtracts other from this grid.
|
slot |
Intersects other with this grid.
|
slot |
Creates the union of other with this grid.
|
inlineslot |
Create a deep copy of this grid
|
slot |
Returns the value range of grid as a pair (minimum, maximum) or None if the grid is empty.
|
slot |
Returns true if the given isoValue is in the value range of the grid. Useful if you only want to know if the result of a CSG intersection operation is empty, without needing the resulting surface object.
|
slot |
Returns the origin of the grid.
|
inlineslot |
Returns the resolution of the grid.
|
slot |
Creates a WEM surface from the level-set.
| adaptivity | Determines how much triangles are reduced. |
| isoValue | The level-set value at which to create the surface. |
isoValue different from zero, check whether the grid was created with an appropriate bandwidth in MLOpenVDBToolsWrapper::createGrid or MLOpenVDBToolsWrapper::createCompatibleGrid. For positive values, the exteriorBandwidth should be at least this value. For negative values, the interiorBandwidth should be at least this value negated.