CrystalSpace

Public API Reference

Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

iSpriteCal3DSocket Struct Reference

A socket for specifying where sprites can plug into other sprites. More...

#include <imesh/spritecal3d.h>

Inheritance diagram for iSpriteCal3DSocket:

iBase List of all members.

Public Member Functions

virtual size_t AttachSecondary (iMeshWrapper *, csReversibleTransform)=0
 Attach a secondary mesh.
virtual void DetachSecondary (size_t index)=0
 Detach a secondary mesh by index.
virtual void DetachSecondary (const char *mesh_name)=0
 Detach a secondary mesh by name.
virtual size_t FindSecondary (const char *mesh_name)=0
 Finds the index of the given attached secondary mesh.
virtual int GetMeshIndex () const =0
 Get the index of the mesh for the socket.
virtual iMeshWrapperGetMeshWrapper () const =0
 Get the attached sprite.
virtual char const * GetName () const =0
 Get the name.
virtual size_t GetSecondaryCount () const =0
 Get a count of the secondary attached meshes (this doesn't include the primary mesh).
virtual iMeshWrapperGetSecondaryMesh (size_t index)=0
 Get the attached secondary mesh at the given index.
virtual csReversibleTransform GetSecondaryTransform (size_t index)=0
 Get the transform of the attached secondary mesh at the given index.
virtual int GetSubmeshIndex () const =0
 Get the index of the submesh for the socket.
virtual csReversibleTransform GetTransform () const =0
 Get the transform of the main mesh.
virtual int GetTriangleIndex () const =0
 Get the index of the triangle for the socket.
virtual void SetMeshIndex (int m_index)=0
 Set the index of the mesh for the socket.
virtual void SetMeshWrapper (iMeshWrapper *mesh)=0
 Set the attached sprite.
virtual void SetName (char const *)=0
 Set the name.
virtual void SetSecondaryTransform (size_t index, csReversibleTransform)=0
 Set the transform of the attached secondary mesh at the given index.
virtual void SetSubmeshIndex (int subm_index)=0
 Set the index of the submesh for the socket.
virtual void SetTransform (const csReversibleTransform &trans)=0
 Set the transform of the main mesh.
virtual void SetTriangleIndex (int tri_index)=0
 Set the index of the triangle for the socket.

Detailed Description

A socket for specifying where sprites can plug into other sprites.

Definition at line 45 of file spritecal3d.h.


Member Function Documentation

virtual size_t iSpriteCal3DSocket::AttachSecondary iMeshWrapper ,
csReversibleTransform 
[pure virtual]
 

Attach a secondary mesh.

virtual void iSpriteCal3DSocket::DetachSecondary size_t  index  )  [pure virtual]
 

Detach a secondary mesh by index.

virtual void iSpriteCal3DSocket::DetachSecondary const char *  mesh_name  )  [pure virtual]
 

Detach a secondary mesh by name.

virtual size_t iSpriteCal3DSocket::FindSecondary const char *  mesh_name  )  [pure virtual]
 

Finds the index of the given attached secondary mesh.

virtual int iSpriteCal3DSocket::GetMeshIndex  )  const [pure virtual]
 

Get the index of the mesh for the socket.

virtual iMeshWrapper* iSpriteCal3DSocket::GetMeshWrapper  )  const [pure virtual]
 

Get the attached sprite.

virtual char const* iSpriteCal3DSocket::GetName  )  const [pure virtual]
 

Get the name.

virtual size_t iSpriteCal3DSocket::GetSecondaryCount  )  const [pure virtual]
 

Get a count of the secondary attached meshes (this doesn't include the primary mesh).

virtual iMeshWrapper* iSpriteCal3DSocket::GetSecondaryMesh size_t  index  )  [pure virtual]
 

Get the attached secondary mesh at the given index.

virtual csReversibleTransform iSpriteCal3DSocket::GetSecondaryTransform size_t  index  )  [pure virtual]
 

Get the transform of the attached secondary mesh at the given index.

virtual int iSpriteCal3DSocket::GetSubmeshIndex  )  const [pure virtual]
 

Get the index of the submesh for the socket.

virtual csReversibleTransform iSpriteCal3DSocket::GetTransform  )  const [pure virtual]
 

Get the transform of the main mesh.

virtual int iSpriteCal3DSocket::GetTriangleIndex  )  const [pure virtual]
 

Get the index of the triangle for the socket.

virtual void iSpriteCal3DSocket::SetMeshIndex int  m_index  )  [pure virtual]
 

Set the index of the mesh for the socket.

virtual void iSpriteCal3DSocket::SetMeshWrapper iMeshWrapper mesh  )  [pure virtual]
 

Set the attached sprite.

virtual void iSpriteCal3DSocket::SetName char const *   )  [pure virtual]
 

Set the name.

virtual void iSpriteCal3DSocket::SetSecondaryTransform size_t  index,
csReversibleTransform 
[pure virtual]
 

Set the transform of the attached secondary mesh at the given index.

virtual void iSpriteCal3DSocket::SetSubmeshIndex int  subm_index  )  [pure virtual]
 

Set the index of the submesh for the socket.

virtual void iSpriteCal3DSocket::SetTransform const csReversibleTransform trans  )  [pure virtual]
 

Set the transform of the main mesh.

virtual void iSpriteCal3DSocket::SetTriangleIndex int  tri_index  )  [pure virtual]
 

Set the index of the triangle for the socket.


The documentation for this struct was generated from the following file:
Generated for Crystal Space by doxygen 1.4.4