MeVisLab Scripting Reference
|
#include <mlOpenVDBToolsWrapper.h>
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 |
Create 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 |
Create a sparse level-set grid from a (closed) WEM.
The origin is placed at the center of the WEM.
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.) |