#include <Cluster.h>
Inheritance diagram for CSLCluster:

Describes a cluster (see the SI_Cluster template reference).
| typedef CSLArrayProxy<SI_Int, SI_Int, 1> CSLIntArray |
Proxy class that allows modifying a list of SI_Int like an array.
| CSLCluster | ( | CSLScene * | in_pScene, | |
| CSLModel * | in_pModel, | |||
| CdotXSITemplate * | in_pTemplate | |||
| ) |
Constructor
| [in] | in_pScene | Pointer to the scene containing the Cluster |
| [in] | in_pModel | Pointer to the model containing the Cluster |
| [in] | in_pTemplate | Pointer to the CdotXSITemplate containing the Cluster |
| virtual ~CSLCluster | ( | ) | [virtual] |
Destructor
| virtual SI_Error Synchronize | ( | ) | [virtual] |
Synchronizes this cluster instance with its IO layer representation
| SI_Error::SI_SUCCESS |
Reimplemented from CSLTemplate.
| virtual ETemplateType Type | ( | ) | [inline, virtual] |
Returns the template type of the cluster
| CSLTemplate::SI_CLUSTER | the template type |
Implements CSLTemplate.
| CSLModel* GetReference | ( | ) |
Return the model possessing this cluster.
| CSLModel* GetCenter | ( | ) |
Return the center of the cluster.
| SI_Void SetCenter | ( | CSLModel * | in_pNewCenter | ) |
Change the center of the cluster.
| [in] | in_pNewCenter | New cluster center object. |
| CSLBaseShape* CreateShape | ( | ) |
Create a new shape for the cluster.
| CSLBaseShape* Shape | ( | ) |
Return the shape of the cluster.
| SI_Error DestroyShape | ( | ) |
Destroy the shape of the cluster.
| SI_Int GetVertexIndicesCount | ( | ) |
Return the number of vertex indices.
| CSLIntArray* GetVertexIndicesList | ( | ) |
Return the vertex indices in an array proxy.
| SI_Int* GetVertexIndicesListPtr | ( | ) |
Returns an array of SI_Int containing the vertex indices.
| EClusterWeightingType GetWeightingType | ( | ) |
Return the type of weighting for the cluster.
| SI_Void SetWeightingType | ( | EClusterWeightingType | in_Type | ) |
Change the type of weighting of the cluster.
| [in] | in_Type | New weighting type. |
| CSLBaseShape* ConnectShape | ( | CSLBaseShape * | in_pNewShape | ) |
Connects a shape to that cluster
| [in] | in_pNewShape | New shape to connect |
| CSLUserDataList* AddUserDataList | ( | ) |
Adds an user data list to the user data lists
| SI_Error RemoveUserDataList | ( | SI_Int | in_nIndex | ) |
Removes an user data list from the user data lists
| [in] | in_nIndex | Index of the UserDataList to remove |
| SI_Error RemoveUserDataList | ( | CSLUserDataList * | in_pToRemove | ) |
Removes an user data list from the user data lists
| [in] | in_pToRemove | Pointer to the user data list to remove |
| SI_Error ClearUserDataLists | ( | ) |
Removes all connections points from the user data lists
| CSLUserDataList* ConnectUserDataList | ( | CSLUserDataList * | in_pToConnect | ) |
Adds an exisiting user data list to the user data lists
| [in] | in_pToConnect | Pointer to the user data list to add |
| CSLUserDataList** GetUserDataLists | ( | ) |
Returns a pointer to the internally-stored user data list pointer list
| SI_Int GetUserDataListCount | ( | ) |
Returns the total number of user data lists
| CSLUserDataList* FindUserDataList | ( | SI_Char * | in_szUserDataListName | ) |
Searches for a given user data list
| [in] | in_szUserDataListName | Name of the user data list to look for |
| virtual SI_Error Fix | ( | ) | [virtual] |
Cleans invalid data from the template.
Reimplemented from CSLTemplate.