Fluxus::DepthSorter Class Reference

#include <DepthSorter.h>


Public Member Functions

 DepthSorter ()
 ~DepthSorter ()
void Clear ()
 Clear all stored primitives.
void Add (const dMatrix &globaltransform, Primitive *prim, int id)
 Add a primitive to the sorter.
void Render ()

Data Structures

class  Item


Detailed Description

Sorts primitives according to depth, for correctly rendering transparent objects.

Definition at line 35 of file DepthSorter.h.


Constructor & Destructor Documentation

DepthSorter::DepthSorter (  ) 

Definition at line 21 of file DepthSorter.cpp.

DepthSorter::~DepthSorter (  ) 

Definition at line 25 of file DepthSorter.cpp.


Member Function Documentation

void DepthSorter::Clear (  ) 

Clear all stored primitives.

Definition at line 29 of file DepthSorter.cpp.

void DepthSorter::Add ( const dMatrix globaltransform,
Primitive prim,
int  id 
)

Add a primitive to the sorter.

Definition at line 34 of file DepthSorter.cpp.

void DepthSorter::Render (  ) 

Render the stored primitives, using the Z depth to order the rendering

Definition at line 47 of file DepthSorter.cpp.


The documentation for this class was generated from the following files:
Generated on Tue Sep 4 23:22:40 2007 for The Fluxus Renderer (libfluxus) by  doxygen 1.5.1