Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

ONE::photon::Rasterizer Class Reference

Inheritance diagram for ONE::photon::Rasterizer:

Inheritance graph
[legend]
List of all members.

Public Member Functions

void filterImage (GImage &image, int size)
void finish ()
void rasterEdge (const Vector2 &v0, const Vector2 &v1, const PTriangle *&triangle, GImage &image)
void rasterEdges (const PTriangle *&triangle, GImage &image)
 Rasterizer ()
void rasterTriangleToTexture (const PTriangle *&triangle, GImage &image, bool **set)
void scanEdge (const Vector2 &v0, const Vector2 &v1)
void setDim (int dim)

Static Public Member Functions

static void destroyInstance ()
 may be used to manually destroy the singleton instance
static RasterizergetInstance ()
 accesses the singleton instance
static bool isActive ()
 checks if the singleton is active
static bool isDestroyed ()
 checks if the singleton is destroyed
static bool isVirgin ()
 checks if the singleton has not been initialized

Public Attributes

float HEIGHT

Protected Types

typedef Automatic< RasterizerFriendly

Protected Member Functions

 Singleton ()

Static Protected Member Functions

static void destroyedError ()
static void initInstance ()

Member Typedef Documentation

typedef Automatic <Rasterizer > ONE::util::Singleton< Rasterizer , Automatic >::Friendly [protected, inherited]
 

subclasses should declare this type their friend in order to allow access to ctor and dtor, as those should generally be made private.


Constructor & Destructor Documentation

ONE::photon::Rasterizer::Rasterizer  ) 
 


Member Function Documentation

static void ONE::util::Automatic< Rasterizer >::destroyedError  )  [static, protected, inherited]
 

static void ONE::util::Automatic< Rasterizer >::destroyInstance  )  [static, inherited]
 

may be used to manually destroy the singleton instance

If this function is not called, the instance is destroyed automatically during shutdown.

void ONE::photon::Rasterizer::filterImage GImage &  image,
int  size
 

void ONE::photon::Rasterizer::finish  ) 
 

static Rasterizer * ONE::util::Singleton< Rasterizer , Automatic >::getInstance  )  [static, inherited]
 

accesses the singleton instance

The exact operation executed by calling this function is determined by the singleton policies.

Returns:
a pointer to the singleton instance

static void ONE::util::Automatic< Rasterizer >::initInstance  )  [static, protected, inherited]
 

static bool ONE::util::Singleton< Rasterizer , Automatic >::isActive  )  [static, inherited]
 

checks if the singleton is active

Returns:
if the singleton is instantiated

static bool ONE::util::Singleton< Rasterizer , Automatic >::isDestroyed  )  [static, inherited]
 

checks if the singleton is destroyed

This function returns true if an instance existed and was destroyed. Note that in some cases it is possible to revive a singleton.

Returns:
if the singleton is destroyed

static bool ONE::util::Singleton< Rasterizer , Automatic >::isVirgin  )  [static, inherited]
 

checks if the singleton has not been initialized

A singleton is not initialized if no instance exists and no instance has been destroyed.

Returns:
if the singleton is untouched

void ONE::photon::Rasterizer::rasterEdge const Vector2 &  v0,
const Vector2 &  v1,
const PTriangle *&  triangle,
GImage &  image
 

void ONE::photon::Rasterizer::rasterEdges const PTriangle *&  triangle,
GImage &  image
 

void ONE::photon::Rasterizer::rasterTriangleToTexture const PTriangle *&  triangle,
GImage &  image,
bool **  set
 

void ONE::photon::Rasterizer::scanEdge const Vector2 &  v0,
const Vector2 &  v1
 

void ONE::photon::Rasterizer::setDim int  dim  ) 
 

ONE::util::Singleton< Rasterizer , Automatic >::Singleton  )  [protected, inherited]
 


Member Data Documentation

float ONE::photon::Rasterizer::HEIGHT
 


Generated on Wed Sep 7 19:03:25 2005 for ONEngine by  doxygen 1.4.3