CLevelSet
-
class Lib3MF::CLevelSet : public CObject
-
PFunction GetFunction()
Returns the function that is used as boundary shape.
- Returns:
the function to use as boundary shape
-
void SetFunction(classParam<CFunction> pTheFunction)
Sets the function to use as boundary shape.
- Parameters:
pTheFunction – the function to use as boundary shape
-
sTransform GetTransform()
Returns the transformation matrix into the coordinate system of the referenced Function.
- Returns:
the transformation matrix
-
void SetTransform(const sTransform &Transform)
Sets the transformation matrix into the coordinate system of the referenced Function.
- Parameters:
Transform – new transformation matrix
-
std::string GetChannelName()
Returns the name of the function output channel to use.
- Returns:
the name of the function output channel
-
void SetChannelName(const std::string &sChannelName)
Sets the name of the function output channel to use.
- Parameters:
sChannelName – new name of the function output channel
-
void SetMinFeatureSize(const Lib3MF_double dMinFeatureSize)
Sets the minimal feature size as a hint for the function evaluator
- Parameters:
dMinFeatureSize – minimal feature size
-
Lib3MF_double GetMinFeatureSize()
Returns the minimal feature size as a hint for the function evaluator
- Returns:
minimal feature size
-
void SetFallBackValue(const Lib3MF_double dFallBackValue)
Sets the fallback value to use if the function evaluation fails (e.g. evaluates to NaN or Inf).
- Parameters:
dFallBackValue – fallback value
-
Lib3MF_double GetFallBackValue()
Returns the fallback value to use if the function evaluation fails (e.g. evaluates to NaN or Inf).
- Returns:
fallback value
-
void SetMeshBBoxOnly(const bool bMeshBBoxOnly)
If set only the bounding box of the mesh is intersected with the boundary
- Parameters:
bMeshBBoxOnly – If set only the bounding box of the mesh is intersected with the boundary
-
bool GetMeshBBoxOnly()
If set only the bounding box of the mesh is intersected with the boundary
- Returns:
If set only the bounding box of the mesh is intersected with the boundary
-
void SetMesh(classParam<CMeshObject> pTheMesh)
Sets the mesh to use as evaluation domain
- Parameters:
pTheMesh – The mesh
-
PMeshObject GetMesh()
Returns the mesh that is used as evaluation domain
- Returns:
The mesh
-
PVolumeData GetVolumeData()
Retrieves the VolumeData this Object.
- Returns:
the VolumeData of this Object
-
void SetVolumeData(classParam<CVolumeData> pTheVolumeData)
Sets the VolumeData of this LevelSet.
- Parameters:
pTheVolumeData – the VolumeData of this MeshObject
-
PFunction GetFunction()