Alphabetical Class Index  Class Hierarchy   File Members   Compound Members   File List  

HUtilityAntialiasing Class Reference

The HUtilityAntialiasing class contains a set of function for software based image antialiasing. More...

#include <HUtilityAntialiasing.h>

List of all members.

Public Member Functions

bool CreateImage ()
bool GetShowState ()
void Hide ()
 HUtilityAntialiasing (HBaseView *view)
void Show (int factor=4)

Static Public Member Functions

static void draw_thick_polyedges (HIC_Rendition *rendition, int count, HIC_DC_Point points[])
static void draw_thick_polylines (HIC_Rendition *rendition, int count, HIC_DC_Point poi3[])
static void RegisterCallbacks ()
static void skip_segment_tree (HIC_Rendition *rendition, HIC_Segment_Info *seg)

Protected Member Functions

void GetWindowSize (int &xmax, int &ymax)

Detailed Description

The HUtilityAntialiasing class contains a set of function for software based image antialiasing.

This class provides support for rendering an antialiased scene. This is achieved by rendering the scene to an image that is large then the extents of the view on the screen.


Constructor & Destructor Documentation

HUtilityAntialiasing::HUtilityAntialiasing ( HBaseView view)

constructor


Member Function Documentation

bool HUtilityAntialiasing::CreateImage ( )

Creates Antialiased Image in memory buffer

Returns:
A boolean indicating success or failure
static void HUtilityAntialiasing::draw_thick_polyedges ( HIC_Rendition *  rendition,
int  count,
HIC_DC_Point  points[] 
) [static]

IM helper function

static void HUtilityAntialiasing::draw_thick_polylines ( HIC_Rendition *  rendition,
int  count,
HIC_DC_Point  poi3[] 
) [static]

IM helper function

bool HUtilityAntialiasing::GetShowState ( )

Returns Whether antialiased picture is currently displayed

void HUtilityAntialiasing::GetWindowSize ( int &  xmax,
int &  ymax 
) [protected]

Helper function to retreive current window size

Parameters:
xmaxWidth of window. Passed by reference
ymaxWidth of window. Passed by reference
void HUtilityAntialiasing::Hide ( )

Hide antialiased picture

static void HUtilityAntialiasing::RegisterCallbacks ( ) [static]

Register callbacks for class

IM helper function

void HUtilityAntialiasing::Show ( int  factor = 4)

Create and Display antialiased image

Parameters:
factoroversampling factor
static void HUtilityAntialiasing::skip_segment_tree ( HIC_Rendition *  rendition,
HIC_Segment_Info *  seg 
) [static]

IM helper function


The documentation for this class was generated from the following file: