#include <SimplygonSDK.h>
welds geometry vertices
Definition at line 21039 of file SimplygonSDK.h.
◆ GetClass()
virtual const char* SimplygonSDK::IWelder::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::IProcessingObject.
◆ GetCompactMesh()
virtual bool SimplygonSDK::IWelder::GetCompactMesh |
( |
| ) |
|
|
pure virtual |
CompactMesh. If true, the welder will call Compact on the geometry after welding.
◆ GetIgnoreVertexLocks()
virtual bool SimplygonSDK::IWelder::GetIgnoreVertexLocks |
( |
| ) |
|
|
pure virtual |
If IgnoreVertexLocks is true, then also vertices that are locked may be welded.
◆ GetOnlyBetweenSceneNodes()
virtual bool SimplygonSDK::IWelder::GetOnlyBetweenSceneNodes |
( |
| ) |
|
|
pure virtual |
Get the OnlyBetweenSceneNodes flag. If set, only vertices that belong to different scene nodes are considered for the welding.
- Returns
- the current OnlyBetweenSceneNodes value
◆ GetOnlyBorders()
virtual bool SimplygonSDK::IWelder::GetOnlyBorders |
( |
| ) |
|
|
pure virtual |
Get the OnlyBorder flag, if set, only vertices that are on the border are considered for the welding
- Returns
- the current OnlyBorders value
◆ GetOnlyBordersFlag()
virtual SGDEPRECATED bool SimplygonSDK::IWelder::GetOnlyBordersFlag |
( |
| ) |
|
|
pure virtual |
- Deprecated:
- Method is marked as deprecated and will be removed in future version. Use GetOnlyBorders() instead. Get the OnlyBordersFlag flag.
◆ GetOnlyObjectBoundaryFlag()
virtual SGDEPRECATED bool SimplygonSDK::IWelder::GetOnlyObjectBoundaryFlag |
( |
| ) |
|
|
pure virtual |
◆ GetOnlyWithinMaterial()
virtual bool SimplygonSDK::IWelder::GetOnlyWithinMaterial |
( |
| ) |
|
|
pure virtual |
Get the OnlyWithinMaterial flag. If set, only vertices that are within the same material are welded. Vertices on material borders are locked.
- Returns
- the current OnlyWithinMaterial value
◆ GetOnlyWithinMaterialFlag()
virtual SGDEPRECATED bool SimplygonSDK::IWelder::GetOnlyWithinMaterialFlag |
( |
| ) |
|
|
pure virtual |
◆ GetOnlyWithinSceneNode()
virtual bool SimplygonSDK::IWelder::GetOnlyWithinSceneNode |
( |
| ) |
|
|
pure virtual |
Get the OnlyWithinSceneNode flag. If set, only vertices that are within the same scene node are welded.
- Returns
- the current OnlyWithinSceneNode
◆ GetProcessSelectionSetName()
virtual rstring SimplygonSDK::IWelder::GetProcessSelectionSetName |
( |
| ) |
|
|
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
◆ GetProgressivePasses()
virtual unsigned int SimplygonSDK::IWelder::GetProgressivePasses |
( |
| ) |
|
|
pure virtual |
Returns the current number of progressive passes.
◆ GetScene()
Get the scene
- Returns
- the input scene
◆ GetSelectionSetID()
virtual rid SimplygonSDK::IWelder::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()
◆ GetUpdateExtents()
virtual bool SimplygonSDK::IWelder::GetUpdateExtents |
( |
| ) |
|
|
pure virtual |
UpdateExtents. If true, the welder will call CalculateExtents on the geometry before welding.
◆ GetWeldDist()
virtual real SimplygonSDK::IWelder::GetWeldDist |
( |
| ) |
|
|
pure virtual |
Set/Get the distance, below which, the vertices will be welded
◆ IsA()
virtual bool SimplygonSDK::IWelder::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::IProcessingObject.
◆ IsClassA()
static bool SimplygonSDK::IWelder::IsClassA |
( |
const char * |
type | ) |
|
|
inlinestatic |
The IsClassA function returns true if IWelder 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 21060 of file SimplygonSDK.h.
◆ SafeCast()
SafeCast makes sure the pointer is of a class that can be cast into a IWelder pointer, and if this is possible, returns the cast pointer.
- Parameters
-
ptr | is the pointer to be cast into a IWelder pointer |
- Returns
- a pointer to the IWelder object, if the cast can be made, and a NULL pointer otherwise
Definition at line 21073 of file SimplygonSDK.h.
◆ SetCompactMesh()
virtual void SimplygonSDK::IWelder::SetCompactMesh |
( |
bool |
value | ) |
|
|
pure virtual |
CompactMesh. If true, the welder will call Compact on the geometry after welding.
- Parameters
-
value | the desired flag value |
◆ SetIgnoreVertexLocks()
virtual void SimplygonSDK::IWelder::SetIgnoreVertexLocks |
( |
bool |
value | ) |
|
|
pure virtual |
If IgnoreVertexLocks is true, then also vertices that are locked may be welded.
- Parameters
-
value | the desired flag value |
◆ SetOnlyBetweenSceneNodes()
virtual void SimplygonSDK::IWelder::SetOnlyBetweenSceneNodes |
( |
bool |
value | ) |
|
|
pure virtual |
Set the OnlyBetweenSceneNodes flag. If set, only vertices that belong to different scene nodes are considered for the welding.
- Parameters
-
value | the desired flag value |
◆ SetOnlyBorders()
virtual void SimplygonSDK::IWelder::SetOnlyBorders |
( |
bool |
value | ) |
|
|
pure virtual |
Set the OnlyBorder flag, if set, only vertices that are on the border are considered for the welding
- Parameters
-
value | the new OnlyBorders value |
◆ SetOnlyBordersFlag()
virtual SGDEPRECATED void SimplygonSDK::IWelder::SetOnlyBordersFlag |
( |
bool |
onlyBordersFlag | ) |
|
|
pure virtual |
- Deprecated:
- Method is marked as deprecated and will be removed in future version. Use SetOnlyBorders() instead. Set the OnlyBordersFlag flag.
- Parameters
-
onlyBordersFlag | the desired flag value |
◆ SetOnlyObjectBoundaryFlag()
virtual SGDEPRECATED void SimplygonSDK::IWelder::SetOnlyObjectBoundaryFlag |
( |
bool |
onlyObjectBoundaryFlag | ) |
|
|
pure virtual |
- Deprecated:
- Method is marked as deprecated and will be removed in future version. Use SetOnlyWithinSceneNode() instead. Set the OnlyObjectBoundaryFlag flag.
- Parameters
-
onlyObjectBoundaryFlag | the desired flag value |
◆ SetOnlyWithinMaterial()
virtual void SimplygonSDK::IWelder::SetOnlyWithinMaterial |
( |
bool |
value | ) |
|
|
pure virtual |
Set 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 |
◆ SetOnlyWithinMaterialFlag()
virtual SGDEPRECATED void SimplygonSDK::IWelder::SetOnlyWithinMaterialFlag |
( |
bool |
onlyWithinMaterialFlag | ) |
|
|
pure virtual |
- Deprecated:
- Method is marked as deprecated and will be removed in future version. Use SetOnlyWithinMaterial() instead. Set the OnlyWithinMaterialFlag flag.
- Parameters
-
onlyWithinMaterialFlag | the desired flag value |
◆ SetOnlyWithinSceneNode()
virtual void SimplygonSDK::IWelder::SetOnlyWithinSceneNode |
( |
bool |
value | ) |
|
|
pure virtual |
Set the OnlyWithinSceneNode flag. If set, only vertices that are within the same scene node are welded.
- Parameters
-
value | the desired flag value |
◆ SetProcessSelectionSetName()
virtual void SimplygonSDK::IWelder::SetProcessSelectionSetName |
( |
const char * |
value | ) |
|
|
pure virtual |
Selects which SelectionSet should be processed. If ProcessSelectionSetName 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 |
◆ SetProgressivePasses()
virtual void SimplygonSDK::IWelder::SetProgressivePasses |
( |
unsigned int |
value | ) |
|
|
pure virtual |
Sets the number of progressive passes.
- Parameters
-
value | the number of passes to perform |
◆ SetScene()
virtual void SimplygonSDK::IWelder::SetScene |
( |
IScene * |
value | ) |
|
|
pure virtual |
◆ SetSelectionSetID()
virtual void SimplygonSDK::IWelder::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 SGDEPRECATED void SimplygonSDK::IWelder::SetSelectionSetName |
( |
const char * |
selectionSetName | ) |
|
|
pure virtual |
- Deprecated:
- Method is marked as deprecated and will be removed in future version. Use SetProcessSelectionSetName() instead. Set the name of the selection to use
- Parameters
-
selectionSetName | the name of the selection set |
◆ SetUpdateExtents()
virtual void SimplygonSDK::IWelder::SetUpdateExtents |
( |
bool |
value | ) |
|
|
pure virtual |
UpdateExtents. If true, the welder will call CalculateExtents on the geometry before welding.
- Parameters
-
value | the desired flag value |
◆ SetWeldDist()
virtual void SimplygonSDK::IWelder::SetWeldDist |
( |
real |
value | ) |
|
|
pure virtual |
Set/Get the distance, below which, the vertices will be welded
- Parameters
-
◆ Weld()
- Deprecated:
- Method is marked as deprecated and will be removed in future version. Use RunProcessing() instead. Weld the geometry. Alias for RunProcessing.
◆ WeldGeometry()
virtual void SimplygonSDK::IWelder::WeldGeometry |
( |
IGeometryData * |
geom | ) |
|
|
pure virtual |
Welds the geometry
- Parameters
-
geom | the geometry data object |
The documentation for this class was generated from the following file: