proj home

Files   Classes   Functions   Hierarchy  

Public Member Functions | Static Public Member Functions | Static Public Attributes | List of all members
gobj Class Reference

#include <gobjbase.h>

Inherited by arcdraw, buttonpanel01, buttonpanel02, cubedraw, d2arrow, d2partitiondraw< T >, d2partitiondraw< PD >, d2simplexFill, d2simplexintersection, d2simplexNormals, d2simplexOutline, d3circlepartitiondraw, d3meshpartitiondraw, d3tessdraw, gobjcallback< T >, gobjcallbackcontainer< T >, gobjContainer, gobjContainerdeque, gobjContainerSwitch, gobjdebug01test_A, gobjglBegin, gobjglBlendFunc, gobjglCallList< T >, gobjglClear, gobjglClearAccum, gobjglClearColor, gobjglClearDepth, gobjglClearIndex, gobjglClearStencil, gobjglClipPlane, gobjglColor3d, gobjglColor3f, gobjglColor3ub, gobjglColor4d, gobjglColor4f, gobjglColor4ub, gobjglDepthRange, gobjglDisable, gobjglEnable, gobjglEnd, gobjglEndList, gobjglFlush, gobjglGenLists, gobjglLineStipple, gobjglLoadIdentity, gobjglLoadMatrixd, gobjglLoadMatrixf, gobjglMatrixMode, gobjglMultMatrixd, gobjglMultMatrixf, gobjglNewList, gobjglNormal3f, gobjglOrtho, gobjglPopAttrib, gobjglPopMatrix, gobjglPushAttrib, gobjglPushMatrix, gobjglRasterPos2f, gobjglRasterPos2i, gobjglRasterPos3f, gobjglRotated, gobjglRotatef, gobjglTranslated, gobjglTranslatef, gobjgluCylinder, gobjgluDeleteQuadric, gobjgluDisk, gobjgluNewQuadric, gobjgluOrtho2D, gobjgluPartialDisk, gobjgluPerspective, gobjgluQuadricNormals, gobjgluQuadricOrientation, gobjgluQuadricTexture, gobjgluSphere, gobjglutSolidCone, gobjglutSolidCube, gobjglutSolidDodecahedron, gobjglutSolidIcosahedron, gobjglutSolidOctahedron, gobjglutSolidSphere, gobjglutSolidTeapot, gobjglutSolidTetrahedron, gobjglutSolidTorus, gobjglutWireCone, gobjglutWireCube, gobjglutWireDodecahedron, gobjglutWireIcosahedron, gobjglutWireOctahedron, gobjglutWireSphere, gobjglutWireTeapot, gobjglutWireTetrahedron, gobjglutWireTorus, gobjglVertex2d, gobjglVertex2f, gobjglVertex3d, gobjglVertex3f, gobjglViewport, gobjMyArrow, gobjMyBitmapCharacter, gobjMyCircle, gobjMyCircleDraw, gobjMyDiscDraw, gobjMyDiskDraw, gobjMySphereDraw, gobjMyTranslateDraw, gobjQuadric, gobjSwitch< BOOL >, gobjSwitch< bool & >, graphicsImmediateDeferred, graphicsImmediateDeferredTestg02, graphicsImmediateDeferredTestTri, halfspaceD2draw, halfspaceD3display< HS >, halfspaceD3displaywinding< HS >, helix, mazedisp01 [private], mazedisp02 [private], mazedisp03, myaxes, myRotate, namefont, pointsdisplay2D< T >, pointsdisplay3D< T >, pointsgraph, pointsgraph_axes_circle, regionD2tessdisplaymesh< TS, Indx >, regionD2tessdisplaypoints< TS, Indx >, springlineardraw, tessD2draw02circles< TESS, PT, INDX >, tessD2draw02mesh< TESS, PT, INDX >, tessD2draw02multicolor< TESS, PT, INDX >, tessD2draw02simplexindex< TESS, PT, INDX >, tetrahedrondisplay< TET >, tetrahedrondisplaycentroid< TET >, tetrahedrondisplaymesh< TET >, tetrahedrondisplaytest< TET >, tetrahedrontriangledisplay< TET, TD >, textoverlay, triangledisplay< TR >, triangledisplaybisectpoints< TR >, triangledisplaycentroid< TR >, triangledisplaycircumcenter< TR >, triangledisplayfermatpoint< TR >, triangledisplaygergonnepoint< TR >, triangledisplayincenter< TR >, triangledisplaymesh< TR >, triangledisplaymidpoints< TR >, triangledisplaynapoleanpoint< TR >, triangledisplayorthocenter< TR >, trianglefacedraw, triangles3Tdisplay< T, W >, writebaseobj, writecirclesobj, writecpcircleobj, writecpobj, writecpobj, writecpvoronoiobj, writegridobj, writegridobj, writemulticolorobj, writepointsobj, writepointsobj, writesimplicesobj, writesimplicesobj, writesurfaceobj, writesurfaceobj, writevoronoidiagramobj, writewindingobj, and writewindingobj.

