SurfaceVoxelList Class Reference

A list of voxels that are exposed to cameras. More...

#include <VoxelCube.h>

List of all members.

Public Types

typedef std::list< VoxelPos
>::iterator 
iterator

Public Methods

 SurfaceVoxelList ()
 Constructor.

iterator begin ()
 Get a random-access iterator that points to the first voxel in the list.

iterator end ()
 Get a random-access iterator that points just beyond the end of the sequence.

void push_back (VoxelPos p)
 Inserts a voxel with position p at the end list.

unsigned int size ()
 Number of voxels in the list.

iterator erase (iterator &i)
 Remove a voxel from the list.

void clear ()
 Remove all voxels in the list.


Detailed Description

A list of voxels that are exposed to cameras.

This doesn't include transparent (carved) voxels, and it doesn't include completely enclosed voxels.

Definition at line 76 of file VoxelCube.h.


The documentation for this class was generated from the following file:
Generated on Tue May 21 03:35:14 2002 for Archimedes by doxygen1.2.15