MeVisLab Scripting Reference
|
Inherits QObject.
Public Slots | |
MLOpenVDBGridWrapper * | createCompatibleGrid (MLWEMWrapper *wem, MLOpenVDBGridWrapper *ref, double exteriorBandwidth=3.0, double interiorBandwidth=3.0) |
MLOpenVDBGridWrapper * | createGrid (MLWEMWrapper *wem, double resolution=1.0, double exteriorBandwidth=3.0, double interiorBandwidth=3.0) |
A scripting extension offering access to some OpenVDB sparse level-set operations.
Create an instance of this class with
|
slot |
Creates a sparse level-set grid from a (closed) WEM.
Origin and resolution are taken over from a reference grid.
ref | The reference grid |
exteriorBandwidth | The region outside the surface to fill with distance values. Everything further apart will have the maximum value.) |
interiorBandwidth | The region inside the surface to fill with (negative) distance values. Everything further apart will have the minimum value. |
|
slot |
Creates a sparse level-set grid from a (closed) WEM.
The origin is placed at the center of the WEM.
resolution | The resolution in mm of the created grid. |
exteriorBandwidth | The region outside the surface to fill with distance values. Everything further apart will have the maximum value. |
interiorBandwidth | The region inside the surface to fill with (negative) distance values. Everything further apart will have the minimum value. |