proj home

Files   Classes   Functions   Hierarchy  

meshpatchtest.cpp File Reference

#include <iostream>
#include <cmath>
#include <GL/glut.h>
#include <func.h>
#include <func2dovervec3d.h>
#include <gobj.h>
#include <graphmisc.h>
#include <mathlib.h>
#include <meshpatch.h>
#include <meshpatchtest.h>
#include <meshpatchptr.h>
#include <point.h>
#include <pointgrid3D.h>
#include <pointgrid3Ddraw.h>
#include <pointgrid3Dbilineardraw.h>
#include <print.h>
#include <triangleuniformsubdivision.h>
#include <triangles3Tdisplay.h>
#include <triangles3Tdisplaymulticolored.h>
#include <zpr.h>

Include dependency graph for meshpatchtest.cpp:

Go to the source code of this file.

Typedefs

typedef point3< double > pt3
typedef point3< double > const pt3c

Functions

 funcA2 (tempsin2, sin((x *x-y *y)*0.25), x, y, double, doublec)
 funcA2 (tempsin3, sin(x *x-y *y), x, y, double, doublec)
void meshpatchtestdisplay01 ()
void meshpatchtestkeyboard01 (unsigned char key, int x, int y)

Variables

gobjContainer xGraphics


Typedef Documentation

typedef point3<double> pt3

Definition at line 28 of file meshpatchtest.cpp.

typedef point3<double> const pt3c

Definition at line 29 of file meshpatchtest.cpp.


Function Documentation

funcA2 ( tempsin3  ,
sin(x *x-y *y)  ,
,
,
double  ,
doublec   
)

funcA2 ( tempsin2  ,
sin((x *x-y *y)*0.25)  ,
,
,
double  ,
doublec   
)

void meshpatchtestdisplay01 (  ) 

Definition at line 76 of file meshpatchtest.cpp.

References gobjContainer::draw(), glerrordisplay(), and gobj::global.

Referenced by meshpatchtest::test02(), meshpatchtest::test03(), and meshpatchtest::test04().

00077 {
00078   glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
00079 
00080   gobj::global->draw();
00081 
00082   glerrordisplay();
00083   
00084   glutSwapBuffers();
00085 }

void meshpatchtestkeyboard01 ( unsigned char  key,
int  x,
int  y 
)

Definition at line 87 of file meshpatchtest.cpp.

Referenced by meshpatchtest::test02(), meshpatchtest::test03(), and meshpatchtest::test04().

00088 {
00089   switch (key)
00090   {
00091     case 27:
00092       exit(0);
00093       break;
00094   }
00095 }


Variable Documentation

Definition at line 74 of file meshpatchtest.cpp.


Generated on Fri Mar 4 00:49:33 2011 for Chelton Evans Source by  doxygen 1.5.8