ShapeMaker::ShapeData::ShapeEntry Class Reference

Inner class for handling a single polygon in the ShapeData. More...

#include <ShapeMaker.h>

List of all members.

Public Member Functions

 ShapeEntry ()
 Constructor.
 ~ShapeEntry ()
 Destructor.
PolygonDatacreatePolygonData () const
 Creates a PolygonData from the contents of the shape entry.
bool beginSubPolygon ()
 Starts a new sub polygon.
bool endSubPolygon ()
 Ends the sub polygon.
bool addVertex (const VECTOR2D &aVertex)
 Adds a vertex to the shape entry.

Protected Attributes

RATIONAL ** mVertexData
int * mVertexCounts
int mSubPolygonCount


Detailed Description

Inner class for handling a single polygon in the ShapeData.


Constructor & Destructor Documentation

ShapeMaker::ShapeData::ShapeEntry::ShapeEntry  ) 
 

Constructor.

ShapeMaker::ShapeData::ShapeEntry::~ShapeEntry  ) 
 

Destructor.


Member Function Documentation

bool ShapeMaker::ShapeData::ShapeEntry::addVertex const VECTOR2D &  aVertex  ) 
 

Adds a vertex to the shape entry.

bool ShapeMaker::ShapeData::ShapeEntry::beginSubPolygon  ) 
 

Starts a new sub polygon.

PolygonData * ShapeMaker::ShapeData::ShapeEntry::createPolygonData  )  const
 

Creates a PolygonData from the contents of the shape entry.

Note that the ShapeEntry owns the data the PolygonData refers to.

bool ShapeMaker::ShapeData::ShapeEntry::endSubPolygon  ) 
 

Ends the sub polygon.


Member Data Documentation

int ShapeMaker::ShapeData::ShapeEntry::mSubPolygonCount [protected]
 

int* ShapeMaker::ShapeData::ShapeEntry::mVertexCounts [protected]
 

RATIONAL** ShapeMaker::ShapeData::ShapeEntry::mVertexData [protected]
 


The documentation for this class was generated from the following files:
Generated on Fri Aug 3 00:44:41 2007 for Scanline edge-flag algorithm for antialiasing by  doxygen 1.4.6-NO