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

#include <SimplygonSDK.h>

Inheritance diagram for SimplygonSDK::IRemeshingSettingsV2:
SimplygonSDK::ISettingsObject SimplygonSDK::IObject

Public Member Functions

virtual const char * GetClass ()
 
virtual real GetHardEdgeAngleInRadians ()=0
 
virtual real GetMergeBoldness ()=0
 
virtual unsigned int GetMergeDistance ()=0
 
virtual rid GetMeshGenerationMode ()=0
 
virtual unsigned int GetOnScreenSize ()=0
 
virtual rid GetSurfaceTransferMode ()=0
 
virtual bool GetTransferColors ()=0
 
virtual bool GetTransferNormals ()=0
 
virtual bool IsA (const char *type) const
 
virtual void SetHardEdgeAngleInRadians (real value)=0
 
virtual void SetMergeBoldness (real value)=0
 
virtual void SetMergeDistance (unsigned int value)=0
 
virtual void SetMeshGenerationMode (rid value)=0
 
virtual void SetOnScreenSize (unsigned int value)=0
 
virtual void SetSurfaceTransferMode (rid value)=0
 
virtual void SetTransferColors (bool value)=0
 
virtual void SetTransferNormals (bool value)=0
 
- Public Member Functions inherited from SimplygonSDK::ISettingsObject
virtual rstring GetErrorString ()=0
 
virtual bool ValidateSettings ()=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 IRemeshingSettingsV2SafeCast (IObject *ptr)
 
- Static Public Member Functions inherited from SimplygonSDK::ISettingsObject
static bool IsClassA (const char *type)
 
static ISettingsObjectSafeCast (IObject *ptr)
 
- Static Public Member Functions inherited from SimplygonSDK::IObject
static bool IsClassA (const char *type)
 
static IObjectSafeCast (IObject *ptr)
 

Detailed Description

Remeshing settings for the IRemeshingProcessorV2 class.

Definition at line 13562 of file SimplygonSDK.h.

Member Function Documentation

◆ 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
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::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
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 13583 of file SimplygonSDK.h.

◆ SafeCast()

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

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
ptris the pointer to be cast into a IRemeshingSettingsV2 pointer
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
valueis 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
valueis 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
valueis 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
valueis 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
valueis 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
valueis 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
valueis 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
valueis the value to which TransferNormals will be set

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