#include <SimplygonSDK.h>
Removes t-junctions by subdividing triangles and welding vertices
Definition at line 21325 of file SimplygonSDK.h.
◆ GetClass()
virtual const char* SimplygonSDK::ITJunctionEliminator::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::IObject.
◆ GetOnlyObjectBoundaryFlag()
virtual bool SimplygonSDK::ITJunctionEliminator::GetOnlyObjectBoundaryFlag |
( |
| ) |
|
|
pure virtual |
Set/Get the OnlyObjectBoundary flag, if set, only vertices that are on the boundary between two different objects are considered for the welding
◆ GetOnlyWithinMaterialFlag()
virtual bool SimplygonSDK::ITJunctionEliminator::GetOnlyWithinMaterialFlag |
( |
| ) |
|
|
pure virtual |
Set/Get the OnlyWithinMaterial flag. If set, only vertices that are within the same material are welded. Vertices on material borders are locked.
◆ GetScene()
Get the scene
- Returns
- the input scene
◆ GetSelectionSetID()
virtual rid SimplygonSDK::ITJunctionEliminator::GetSelectionSetID |
( |
| ) |
|
|
pure virtual |
Set the ID of the SelectionSet containing the meshes to weld If the ID is -1, all meshes are selected
- Returns
- the ID of the SelectionSet
◆ GetSelectionSetName()
virtual rstring SimplygonSDK::ITJunctionEliminator::GetSelectionSetName |
( |
| ) |
|
|
pure virtual |
Selects which SelectionSet should be processed. If set to NULL, all geometries in the scene will be processed. If both ID and Name are set, ID will be used.
- Returns
- the current SelectionSet name
◆ GetWeldDist()
virtual real SimplygonSDK::ITJunctionEliminator::GetWeldDist |
( |
| ) |
|
|
pure virtual |
Set/Get the distance, below which, the t-junctions will be welded
◆ IsA()
virtual bool SimplygonSDK::ITJunctionEliminator::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::IObject.
◆ IsClassA()
static bool SimplygonSDK::ITJunctionEliminator::IsClassA |
( |
const char * |
type | ) |
|
|
inlinestatic |
The IsClassA function returns true if ITJunctionEliminator 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 21346 of file SimplygonSDK.h.
◆ RemoveTJunctions() [1/2]
virtual void SimplygonSDK::ITJunctionEliminator::RemoveTJunctions |
( |
| ) |
|
|
pure virtual |
Removes the t-junctions in the set scene, processing each sub-geometry individually.
◆ RemoveTJunctions() [2/2]
virtual void SimplygonSDK::ITJunctionEliminator::RemoveTJunctions |
( |
IGeometryData * |
geom | ) |
|
|
pure virtual |
Removes the t-junctions in the geometry data
- Parameters
-
geom | the geometry data object |
◆ SafeCast()
SafeCast makes sure the pointer is of a class that can be cast into a ITJunctionEliminator pointer, and if this is possible, returns the cast pointer.
- Parameters
-
- Returns
- a pointer to the ITJunctionEliminator object, if the cast can be made, and a NULL pointer otherwise
Definition at line 21359 of file SimplygonSDK.h.
◆ SetOnlyObjectBoundaryFlag()
virtual void SimplygonSDK::ITJunctionEliminator::SetOnlyObjectBoundaryFlag |
( |
bool |
value | ) |
|
|
pure virtual |
Set/Get the OnlyObjectBoundary flag, if set, only vertices that are on the boundary between two different objects are considered for the welding
- Parameters
-
value | the desired value of the flag |
◆ SetOnlyWithinMaterialFlag()
virtual void SimplygonSDK::ITJunctionEliminator::SetOnlyWithinMaterialFlag |
( |
bool |
value | ) |
|
|
pure virtual |
Set/Get the OnlyWithinMaterial flag. If set, only vertices that are within the same material are welded. Vertices on material borders are locked.
- Parameters
-
value | the desired flag value |
◆ SetScene()
virtual void SimplygonSDK::ITJunctionEliminator::SetScene |
( |
IScene * |
value | ) |
|
|
pure virtual |
◆ SetSelectionSetID()
virtual void SimplygonSDK::ITJunctionEliminator::SetSelectionSetID |
( |
rid |
value | ) |
|
|
pure virtual |
Set the ID of the SelectionSet containing the meshes to weld If the ID is -1, all meshes are selected
- Parameters
-
value | the ID of the selection set to use |
◆ SetSelectionSetName()
virtual void SimplygonSDK::ITJunctionEliminator::SetSelectionSetName |
( |
const char * |
value | ) |
|
|
pure virtual |
Selects which SelectionSet should be processed. If SetName is not found, all geometries in the scene will be processed. If both ID and Name are set, ID will be used.
- Parameters
-
value | the desired SelectionSet name |
◆ SetWeldDist()
virtual void SimplygonSDK::ITJunctionEliminator::SetWeldDist |
( |
real |
value | ) |
|
|
pure virtual |
Set/Get the distance, below which, the t-junctions will be welded
- Parameters
-
value | the welding distance |
The documentation for this class was generated from the following file: