MeVisLab Scripting Reference
|
#include <mlOpenVDBGridWrapper.h>
Inherits QObject.
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 <br> | |
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 which wraps an OpenVDB grid (and some auxillary data).
|
slot |
Simply add 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 |
Apply gaussian filter.
|
slot |
Apply laplacian filter.
|
slot |
Apply mean filter.
|
slot |
Apply mean curvature filter.
|
slot |
Apply median filter.
|
slot |
Apply offset filter with the given offset
value.
|
slot |
Subtract other
from this grid.
|
slot |
Intersection other
with this grid.
|
slot |
Create union of other
with this grid.
|
inlineslot |
Create a deep copy of this grid.
|
slot |
Return value range of grid as pair (minimum, maximum) or None if grid is empty.
|
slot |
Return 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 |
Return origin of the grid.
|
inlineslot |
Return resolution of the grid.
|
slot |
Create 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 that 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.