![]() |
Simplygon C++ API
8.3.35800.0
|
#include <SimplygonSDK.h>
Public Member Functions | |
virtual const char * | GetClass () |
virtual unsigned int | GetProgressivePasses ()=0 |
virtual real | GetTjuncDist ()=0 |
virtual bool | GetUseTJunctionRemover ()=0 |
virtual bool | GetUseWelding ()=0 |
virtual real | GetWeldDist ()=0 |
virtual bool | GetWeldOnlyBetweenSceneNodes ()=0 |
virtual bool | GetWeldOnlyBorderVertices ()=0 |
virtual SGDEPRECATED bool | GetWeldOnlyObjectBoundary ()=0 |
virtual bool | GetWeldOnlyWithinMaterial ()=0 |
virtual bool | GetWeldOnlyWithinSceneNode ()=0 |
virtual bool | IsA (const char *type) const |
virtual void | SetProgressivePasses (unsigned int value)=0 |
virtual void | SetTjuncDist (real value)=0 |
virtual void | SetUseTJunctionRemover (bool value)=0 |
virtual void | SetUseWelding (bool value)=0 |
virtual void | SetWeldDist (real value)=0 |
virtual void | SetWeldOnlyBetweenSceneNodes (bool value)=0 |
virtual void | SetWeldOnlyBorderVertices (bool value)=0 |
virtual SGDEPRECATED void | SetWeldOnlyObjectBoundary (bool weldOnlyObjectBoundary)=0 |
virtual void | SetWeldOnlyWithinMaterial (bool value)=0 |
virtual void | SetWeldOnlyWithinSceneNode (bool value)=0 |
![]() | |
virtual rstring | GetErrorString ()=0 |
virtual bool | ValidateSettings ()=0 |
![]() | |
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 IRepairSettings * | SafeCast (IObject *ptr) |
![]() | |
static bool | IsClassA (const char *type) |
static ISettingsObject * | SafeCast (IObject *ptr) |
![]() | |
static bool | IsClassA (const char *type) |
static IObject * | SafeCast (IObject *ptr) |
Settings for handling unconnected parts and unwanted gaps in the geometry. It consists of two parts, Welding and T-junction removal. Welding merges vertices that are closer than a set distance from each other. T-junction removal finds open edges that lies within a set distance from other open edges, but without matching vertices. It then splits those triangles into smaller, matching triangles and fuses them together.
Definition at line 10717 of file SimplygonSDK.h.
|
virtual |
GetClass returns the name of the class of the object.
Reimplemented from SimplygonSDK::ISettingsObject.
|
pure virtual |
Get the number of ProgressivePasses. Minimum is 1, but higher numbers give a better quality, at the expense of longer running time.
|
pure virtual |
Get the T-Junction distance, below which, the T-Junctions will be welded
|
pure virtual |
Get the UseTJunctionRemover flag, if set, t-junctions will be removed. If enabled, it also requires UseWelding to be on.
|
pure virtual |
Get the UseWelding flag. If set, vertices within each others welding distance will be welded together.
|
pure virtual |
Get the Welding distance, below which, the vertices will be welded
|
pure virtual |
Get the WeldOnlyBetweenSceneNodes flag. If set, only vertices that belong to different scene nodes are considered for the welding. Affects both welder and t-junction remover.
|
pure virtual |
Get the WeldOnlyBorderVertices flag, if set, only vertices that are on the border (as reported by the VertexBorder boolean field) are considered for the welding
|
pure virtual |
|
pure virtual |
Get the WeldOnlyWithinMaterial flag. If set, only vertices that are within the same material are welded. Vertices on material borders are locked.
|
pure virtual |
Get the WeldOnlyWithinSceneNode flag. If set, only vertices that are within the same scene node are welded.
|
virtual |
The IsA function returns true if the object is a or is a descendant of the class named as the type parameter
type | is the name of the class to check if the object is, or is a descendant of |
Reimplemented from SimplygonSDK::ISettingsObject.
|
inlinestatic |
The IsClassA function returns true if IRepairSettings is a or is a descendant of the class named as the type parameter
type | is the name of the class to check if the class is, or is a descendant of |
Definition at line 10738 of file SimplygonSDK.h.
|
inlinestatic |
SafeCast makes sure the pointer is of a class that can be cast into a IRepairSettings pointer, and if this is possible, returns the cast pointer.
ptr | is the pointer to be cast into a IRepairSettings pointer |
Definition at line 10751 of file SimplygonSDK.h.
|
pure virtual |
Set the number of ProgressivePasses. Minimum is 1, but higher numbers give a better quality, at the expense of longer running time.
value | is the integer to which ProgressivePasses will be set Value cannot be less than 1. |
|
pure virtual |
Set the T-Junction distance, below which, the T-Junctions will be welded
value | is the value to which TjuncDist will be set Value cannot be less than 0. |
|
pure virtual |
Set the UseTJunctionRemover flag, if set, t-junctions will be removed. If enabled, it also requires UseWelding to be on.
value | is the bool to which UseTJunctionRemover will be set |
|
pure virtual |
Set the UseWelding flag. If set, vertices within each others welding distance will be welded together.
value | is the bool to which UseWelding will be set |
|
pure virtual |
Set the Welding distance, below which, the vertices will be welded
value | is the value to which WeldDist will be set Value cannot be less than 0. |
|
pure virtual |
Set the WeldOnlyBetweenSceneNodes flag. If set, only vertices that belong to different scene nodes are considered for the welding. Affects both welder and t-junction remover.
value | is the bool to which WeldOnlyBetweenSceneNode will be set |
|
pure virtual |
Set the WeldOnlyBorderVertices flag, if set, only vertices that are on the border (as reported by the VertexBorder boolean field) are considered for the welding
value | is the bool to which WeldOnlyBorderVertices will be set |
|
pure virtual |
weldOnlyObjectBoundary | is the bool to which weldOnlyObjectBoundary will be set |
|
pure virtual |
Set the WeldOnlyWithinMaterial flag, If set, only vertices that are within the same material are welded. Vertices on material borders are locked.
value | is the bool to which WeldOnlyWithinMaterial will be set |
|
pure virtual |
Set the WeldOnlyWithinSceneNode flag, If set, only vertices that are within the same scene node are welded.
value | is the bool to which WeldOnlyWithinSceneNode will be set |