proj home

Files   Classes   Functions   Hierarchy  

planepointsurface.h

Go to the documentation of this file.
00001 #ifndef PLANEPOINTSURFACE_H
00002 #define PLANEPOINTSURFACE_H
00003 
00004 #include <plane.h>
00005 #include <typedefs.h>
00006 
00031 class planepointsurface
00032 {
00034   uint state;
00035 public:
00036 
00038   plane & pln;
00039 
00041   double uoffset;
00043   double voffset;
00045   double uscale;
00047   double vscale;
00048 
00050   planepointsurface(plane & _pln)
00051     : state(0), pln(_pln), uoffset(-0.5), voffset(-0.5), 
00052       uscale(20.0), vscale(20.0) {}
00053 
00055   void scaleSet(doublec s)
00056     { uscale=s; vscale=s; }
00057 
00059   void operator()
00060   (
00061     bool & accept,
00062     double & x,
00063     double & y,
00064     double & z,
00065     doublec u,
00066     doublec v
00067   );
00068 
00069 };
00070 
00071 #endif
00072 
00073 

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