Simplygon C++ API  8.3.35800.0
SimplygonSDK::ITJunctionEliminator Class Referenceabstract

#include <SimplygonSDK.h>

Inheritance diagram for SimplygonSDK::ITJunctionEliminator:
SimplygonSDK::IObject

Public Member Functions

virtual const char * GetClass ()
 
virtual bool GetOnlyObjectBoundaryFlag ()=0
 
virtual bool GetOnlyWithinMaterialFlag ()=0
 
virtual CountedPointer< ISceneGetScene ()=0
 
virtual rid GetSelectionSetID ()=0
 
virtual rstring GetSelectionSetName ()=0
 
virtual real GetWeldDist ()=0
 
virtual bool IsA (const char *type) const
 
virtual void RemoveTJunctions ()=0
 
virtual void RemoveTJunctions (IGeometryData *geom)=0
 
virtual void SetOnlyObjectBoundaryFlag (bool value)=0
 
virtual void SetOnlyWithinMaterialFlag (bool value)=0
 
virtual void SetScene (IScene *value)=0
 
virtual void SetSelectionSetID (rid value)=0
 
virtual void SetSelectionSetName (const char *value)=0
 
virtual void SetWeldDist (real value)=0
 
- Public Member Functions inherited from SimplygonSDK::IObject
virtual rid AddObserver (robserver *Observer, rid EventId)=0
 
virtual void AddRef ()=0
 
virtual rstring GetName ()=0
 
virtual void * GetUserComponentArea (rid userid)=0
 
virtual void PrintInfo ()=0
 
virtual void Release ()=0
 
virtual void RemoveObserver (rid ObserverId)=0
 
virtual void SetName (const char *Name)=0
 

Static Public Member Functions

static bool IsClassA (const char *type)
 
static ITJunctionEliminatorSafeCast (IObject *ptr)
 
- Static Public Member Functions inherited from SimplygonSDK::IObject
static bool IsClassA (const char *type)
 
static IObjectSafeCast (IObject *ptr)
 

Detailed Description

Removes t-junctions by subdividing triangles and welding vertices

Definition at line 21325 of file SimplygonSDK.h.

Member Function Documentation

◆ 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()

virtual CountedPointer<IScene> SimplygonSDK::ITJunctionEliminator::GetScene ( )
pure virtual

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
typeis 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
typeis 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
geomthe geometry data object

◆ SafeCast()

static ITJunctionEliminator* SimplygonSDK::ITJunctionEliminator::SafeCast ( IObject ptr)
inlinestatic

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
ptris the pointer to be cast into a ITJunctionEliminator pointer
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
valuethe 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
valuethe desired flag value

◆ SetScene()

virtual void SimplygonSDK::ITJunctionEliminator::SetScene ( IScene value)
pure virtual

Set the scene

Parameters
valuethe scene object

◆ 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
valuethe 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
valuethe 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
valuethe welding distance

The documentation for this class was generated from the following file: