Public API Reference

CS::Utility::ImportKit::Container::Model Class Reference

A model. More...

#include <cstool/importkit.h>

List of all members.

Public Types

enum  ModelType { Factory, Object }
 Type of this model. More...

Public Member Functions

const MeshGetMesh (size_t index) const
 Get a mesh.
size_t GetMeshCount () const
 Get number of meshes in this model.
const wchar_tGetName () const
 Return the name of the model.
ModelType GetType () const

Protected Member Functions

 Model ()

Protected Attributes

Implementation::GluedModel * glueModel
csArray< Meshmeshes
ModelType type


class Container
class Implementation::Glue


class  Mesh
 Model mesh, contains actual geometry. More...

Detailed Description

A model.

A model contains of multiple meshes, each containing vertices, triangles, and a single material.

All resources obtainable (models, mesh, materials... but also geometry and names) are generally valid as long as the container exists.

Definition at line 70 of file importkit.h.

Member Enumeration Documentation

enum CS::Utility::ImportKit::Container::Model::ModelType

Type of this model.

Factory  Model is a mesh factory.
Object  Model is a mesh object.

Definition at line 128 of file importkit.h.

Member Function Documentation

const Mesh& CS::Utility::ImportKit::Container::Model::GetMesh ( size_t  index  )  const [inline]

Get a mesh.

Definition at line 126 of file importkit.h.

size_t CS::Utility::ImportKit::Container::Model::GetMeshCount (  )  const [inline]

Get number of meshes in this model.

Definition at line 124 of file importkit.h.

const wchar_t* CS::Utility::ImportKit::Container::Model::GetName (  )  const [inline]

Return the name of the model.

Definition at line 74 of file importkit.h.

The documentation for this class was generated from the following file:
Generated for Crystal Space 1.2.1 by doxygen 1.5.3