#include <FractureToolsStructs.h>
Public Member Functions | |
MeshProcessingParameters () | |
void | setToDefault () |
Public Attributes | |
bool | islandGeneration |
bool | removeTJunctions |
unsigned | microgridSize |
nvidia::BSPOpenMode::Enum | meshMode |
int | verbosity |
These parameters are passed into the fracturing functions to guide mesh processing.
FractureTools::MeshProcessingParameters::MeshProcessingParameters | ( | ) | [inline] |
Constructor sets defaults
void FractureTools::MeshProcessingParameters::setToDefault | ( | ) | [inline] |
Set default values
If this is true, separate mesh islands will be turned into separate chunks. Default = false.
nvidia::BSPOpenMode::Enum FractureTools::MeshProcessingParameters::meshMode |
Open mesh handling. Modes: Automatic, Closed, Open (see BSPOpenMode) Closed mode assumes the mesh is closed and attempts to insert interior faces. Open mode assumes the mesh is open and does not insert interior faces. Automatic mode attempts to determine if the mesh is open or closed, and act accordingly.
Default is Automatic mode.
The mesh is initially scaled to fit in a unit cube, then (if gridSize is not zero), the vertices of the scaled mesh are snapped to a grid of size 1/gridSize. A power of two is recommended. Default = 65536.
If this is true, all T-junctions will be removed from the mesh. Default = false.
Debug output verbosity level. The higher the number, the more messages are output. Default = 0.