CrystalSpace

Public API Reference

Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

iMeshList Struct Reference
[Mesh support]

A list of meshes. More...

#include <mesh.h>

Inheritance diagram for iMeshList:

iBase List of all members.

Public Methods

virtual int GetCount () const=0
 Return the number of meshes in this list.

virtual iMeshWrapperGet (int n) const=0
 Return a mesh by index.

virtual int Add (iMeshWrapper *obj)=0
 Add a mesh.

virtual bool Remove (iMeshWrapper *obj)=0
 Remove a mesh.

virtual bool Remove (int n)=0
 Remove the nth mesh.

virtual void RemoveAll ()=0
 Remove all meshes.

virtual int Find (iMeshWrapper *obj) const=0
 Find a mesh and return its index.

virtual iMeshWrapperFindByName (const char *Name) const=0
 Find a mesh by name.


Detailed Description

A list of meshes.

Main ways to get pointers to this interface:

Main users of this interface:

Definition at line 685 of file mesh.h.


Member Function Documentation

virtual int iMeshList::Add iMeshWrapper   obj [pure virtual]
 

Add a mesh.

virtual int iMeshList::Find iMeshWrapper   obj const [pure virtual]
 

Find a mesh and return its index.

virtual iMeshWrapper* iMeshList::FindByName const char *    Name const [pure virtual]
 

Find a mesh by name.

If there is a colon in the name then this function is able to search for children too. i.e. like mesh:childmesh:childmesh.

virtual iMeshWrapper* iMeshList::Get int    n const [pure virtual]
 

Return a mesh by index.

virtual int iMeshList::GetCount   [pure virtual]
 

Return the number of meshes in this list.

virtual bool iMeshList::Remove int    n [pure virtual]
 

Remove the nth mesh.

virtual bool iMeshList::Remove iMeshWrapper   obj [pure virtual]
 

Remove a mesh.

virtual void iMeshList::RemoveAll   [pure virtual]
 

Remove all meshes.


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