#include <SimplygonSDK.h>
Remeshing settings for the IRemeshingProcessorV2 class.
Definition at line 13562 of file SimplygonSDK.h.
◆ GetClass()
virtual const char* SimplygonSDK::IRemeshingSettingsV2::GetClass |
( |
| ) |
|
|
virtual |
GetClass returns the name of the class of the object.
- Returns
- the name of the actual class of the object, as a const char string
Reimplemented from SimplygonSDK::ISettingsObject.
◆ GetHardEdgeAngleInRadians()
virtual real SimplygonSDK::IRemeshingSettingsV2::GetHardEdgeAngleInRadians |
( |
| ) |
|
|
pure virtual |
Set/Get the normal hard angle cutoff (in radians)
- Returns
- the current value of HardEdgeAngleInRadians
◆ GetMergeBoldness()
virtual real SimplygonSDK::IRemeshingSettingsV2::GetMergeBoldness |
( |
| ) |
|
|
pure virtual |
Get the merge boldness. Defined from 0 to 1, low values will only remove the most obvious cavities with the deepest interiors, while larger values will fill more aggresively and generally generate less triangles in the output mesh.
- Returns
- the current value of MergeBoldness
◆ GetMergeDistance()
virtual unsigned int SimplygonSDK::IRemeshingSettingsV2::GetMergeDistance |
( |
| ) |
|
|
pure virtual |
Get the on-screen merge distance in pixels.
- Returns
- the current value of MergeDistance
◆ GetMeshGenerationMode()
virtual rid SimplygonSDK::IRemeshingSettingsV2::GetMeshGenerationMode |
( |
| ) |
|
|
pure virtual |
Get the mesh generation mode, options are SG_MODE_FAST and SG_MODE_ACCURATE. When using fast mode, the output meshes are not guaranteed to be deterministic, but will have equivalent quality levels.
- Returns
- the current mesh generation mode
◆ GetOnScreenSize()
virtual unsigned int SimplygonSDK::IRemeshingSettingsV2::GetOnScreenSize |
( |
| ) |
|
|
pure virtual |
Get the on-screen rendering size of the geometry.
- Returns
- the current value of OnScreenSize
◆ GetSurfaceTransferMode()
virtual rid SimplygonSDK::IRemeshingSettingsV2::GetSurfaceTransferMode |
( |
| ) |
|
|
pure virtual |
Get the surface transfer mode, options are SG_SURFACETRANSFER_FAST(SG_MODE_FAST) and SG_SURFACETRANSFER_ACCURATE(SG_MODE_ACCURATE)
- Returns
- the current surface transfer mode
◆ GetTransferColors()
virtual bool SimplygonSDK::IRemeshingSettingsV2::GetTransferColors |
( |
| ) |
|
|
pure virtual |
Get the TransferColors flag. If set, vertex color channels will be sampled from the original mesh
- Returns
- the current value of the TransferColors bool
◆ GetTransferNormals()
virtual bool SimplygonSDK::IRemeshingSettingsV2::GetTransferNormals |
( |
| ) |
|
|
pure virtual |
Get the TransferNormals flag. If set, the vertex normals channel will be sampled from the original mesh
- Returns
- the current value of the TransferNormals bool
◆ IsA()
virtual bool SimplygonSDK::IRemeshingSettingsV2::IsA |
( |
const char * |
type | ) |
const |
|
virtual |
The IsA function returns true if the object is a or is a descendant of the class named as the type parameter
- Parameters
-
type | is the name of the class to check if the object is, or is a descendant of |
- Returns
- true if the object is of the specified class, false if not
Reimplemented from SimplygonSDK::ISettingsObject.
◆ IsClassA()
static bool SimplygonSDK::IRemeshingSettingsV2::IsClassA |
( |
const char * |
type | ) |
|
|
inlinestatic |
The IsClassA function returns true if IRemeshingSettingsV2 is a or is a descendant of the class named as the type parameter
- Parameters
-
type | is the name of the class to check if the class is, or is a descendant of |
- Returns
- true if the class is of the specified class, false if not
Definition at line 13583 of file SimplygonSDK.h.
◆ SafeCast()
SafeCast makes sure the pointer is of a class that can be cast into a IRemeshingSettingsV2 pointer, and if this is possible, returns the cast pointer.
- Parameters
-
- Returns
- a pointer to the IRemeshingSettingsV2 object, if the cast can be made, and a NULL pointer otherwise
Definition at line 13596 of file SimplygonSDK.h.
◆ SetHardEdgeAngleInRadians()
virtual void SimplygonSDK::IRemeshingSettingsV2::SetHardEdgeAngleInRadians |
( |
real |
value | ) |
|
|
pure virtual |
Set/Get the normal hard angle cutoff (in radians)
- Parameters
-
value | is the value to which HardEdgeAngleInRadians will be set |
◆ SetMergeBoldness()
virtual void SimplygonSDK::IRemeshingSettingsV2::SetMergeBoldness |
( |
real |
value | ) |
|
|
pure virtual |
Set the merge boldness. Defined from 0 to 1, low values will only remove the most obvious cavities with the deepest interiors, while larger values will fill more aggresively and generally generate less triangles in the output mesh.
- Parameters
-
value | is the value MergeBoldness will be set to Value cannot be less than 0.0. Value cannot be greater than 1.0. |
◆ SetMergeDistance()
virtual void SimplygonSDK::IRemeshingSettingsV2::SetMergeDistance |
( |
unsigned int |
value | ) |
|
|
pure virtual |
Set the on-screen merge distance in pixels. Cavities and holes with openings smaller than this size will be removed, depending on the boldness setting.
- Parameters
-
value | is the value MergeDistance will be set to Value cannot be less than 0. Value cannot be greater than 1000. |
◆ SetMeshGenerationMode()
virtual void SimplygonSDK::IRemeshingSettingsV2::SetMeshGenerationMode |
( |
rid |
value | ) |
|
|
pure virtual |
Set the mesh generation mode, options are SG_MODE_FAST and SG_MODE_ACCURATE. When using fast mode, the output meshes are not guaranteed to be deterministic, but will have equivalent quality levels.
- Parameters
-
value | is the new mesh generation mode |
◆ SetOnScreenSize()
virtual void SimplygonSDK::IRemeshingSettingsV2::SetOnScreenSize |
( |
unsigned int |
value | ) |
|
|
pure virtual |
Set the on-screen rendering size of the geometry. Allowed values are in the range 20 to 10000 pixels.
- Parameters
-
value | is the value OnScreenSize will be set to Value cannot be less than 20. Value cannot be greater than 10000. |
◆ SetSurfaceTransferMode()
virtual void SimplygonSDK::IRemeshingSettingsV2::SetSurfaceTransferMode |
( |
rid |
value | ) |
|
|
pure virtual |
Set the surface transfer mode, options are SG_SURFACETRANSFER_FAST(SG_MODE_FAST) and SG_SURFACETRANSFER_ACCURATE(SG_MODE_ACCURATE)
- Parameters
-
value | is the new surface transfer mode |
◆ SetTransferColors()
virtual void SimplygonSDK::IRemeshingSettingsV2::SetTransferColors |
( |
bool |
value | ) |
|
|
pure virtual |
Set the TransferColors flag. If set, vertex color channels will be sampled from the original mesh
- Parameters
-
value | is the bool to which TransferColors will be set |
◆ SetTransferNormals()
virtual void SimplygonSDK::IRemeshingSettingsV2::SetTransferNormals |
( |
bool |
value | ) |
|
|
pure virtual |
Set the TransferNormals flag. If set, the vertex normals channel will be sampled from the original mesh
- Parameters
-
value | is the value to which TransferNormals will be set |
The documentation for this class was generated from the following file: