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

canvas3d.h File Reference

#include "haconst.h"

Go to the source code of this file.

Classes

class  Knot
class  Edge
class  Vert
 Vertice of a polygon for plotting. More...

class  Poly
 Polygon class for plotting. More...

class  ArcEntry
struct  ViewStruct
class  Canvas3D
 Class to define Window to Plot 3D Images. More...


Defines

#define MAXRAD   255
#define MAXTABLE   32641
#define MAXVERT   10
#define ZValid(z)   ((!m_UseSlabPlane) || ((z) < m_SlabValue))
#define XValid(x)   (((x)>=0)&&((x)<View.xmax))
#define YValid(y)   (((y)>=0)&&((y)<View.ymax))
#define RComp(x)   (((x)>>16)&0xff)
 Red Component of color x.

#define GComp(x)   (((x)>>8)&0xff)
 Green Component of color x.

#define BComp(x)   ((x)&0xff)
 Blue Component of color x.


Typedefs

typedef uint_4 Pixel_RS

Variables

const int LutSize = 20000
const double DefaultAmbient = 0.4
 Intensity of light coming from everywhere relative to intensity of front light.

const int ColourDepth = 32
 the number of intermediate colors to model fading intensity of reflected light

const int ColourMask = 31
 ColourMask = ColourDepth-1.

const int LastShade = 500
 The size of the Shade array of basic colors.

const int SlabReject = 0x00
const int SlabHalf = 0x01
const int SlabHollow = 0x02
const int SlabFinal = 0x03
const int SlabClose = 0x04
const int SlabSection = 0x05
const int ColBits = 24


Detailed Description

Classes to plot 3D images in a window in HARLEM

Author:
Igor Kurnikov
Date:
1998-2002

Generated on Tue Feb 17 02:03:08 2004 for harlem by doxygen 1.3.6