Collaboration diagram for gobj:
Collaboration graph

Public Member Functions

virtual void draw ()=0
 Draw the object.
virtual ~gobj ()
 Destructor.

Static Public Member Functions

static void globaldisplaylist (uintc id)
 Convert the global graphics into a display list.

Static Public Attributes

static gobjContainerglobal = 0
 The graphics stream.

Detailed Description

Definition at line 46 of file gobjbase.h.

Constructor & Destructor Documentation

gobj::~gobj ( )
virtual

Destructor.

Definition at line 34 of file gobjbase.cpp.

{
}

Member Function Documentation

virtual void gobj::draw ( )
pure virtual

Draw the object.

Implemented in gobjglClearAccum, gobjglClearStencil, gobjglClearDepth, gobjglClearIndex, gobjglClearColor, gobjglClear, gobjglFlush, gobjgluPerspective, gobjgluOrtho2D, gobjgluPartialDisk, gobjgluDisk, gobjgluCylinder, gobjgluSphere, gobjgluQuadricTexture, gobjgluQuadricNormals, gobjgluQuadricOrientation, gobjgluDeleteQuadric, gobjgluNewQuadric, gobjglClipPlane, gobjglDepthRange, gobjglViewport, gobjglOrtho, gobjglMultMatrixd, gobjglMultMatrixf, gobjglLoadMatrixd, gobjglLoadMatrixf, gobjglMatrixMode, gobjglEndList, gobjglGenLists, gobjglBlendFunc, gobjglLineStipple, gobjglutWireTorus, gobjglutSolidTorus, gobjglutWireOctahedron, gobjglutWireIcosahedron, gobjglutWireTetrahedron, gobjglutWireDodecahedron, gobjglutSolidOctahedron, gobjglutSolidIcosahedron, gobjglutSolidTetrahedron, gobjglutSolidDodecahedron, gobjMyDiskDraw, gobjglutWireSphere, gobjglutSolidSphere, gobjglutWireTeapot, gobjMyArrow, gobjglutSolidTeapot, gobjglutWireCone, gobjMyBitmapCharacter, gobjglutSolidCone, gobjglutWireCube, gobjglutSolidCube, gobjglNormal3f, gobjMyCircleDraw, gobjglVertex3d, gobjglVertex3f, gobjMyCircle, gobjglTranslated, gobjMySphereDraw, gobjglTranslatef, gobjglRotated, gobjglRotatef, gobjglPopAttrib, gobjglPushAttrib, gobjMyDiscDraw, gobjQuadric, gobjglDisable, gobjglEnable, gobjMyTranslateDraw, gobjglPopMatrix, gobjglPushMatrix, gobjcallbackcontainer< T >, gobjglLoadIdentity, gobjglVertex2d, gobjSwitch< BOOL >, gobjSwitch< bool & >, menusystemOneShot, triangledisplaygergonnepoint< TR >, gobjglVertex2f, gobjContainerPrePost, triangledisplaynapoleanpoint< TR >, gobjglEnd, gobjglBegin, gobjContainerSwitch, triangledisplayfermatpoint< TR >, gobjglRasterPos3f, triangles3TdisplayCpertriangle< T, W, C >, triangles3TdisplayCpertriangle< T, W, GLdouble >, triangledisplayincenter< TR >, gobjglRasterPos2i, gobjglRasterPos2f, triangledisplaycircumcenter< TR >, gobjContainerdeque, gobjglColor4ub, myaxes, triangles3TdisplayNCpertriangle< T, W, C >, triangledisplayorthocenter< TR >, gobjContainer, writevoronoidiagramobj, gobjglColor3ub, writemulticolorobj, triangledisplaycentroid< TR >, writecpvoronoiobj, pointsgraph_axes_circle, gobjglColor4d, menusystem, tetrahedrontriangledisplay< TET, TD >, writecirclesobj, triangledisplaybisectpoints< TR >, writecpcircleobj, graphicsImmediateDeferredTestg02, gobjglColor4f, triangles3TdisplayNC< T, W, C >, writesurfaceobj, triangledisplaymidpoints< TR >, tessD2draw02circles< TESS, PT, INDX >, tessD1draw01simplexindexes< TESS, PT >, gobjcallback< T >, graphicsImmediateDeferredTestTri, gobjglColor3d, writecpobj, triangledisplaymesh< TR >, tetrahedrondisplaytest< TET >, writesimplicesobj, tessD1draw01linesmulticolor< TESS, PT >, gobjglCallList< T >, pointsdisplay2D< T >, tessD2draw02multicolor< TESS, PT, INDX >, writegridobj, gobjglColor3f, tetrahedrondisplaycentroid< TET >, triangledisplaypoints< TR >, writewindingobj, triangles3TdisplayN< T, W >, tessD1draw01lines< TESS, PT >, writepointsobj, tessD2draw02simplexindex< TESS, PT, INDX >, tetrahedrondisplaymesh< TET >, d2simplexintersection, regionD2tessdisplaypoints< TS, Indx >, tessD1draw01points< TESS, PT >, d2arrow, d3tessdraw, triangledisplay< TR >, mazedisp03, helix, graphicsImmediateDeferred, myRotate, pointsdisplay3D< T >, halfspaceD3displaywinding< HS >, buttonpanel02, springlineardraw, menusystemsave01, tetrahedrondisplay< TET >, tessD2draw02mesh< TESS, PT, INDX >, textoverlay, pointsgraph, namefont, triangles3Tdisplay< T, W >, halfspaceD2draw, gobjdebug01test_C, pathlinesegdraw, d2simplexNormals, buttonpanel01, arcdraw, regionD2tessdisplaymesh< TS, Indx >, gobjdebug01test_B, d3circlepartitiondraw, tessD2draw02points< TESS, PT >, d3meshpartitiondraw, cubedraw, gobjdebug01test_A, d2simplexFill, cubedraw2d, menu01< T >, menu01< test01obj< P, PD > >, cubedraw3d, d2partitiondraw< T >, d2partitiondraw< PD >, halfspaceD3display< HS >, and d2simplexOutline.

