CIvfRasterization Class Reference

#include <ivf/IvfRasterization.h>

Inheritance diagram for CIvfRasterization:

CIvfBase CIvfRefCountBase CIvfRTTIBase List of all members.

Public Types

enum  TCullFace { CF_FRONT, CF_BACK, CF_FRONT_AND_BACK }
enum  TTargetFace { TF_FRONT, TF_BACK, TF_FRONT_AND_BACK }
enum  TPolygonMode { PM_POINT, PM_LINE, PM_FILL }

Public Member Functions

 IvfClassInfo ("CIvfRasterization", CIvfBase)
void setPolygonMode (TTargetFace face, TPolygonMode mode)
void defineSmoothShadeMode ()
void defineWireFrameMode ()
void enableCullFace ()
void disableCullFace ()
bool isCullFaceEnabled ()
void enablePolygonSmooth ()
void disablePolygonSmooth ()
void enableLineSmooth ()
void disableLineSmooth ()
void setLineWidth (float width)
TCullFace getCullFace ()
void setCullFace (TCullFace face)

Static Public Member Functions

static CIvfRasterizationgetInstance ()

Friends

class CIvfSingletonDestroyer< CIvfRasterization >

Detailed Description

Rasterisation singleton class

This class controls OpenGL rasterisation options.

The class is accesssed in the following way:

 CIvfRasterizationPtr rasterOps = CIvfRasterization::getInstance();

Definition at line 45 of file IvfRasterization.h.


Member Function Documentation

void CIvfRasterization::defineSmoothShadeMode  ) 
 

Sets up smooth shading (default in OpenGL)

void CIvfRasterization::defineWireFrameMode  ) 
 

Sets up wire frame rendering

void CIvfRasterization::disableCullFace  ) 
 

Disables culling of back faces

void CIvfRasterization::disableLineSmooth  ) 
 

Disable line smoothing

void CIvfRasterization::disablePolygonSmooth  ) 
 

Disables polygon smoothing

void CIvfRasterization::enableCullFace  ) 
 

Enables culling of back faces

void CIvfRasterization::enableLineSmooth  ) 
 

Enables line smoothing

void CIvfRasterization::enablePolygonSmooth  ) 
 

Enables smoothing of polygons

TCullFace CIvfRasterization::getCullFace  ) 
 

Return cull face state

static CIvfRasterization* CIvfRasterization::getInstance  )  [static]
 

Singleton access method

Examples:
lighting.cpp.

bool CIvfRasterization::isCullFaceEnabled  ) 
 

Return back face culling state

void CIvfRasterization::setCullFace TCullFace  face  ) 
 

Set the face to be culled, see TCullFace

void CIvfRasterization::setLineWidth float  width  ) 
 

Sets line width

void CIvfRasterization::setPolygonMode TTargetFace  face,
TPolygonMode  mode
 

Sets OpenGL polygon mode see TPolygonMode


The documentation for this class was generated from the following file:
Generated on Fri Sep 1 15:36:56 2006 for Interactive Visualisation Framework - Ivf++ by  doxygen 1.4.6-NO