![]() |
Simplygon C++ API
8.3.35800.0
|
#include <SimplygonSDK.h>
Public Member Functions | |
virtual SGDEPRECATED void | CopyCombine3Tuples (IValueArray *sourceArray, rid dest_id, rid src_id_1, rid src_id_2, rid src_id_3, real alpha_1, real alpha_2)=0 |
virtual SGDEPRECATED void | CopyCombineTuples (IValueArray *sourceArray, rid dest_id, rid src_id_1, rid src_id_2, real alpha)=0 |
virtual const char * | GetClass () |
virtual SGDEPRECATED bool | GetInterpolateTuples ()=0 |
virtual real | GetRealItem (rid id)=0 |
virtual SGDEPRECATED void | IndexedCombine (IValueArray *source, IRidArray *idtable, IRealArray *blendtable, rid startId)=0 |
virtual SGDEPRECATED void | IndexedCombine3 (IValueArray *source, IRidArray *idtable, IRealArray *blendtable, rid startId)=0 |
virtual bool | IsA (const char *type) const |
virtual SGDEPRECATED void | SetInterpolateTuples (bool value)=0 |
virtual void | SetRealItem (rid id, real value)=0 |
![]() | |
virtual void | AppendArray (IArray *source)=0 |
virtual SGDEPRECATED void | AppendTuples (IArray *source)=0 |
virtual void | Clear ()=0 |
virtual int | CompareTuples (IArray *otherArray, rid tuple_id, rid other_tuple_id)=0 |
virtual void | CopyRange (IArray *source_array, rid start_dest_id, rid start_src_id, unsigned int count)=0 |
virtual void | CopyTuple (IArray *sourceArray, rid dest_id, rid src_id)=0 |
virtual void | DeepCopy (IArray *source)=0 |
virtual void | ExtractTuples (IArray *dest, rid start, unsigned int count)=0 |
virtual rstring | GetAlternativeName ()=0 |
virtual rid | GetBaseType ()=0 |
virtual unsigned int | GetItemCount ()=0 |
virtual rid | GetMaxItemId ()=0 |
virtual rid | GetMaxTupleId ()=0 |
virtual unsigned int | GetTupleCount ()=0 |
virtual unsigned int | GetTupleSize ()=0 |
virtual void | IndexedCopy (IArray *source, IRidArray *idtable, rid startId)=0 |
virtual bool | IsEmpty ()=0 |
virtual CountedPointer< IArray > | NewCopy (bool copy_data)=0 |
virtual CountedPointer< IArray > | NewPackedCopy (IRidArray *index_array)=0 |
virtual void | SetAlternativeName (const char *value)=0 |
virtual void | SetItemCount (unsigned int count)=0 |
virtual void | SetTupleCount (unsigned int tuplecount)=0 |
virtual void | SetTupleSize (unsigned int newsize)=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 IValueArray * | SafeCast (IObject *ptr) |
![]() | |
static bool | IsClassA (const char *type) |
static IArray * | SafeCast (IObject *ptr) |
![]() | |
static bool | IsClassA (const char *type) |
static IObject * | SafeCast (IObject *ptr) |
ReValueArray adds methods to arrays to generically add, set and get tuples, through real values.
Definition at line 2083 of file SimplygonSDK.h.
|
pure virtual |
sourceArray | the array to copy from Value cannot be equal to null. |
dest_id | the tuple index to copy to |
src_id_1 | the first source array tuple to copy from |
src_id_2 | the second source array tuple to copy from |
src_id_3 | the third source array tuple to copy from |
alpha_1 | the first interpolation value |
alpha_2 | the second interpolation value |
|
pure virtual |
sourceArray | the array to copy from Value cannot be equal to null. |
dest_id | the tuple index to copy to |
src_id_1 | the first source array tuple to copy from |
src_id_2 | the second source array tuple to copy from |
alpha | the interpolation value |
|
virtual |
GetClass returns the name of the class of the object.
Reimplemented from SimplygonSDK::IArray.
Reimplemented in SimplygonSDK::IUnsignedShortArray, SimplygonSDK::IUnsignedLongArray, SimplygonSDK::IUnsignedIntArray, SimplygonSDK::IUnsignedCharArray, SimplygonSDK::IShortArray, SimplygonSDK::IRidArray, SimplygonSDK::IRealArray, SimplygonSDK::ILongArray, SimplygonSDK::IIntArray, SimplygonSDK::IFloatArray, SimplygonSDK::IDoubleArray, SimplygonSDK::ICharArray, SimplygonSDK::IBoolArray, and SimplygonSDK::IStringArray.
|
pure virtual |
GetRealItem() retrieves the item at position id. The id is the id of the item, not the tuple the item belongs to. GetRealItem() converts the value from the actual underlying data type to a real.
id | the item to get. Value cannot be less than 0. Value cannot be greater than the value returned by GetMaxItemId(). |
|
pure virtual |
source | the source array to combine from Value cannot be equal to null. |
idtable | is the array with the tuple indices to use for combining Value cannot be equal to null. |
blendtable | the array with (alpha) blend values Value cannot be equal to null. |
startId | is the first tuple that will receive the combined values |
|
pure virtual |
source | the source array to combine from Value cannot be equal to null. |
idtable | is the array with the tuple indices to use for combining Value cannot be equal to null. |
blendtable | the array with (alpha) blend values Value cannot be equal to null. |
startId | is the first tuple that will receive the combined values |
|
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::IArray.
Reimplemented in SimplygonSDK::IUnsignedShortArray, SimplygonSDK::IUnsignedLongArray, SimplygonSDK::IUnsignedIntArray, SimplygonSDK::IUnsignedCharArray, SimplygonSDK::IShortArray, SimplygonSDK::IRidArray, SimplygonSDK::IRealArray, SimplygonSDK::ILongArray, SimplygonSDK::IIntArray, SimplygonSDK::IFloatArray, SimplygonSDK::IDoubleArray, SimplygonSDK::ICharArray, SimplygonSDK::IBoolArray, and SimplygonSDK::IStringArray.
|
inlinestatic |
The IsClassA function returns true if IValueArray 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 2104 of file SimplygonSDK.h.
|
inlinestatic |
SafeCast makes sure the pointer is of a class that can be cast into a IValueArray pointer, and if this is possible, returns the cast pointer.
ptr | is the pointer to be cast into a IValueArray pointer |
Definition at line 2117 of file SimplygonSDK.h.
|
pure virtual |
value | set to true if tuples should be interpolated |
SetRealItem() sets the item at position id. The id is the id of the item, not the tuple the item belongs to. SetRealItem() converts the value from real to the actual underlying data type.
id | the item to set. Value cannot be less than 0. Value cannot be greater than the value returned by GetMaxItemId(). |
value | the real value to set the item to. |