![]() |
Simplygon C++ API
8.3.35800.0
|
#include <SimplygonSDK.h>
Static Public Member Functions | |
static bool | IsClassA (const char *type) |
static IReductionProcessor * | SafeCast (IObject *ptr) |
![]() | |
static bool | IsClassA (const char *type) |
static IProcessingObject * | SafeCast (IObject *ptr) |
![]() | |
static bool | IsClassA (const char *type) |
static IObject * | SafeCast (IObject *ptr) |
IReductionProcessor welds, removes t-junctions, removes double-triangles and reduces the trianglecount of the Geometry. It also calculates new normals for the reduced and optimized Geometry.
Definition at line 13042 of file SimplygonSDK.h.
|
pure virtual |
The settings for the bone removal process.
|
virtual |
GetClass returns the name of the class of the object.
Reimplemented from SimplygonSDK::IProcessingObject.
|
pure virtual |
Get the MappingImage object that is generated if MappingImageSettings::GenerateMappingImage is set. The object is of type IMappingImage. If called with an id, it will fetch that specific mapping image if using multi-material output. A new object is generated for each call to RunProcessing().
|
pure virtual |
Get the MappingImage object that is generated if MappingImageSettings::GenerateMappingImage is set. The object is of type IMappingImage. If called with an id, it will fetch that specific mapping image if using multi-material output. A new object is generated for each call to RunProcessing().
OutputMaterialId | the value for the OutputMaterialId |
|
pure virtual |
The settings for the image mapping process.
|
pure virtual |
The settings for the normal repair process.
|
pure virtual |
The settings for the reduction process.
|
pure virtual |
The settings for the repair process.
|
pure virtual |
Returns the max deviation reached for the last processing
|
pure virtual |
Set the scene object to reduce. Please note that internal refrences might be modified by the processor. The caller should refresh any reference that is cached outside the scene after running the processor.
|
pure virtual |
The settings for handling visibility weights.
|
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::IProcessingObject.
|
inlinestatic |
The IsClassA function returns true if IReductionProcessor 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 13063 of file SimplygonSDK.h.
|
inlinestatic |
SafeCast makes sure the pointer is of a class that can be cast into a IReductionProcessor pointer, and if this is possible, returns the cast pointer.
ptr | is the pointer to be cast into a IReductionProcessor pointer |
Definition at line 13076 of file SimplygonSDK.h.
|
pure virtual |
Set the scene object to reduce. Please note that internal refrences might be modified by the processor. The caller should refresh any reference that is cached outside the scene after running the processor.
value | the scene to reduce |