GEE_LayerGeometryIterator Class Reference

Iterates over geometry in some layer. More...

#include <gee_world.h>

Collaboration diagram for GEE_LayerGeometryIterator:

Collaboration graph
[legend]
List of all members.

Public Member Functions

Protected Attributes


Detailed Description

Iterates over geometry in some layer.

If the layer is -1, then all items are included.

Author:
Tommi Ilmonen


Constructor & Destructor Documentation

GEE_LayerGeometryIterator::GEE_LayerGeometryIterator GEE_World w,
GEE_id_t  layer,
bool  visibles = true
[inline]
 

Constructs a layer iterator and seeks to the first item on that layer.


Member Function Documentation

GEE_Geometry* GEE_LayerGeometryIterator::operator *  )  [inline]
 

Returns the current object.

If there is no more geometry on this layer, then NULL is returned.

void GEE_LayerGeometryIterator::operator++  )  [inline]
 

Moves the iterator one step forward.

Use with care - if the iterator is already at the end then evil things will happen.

void GEE_LayerGeometryIterator::nextVisible  )  [inline]
 

Seeks the next visible geometry on our layer.

void GEE_LayerGeometryIterator::eraseAndNextVisible  ) 
 

Erase the current geometry and go to the next visible thing on our layer.


Member Data Documentation

GEE_id_t GEE_LayerGeometryIterator::m_layer [protected]
 

GEE_World::iterator GEE_LayerGeometryIterator::m_it [protected]
 

GEE_World::iterator GEE_LayerGeometryIterator::m_end [protected]
 

GEE_World* GEE_LayerGeometryIterator::m_world [protected]
 


The documentation for this class was generated from the following files:
Generated on Mon Mar 12 21:09:08 2007 for VEE - The Visual Effects Engine by  doxygen 1.4.6