Main Page   Class Hierarchy   Compound List   File List   Compound Members  

Freecloth Internals

Introduction

This manual is aimed at developers working on the Freecloth project. Users of the Freecloth library can refer to the Freecloth API manual, which is a simplified version of this document.

Organisation

The Freecloth source is divided into layers. Each layer can depend on code in layers beneath it, but cannot reference layers above it. This structure helps to reduce the dependencies between source files, and to organise the source code into general groupings. Classes within each layer have a special prefix.

The individual layers are described below, starting from the lowest layers. The layer's prefix is shown in parentheses.

Simulation Engine

The actual simulation engine only requires a subset of these layers: base, geom, resmgt and simulator. These layers are all enclosed in the freecloth namespace. The best starting point for understanding the simulator is the SimSimulator class, which draws in other classes when needed.

Cloth Application

The cloth test application needs GLUT for a windowing system, OpenGL for rendering the cloth, and the core Freecloth library for simulation. These classes are not enclosed in a namsepace. The best starting point for understanding the cloth application is the ClothApp class.


Generated on Fri May 2 16:51:11 2003 for Freecloth by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002