![]() |
Simplygon C++ API
8.3.35800.0
|
#include <SimplygonSDK.h>
Public Member Functions | |
virtual unsigned int | GetBoneCount ()=0 |
virtual real | GetBoneRatio ()=0 |
virtual unsigned int | GetBoneReductionTargets ()=0 |
virtual const char * | GetClass () |
virtual bool | GetLimitBonesPerVertex ()=0 |
virtual rid | GetLockBoneSelectionSetID ()=0 |
virtual rstring | GetLockBoneSelectionSetName ()=0 |
virtual unsigned int | GetMaxBonePerVertex ()=0 |
virtual real | GetMaxDeviation ()=0 |
virtual unsigned int | GetOnScreenSize ()=0 |
virtual rid | GetRemoveBoneSelectionSetID ()=0 |
virtual rstring | GetRemoveBoneSelectionSetName ()=0 |
virtual bool | GetRemoveUnusedBones ()=0 |
virtual unsigned int | GetStopCondition ()=0 |
virtual bool | GetUseBoneReducer ()=0 |
virtual bool | IsA (const char *type) const |
virtual void | SetBoneCount (unsigned int value)=0 |
virtual void | SetBoneRatio (real value)=0 |
virtual void | SetBoneReductionTargets (unsigned int value)=0 |
virtual void | SetLimitBonesPerVertex (bool value)=0 |
virtual void | SetLockBoneSelectionSetID (rid value)=0 |
virtual void | SetLockBoneSelectionSetName (const char *value)=0 |
virtual void | SetMaxBonePerVertex (unsigned int value)=0 |
virtual void | SetMaxDeviation (real value)=0 |
virtual void | SetOnScreenSize (unsigned int value)=0 |
virtual void | SetRemoveBoneSelectionSetID (rid value)=0 |
virtual void | SetRemoveBoneSelectionSetName (const char *value)=0 |
virtual void | SetRemoveUnusedBones (bool value)=0 |
virtual void | SetStopCondition (unsigned int value)=0 |
virtual void | SetUseBoneReducer (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 IBoneSettings * | 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 the Simplygon Reduction/Remeshing classes With the BoneSettings object, the user can setup all the parameters for how the BoneLOD processor should simplify the links between geometries and bones. Bones can be un-linked from the geometry either with a set ratio or depending on a selected pixel size on screen.
Definition at line 10921 of file SimplygonSDK.h.
|
pure virtual |
Get the wanted reduction ratio. The range is 0->inf.
|
pure virtual |
Get the wanted reduction ratio. The range is 0->1.
|
pure virtual |
Get the flag mask that decides what types of reduction targets will be used
|
virtual |
GetClass returns the name of the class of the object.
Reimplemented from SimplygonSDK::ISettingsObject.
|
pure virtual |
Decides whether unused bones should be removed.
|
pure virtual |
The ID of the selection set that contains all of the bones that will be locked, and cannot be removed in the BoneLOD process. If a bone is locked, all its ancestors will be locked also. If the ID is -1, then no bones are selected
|
pure virtual |
The name of the selection set that contains all of the bones that will be locked, and cannot be removed in the BoneLOD process. If a bone is locked, all its ancestors will be locked also. If the name is NULL, then no bones are selected If both ID and Name are set, ID will be used.
|
pure virtual |
Decides the maximum limit of how many bones can be connected to each vertex. If for example set to 1, then each vertex will only be linked to 1 bone.
|
pure virtual |
Get the MaxDeviation value, the maximum surface-deviation between the reduced geometry and the original.
|
pure virtual |
Get the OnScreenSize value, the maximum surface-deviation between the reduced geometry and the original.
|
pure virtual |
The ID of the selection set that contains all of the bones that will be forced to be removed in the BoneLOD process, UNLESS they are locked. If a bone is set to be removed, all its descendants will be removed also. If the ID is -1, then no bones are selected
|
pure virtual |
The name of the selection set that contains all of the bones that will be forced to be removed in the BoneLOD process, UNLESS they are locked. If a bone is set to be removed, all its descendants will be removed also. If the name is NULL, then no bones are selected If both ID and Name are set, ID will be used.
|
pure virtual |
Decides whether unused bones should be removed.
|
pure virtual |
Get the stop condition for the reducer.
|
pure virtual |
Enables or disables the bone reduction processing that actually removes bones. Even with this flag off, the bones per vertex can still be limited.
|
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 IBoneSettings 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 10942 of file SimplygonSDK.h.
|
inlinestatic |
SafeCast makes sure the pointer is of a class that can be cast into a IBoneSettings pointer, and if this is possible, returns the cast pointer.
ptr | is the pointer to be cast into a IBoneSettings pointer |
Definition at line 10955 of file SimplygonSDK.h.
|
pure virtual |
Set the wanted triangle count. The range is 0->inf.
value | is the value to which ReductionRatio will be set |
|
pure virtual |
Set the wanted reduction ratio. The range is 0->1.
value | is the value to which ReductionRatio will be set |
|
pure virtual |
Set the flag mask that decides what types of reduction targets will be used
value | is the desired value of BoneReductionTargets |
|
pure virtual |
Decides whether unused bones should be removed.
value | the desired flag value |
|
pure virtual |
The ID of the selection set that contains all of the bones that will be locked, and cannot be removed in the BoneLOD process. If a bone is locked, all its ancestors will be locked also. If the ID is -1, then no bones are selected
value | the ID of the selection set |
|
pure virtual |
The name of the selection set that contains all of the bones that will be locked, and cannot be removed in the BoneLOD process. If a bone is locked, all its ancestors will be locked also. If the name is NULL, then no bones are selected If both ID and Name are set, ID will be used.
value | the name of the selection set |
|
pure virtual |
Decides the maximum limit of how many bones can be connected to each vertex. If for example set to 1, then each vertex will only be linked to 1 bone.
value | the desired maximum bones per vertex |
|
pure virtual |
Set the MaxDeviation value, the maximum surface-deviation between the reduced geometry and the original.
value | is the value to which MaxDeviation will be set |
|
pure virtual |
Set the OnScreenSize value, the maximum surface-deviation between the reduced geometry and the original.
value | is the value to which OnScreenSize will be set |
|
pure virtual |
The ID of the selection set that contains all of the bones that will be forced to be removed in the BoneLOD process, UNLESS they are locked. If a bone is set to be removed, all its descendants will be removed also. If the ID is -1, then no bones are selected
value | the ID of the selection set |
|
pure virtual |
The name of the selection set that contains all of the bones that will be forced to be removed in the BoneLOD process, UNLESS they are locked. If a bone is set to be removed, all its descendants will be removed also. If the name is NULL, then no bones are selected If both ID and Name are set, ID will be used.
value | the name of the selection set |
|
pure virtual |
Decides whether unused bones should be removed.
value | the desired flag value |
|
pure virtual |
Set the stop condition for the reducer.
value | is the flag to which StopCondition will be set. |
|
pure virtual |
Enables or disables the bone reduction processing that actually removes bones. Even with this flag off, the bones per vertex can still be limited.
value | the desired flag value |