Referenced by graphicsImmediateDeferredTestTri::draw().

void gobj::globaldisplaylist ( uintc  id)
static

Convert the global graphics into a display list.

Definition at line 38 of file gobjbase.cpp.

References gobjContainer::displaylist(), and global.

{
assert(global!=0);
}

Member Data Documentation

gobjContainer * gobj::global = 0
static

The graphics stream.

Definition at line 51 of file gobjbase.h.

Referenced by d4tessdraw::d4tessdraw(), display(), menusystemtest01::display(), menusystemtest02::display(), menusystemtest04::display(), bsptree001::display(), visenv::display(), simplexD1tessapp01::display(), menusystemtest03::display(), polytopesD2linkedtest::display01(), regionD2linkedtest::display01(), quickhull2Dtest::display01(), plotpolartest::display01(), tetrahedrontest::display01(), helixtestscope::helixtest::display01(), spiralindextest::display01(), maze003::display01(), maze002::display01(), pathlinesegtest::display01(), triangletest::display01(), gobjtest::display01(), diskinttest::display01(), maze004::display01(), boxOBBhalfspaceD2test::display01(), circleD2test::display01(), buttonpanel01test::display01(), maze001::display01(), snakesorttest::display01(), graphicsImmediateDeferredTest::display01(), maze005::display01(), cubegui::display01(), delaunaysimpleD2test::display01(), simplexD2tessapp01::display01(), triangles3Tdisplaytest::display01(), display01(), quickhull3Dtest::display01(), menusystemtest::display02(), partitionstest::display02(), tetrahedrondraw< T, D >::displaybase(), tetrahedrondraw< T, D >::displayedges(), tetrahedrondraw< T, D >::displaywinding(), mazedisp02::draw(), writepointsobj::draw(), writesurfaceobj::draw(), tessD2draw02multicolor< TESS, PT, INDX >::draw(), writegridobj::draw(), writesimplicesobj::draw(), writemulticolorobj::draw(), writevoronoidiagramobj::draw(), globaldisplaylist(), gobjContainer::globalpush(), graphicsImmediateDeferredTestTri::graphicscreate03(), meshpatchtestdisplay01(), d4tessdraw::meshupdate(), d3tessdraw::meshupdate(), planeinttestdisplay01(), pointsdisplay3D< T >::pointsdisplay3D(), pointsurfacetestdisplay01(), gobjContainer::set(), mazedisp03::staticgraphics(), delaunaysimpleD2test::test01(), polytopesD2linkedtest::test02(), quickhull2Dtest::test02(), snakesorttest::test02(), test02(), polytopesD2linkedtest::test03(), snakesorttest::test03(), polytopesD2linkedtest::test04(), treeindexedD2test::test05(), test05(), quickhull2Dtest::test06(), graphicsImmediateDeferred::update(), and writearcgeometry().


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