CL_PolygonRasterizer Class Reference
[clanDisplay Display]

Polygon rasterization description. More...

#include <polygon_rasterizer.h>

List of all members.

Public Member Functions

Construction
 CL_PolygonRasterizer ()
 Constructs a polygon rasterizer description.
virtual ~CL_PolygonRasterizer ()
Attributes
bool is_antialiased () const
 Returns true if the polygons are anti-aliased.
bool is_culled () const
 Returns true if cull testing is enabled.
bool is_point_offset () const
 Returns true if points are offset.
bool is_line_offset () const
 Returns true if lines are offset.
bool is_polygon_offset () const
 Returns true if polygons are offset.
CL_CullMode get_face_cull_mode () const
 Returns the polygon cull clipping mode.
CL_FillMode get_face_fill_mode_front () const
 Returns the filling mode for front-facing polygons.
CL_FillMode get_face_fill_mode_back () const
 Returns the filling mode for back-facing polygons.
float get_offset_factor () const
 Returns the offsetting factor.
float get_offset_units () const
 Returns the offsetting units.
CL_FaceSide get_front_face () const
 Returns the side considered the front of a face.
Operations
void set_antialiased (bool value)
 Enables/disables anti-aliasing.
void set_culled (bool value)
 Enables/disables polygon cull clipping.
void set_point_offset (bool value)
 Enables/disables point offsetting.
void set_line_offset (bool value)
 Enables/disables line offsetting.
void set_polygon_offset (bool value)
 Enables/disables polygon offsetting.
void set_face_cull_mode (CL_CullMode value)
 Sets the polygon cull clipping mode.
void set_face_fill_mode_front (CL_FillMode value)
 Sets the filling mode for front-facing polygons.
void set_face_fill_mode_back (CL_FillMode value)
 Sets the filling mode for back-facing polygons.
void set_front_face (CL_FaceSide value)
 Sets which side is the front side of a face.
void set_offset_factor (float value)
 Sets the offset factor.
void set_offset_units (float value)
 Sets the offset units.


Detailed Description

Polygon rasterization description.


Constructor & Destructor Documentation

CL_PolygonRasterizer::CL_PolygonRasterizer  ) 
 

Constructs a polygon rasterizer description.

virtual CL_PolygonRasterizer::~CL_PolygonRasterizer  )  [virtual]
 


Member Function Documentation

CL_CullMode CL_PolygonRasterizer::get_face_cull_mode  )  const
 

Returns the polygon cull clipping mode.

CL_FillMode CL_PolygonRasterizer::get_face_fill_mode_back  )  const
 

Returns the filling mode for back-facing polygons.

CL_FillMode CL_PolygonRasterizer::get_face_fill_mode_front  )  const
 

Returns the filling mode for front-facing polygons.

CL_FaceSide CL_PolygonRasterizer::get_front_face  )  const
 

Returns the side considered the front of a face.

float CL_PolygonRasterizer::get_offset_factor  )  const
 

Returns the offsetting factor.

float CL_PolygonRasterizer::get_offset_units  )  const
 

Returns the offsetting units.

bool CL_PolygonRasterizer::is_antialiased  )  const
 

Returns true if the polygons are anti-aliased.

bool CL_PolygonRasterizer::is_culled  )  const
 

Returns true if cull testing is enabled.

bool CL_PolygonRasterizer::is_line_offset  )  const
 

Returns true if lines are offset.

bool CL_PolygonRasterizer::is_point_offset  )  const
 

Returns true if points are offset.

bool CL_PolygonRasterizer::is_polygon_offset  )  const
 

Returns true if polygons are offset.

void CL_PolygonRasterizer::set_antialiased bool  value  ) 
 

Enables/disables anti-aliasing.

void CL_PolygonRasterizer::set_culled bool  value  ) 
 

Enables/disables polygon cull clipping.

void CL_PolygonRasterizer::set_face_cull_mode CL_CullMode  value  ) 
 

Sets the polygon cull clipping mode.

void CL_PolygonRasterizer::set_face_fill_mode_back CL_FillMode  value  ) 
 

Sets the filling mode for back-facing polygons.

void CL_PolygonRasterizer::set_face_fill_mode_front CL_FillMode  value  ) 
 

Sets the filling mode for front-facing polygons.

void CL_PolygonRasterizer::set_front_face CL_FaceSide  value  ) 
 

Sets which side is the front side of a face.

void CL_PolygonRasterizer::set_line_offset bool  value  ) 
 

Enables/disables line offsetting.

void CL_PolygonRasterizer::set_offset_factor float  value  ) 
 

Sets the offset factor.

void CL_PolygonRasterizer::set_offset_units float  value  ) 
 

Sets the offset units.

void CL_PolygonRasterizer::set_point_offset bool  value  ) 
 

Enables/disables point offsetting.

void CL_PolygonRasterizer::set_polygon_offset bool  value  ) 
 

Enables/disables polygon offsetting.


The documentation for this class was generated from the following file:
Generated on Thu Dec 3 02:39:39 2009 for ClanLib by  doxygen 1.4.6