A collection of copies.
This contains a collection of IBipCopy objects - postures, poses, and tracks. Access to an IBipCopy object is based on its type and its index in the collection of copy objects. An instance of ICopyCollection can be gotten from the IBipMaster8 GetCopyCollection and CreateCopyCollection functions.
#include <Biped8Api.h>
Public Member Functions |
|
virtual | ~ICopyCollection () |
Destructor. |
|
virtual const MCHAR * | GetName () const =0 |
Gets the name of the copy collection.
|
|
virtual bool | SetName (const MCHAR *name)=0 |
Sets the name of the copy collection.
|
|
virtual int | NumCopies (int copyType)=0 |
Gets the number of copies of the specified
type (posture/pose/track). |
|
virtual IBipedCopy * | GetCopy (int copyType, int index)=0 |
Gets the copy of the specified type at the
specified index. |
|
virtual IBipedCopy * | GetCopy (int copyType, const MCHAR *name, int *index)=0 |
Gets a copy of the specified type with the
specified name. |
|
virtual bool | DeleteCopy (int copyType, int index)=0 |
Deletes a copy. |
|
virtual void | DeleteAllCopies (int copyType)=0 |
Deletes all copies of a particular type
(posture/pose/track) in a collection. |
virtual ~ICopyCollection | ( | ) | [inline, virtual] |
Destructor.
{;}
virtual const MCHAR* GetName | ( | ) | const [pure virtual] |
virtual bool SetName | ( | const MCHAR * | name | ) | [pure virtual] |
Sets the name of the copy collection.
[in] | name | - name of the copy collection |
virtual int NumCopies | ( | int | copyType | ) | [pure virtual] |
Gets the number of copies of the specified type (posture/pose/track).
[in] | copyType | - type of copy, one of the following: COPY_POSTURE, COPY_POSE, COPY_TRACK |
virtual IBipedCopy* GetCopy | ( | int | copyType, |
int | index | ||
) | [pure virtual] |
Gets the copy of the specified type at the specified index.
[in] | copyType | - type of copy, one of the following: COPY_POSTURE, COPY_POSE, COPY_TRACK |
[in] | index | - the index of the desired copy |
virtual IBipedCopy* GetCopy | ( | int | copyType, |
const MCHAR * | name, | ||
int * | index | ||
) | [pure virtual] |
Gets a copy of the specified type with the specified name.
[in] | copyType | - type of copy, one of the following: COPY_POSTURE, COPY_POSE, COPY_TRACK |
[in] | name | - the name of the desired copy |
[out] | index | - the index of the desired copy |
virtual bool DeleteCopy | ( | int | copyType, |
int | index | ||
) | [pure virtual] |
Deletes a copy.
[in] | copyType | - type of copy, one of the following: COPY_POSTURE, COPY_POSE, COPY_TRACK |
[in] | index | - the index of the copy to delete |
virtual void DeleteAllCopies | ( | int | copyType | ) | [pure virtual] |
Deletes all copies of a particular type (posture/pose/track) in a collection.
[in] | copyType | - type of copy, one of the following: COPY_POSTURE, COPY_POSE, COPY_TRACK |