![]() |
Simplygon C++ API
8.3.35800.0
|
#include <SimplygonSDK.h>
Public Member Functions | |
virtual void | Clear ()=0 |
virtual const char * | GetClass () |
virtual real | GetPercentDone ()=0 |
virtual bool | IsA (const char *type) const |
virtual void | RunProcessing ()=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 IProcessingObject * | SafeCast (IObject *ptr) |
![]() | |
static bool | IsClassA (const char *type) |
static IObject * | SafeCast (IObject *ptr) |
IProcessingObject is the abstract base class for all processing objects in Simplygon. Processing objects take parameters, exports the RunProcessing to run the main processing and Clear to clear the internal states of the processing object. All processing objects also export information on how far the process has moved and the possibility to cancel long running processings.
Definition at line 7741 of file SimplygonSDK.h.
|
pure virtual |
Clear all internal states of the object. This will NOT clear the parameters set in the object.
|
virtual |
GetClass returns the name of the class of the object.
Reimplemented from SimplygonSDK::IObject.
Reimplemented in SimplygonSDK::IWelder, SimplygonSDK::IShadowMeshProcessor, SimplygonSDK::IFoliageProcessor, SimplygonSDK::IOcclusionMeshProcessor, SimplygonSDK::IImpostorProcessor, SimplygonSDK::IAmbientOcclusionCaster, SimplygonSDK::IAggregationProcessor, SimplygonSDK::IRemeshingProcessorV2, SimplygonSDK::IRemeshingProcessor, SimplygonSDK::IReductionProcessor, SimplygonSDK::IDisplacementCaster, SimplygonSDK::INormalRepairer, SimplygonSDK::INormalCaster, SimplygonSDK::IOpacityCaster, SimplygonSDK::IColorCaster, and SimplygonSDK::IMaterialCaster.
|
pure virtual |
Returns the current progress of the processing as a value between 0 and 100
|
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::IObject.
Reimplemented in SimplygonSDK::IWelder, SimplygonSDK::IShadowMeshProcessor, SimplygonSDK::IFoliageProcessor, SimplygonSDK::IOcclusionMeshProcessor, SimplygonSDK::IImpostorProcessor, SimplygonSDK::IAmbientOcclusionCaster, SimplygonSDK::IAggregationProcessor, SimplygonSDK::IRemeshingProcessorV2, SimplygonSDK::IRemeshingProcessor, SimplygonSDK::IReductionProcessor, SimplygonSDK::IDisplacementCaster, SimplygonSDK::INormalRepairer, SimplygonSDK::INormalCaster, SimplygonSDK::IOpacityCaster, SimplygonSDK::IColorCaster, and SimplygonSDK::IMaterialCaster.
|
inlinestatic |
The IsClassA function returns true if IProcessingObject 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 7762 of file SimplygonSDK.h.
|
pure virtual |
Runs the processing the object is designed for
|
inlinestatic |
SafeCast makes sure the pointer is of a class that can be cast into a IProcessingObject pointer, and if this is possible, returns the cast pointer.
ptr | is the pointer to be cast into a IProcessingObject pointer |
Definition at line 7775 of file SimplygonSDK.h.