Class containing a set of parameters for the mesh filtration functionality. More...
Types | |
enum class | MESH_FILTER |
Lists available mesh filtering intensities. More... | |
Functions | |
MeshFilterParameters (MESH_FILTER mesh_filtering=MESH_FILTER::LOW) | |
Default constructor. More... | |
void | set (MESH_FILTER mesh_filtering=MESH_FILTER::LOW) |
Sets the filtering intensity. More... | |
bool | save (String filename) |
Saves the current set of parameters into a file to be reloaded with the load() method. More... | |
bool | load (String filename) |
Loads a set of parameters from the values contained in a previously saved file. More... | |
Attributes | |
MESH_FILTER | filtering = MESH_FILTER::LOW |
Filtering intensity. More... | |
Class containing a set of parameters for the mesh filtration functionality.
The default constructor sets all parameters to their default settings.
|
inline |
Default constructor.
All the parameters are set to their default values.
|
inline |
Sets the filtering intensity.
mesh_filtering | : Desired sl::MeshFilterParameters::MESH_FILTER. |
bool save | ( | String | filename | ) |
Saves the current set of parameters into a file to be reloaded with the load() method.
filename | : Name of the file which will be created to store the parameters. |
bool load | ( | String | filename | ) |
Loads a set of parameters from the values contained in a previously saved file.
filename | : Path to the file from which the parameters will be loaded. |
MESH_FILTER filtering = MESH_FILTER::LOW |
Filtering intensity.