proj home

Files   Classes   Functions   Hierarchy  

d3clipping.h

Go to the documentation of this file.
00001 #ifndef D3CLIPPING_H
00002 #define D3CLIPPING_H
00003 
00004 #include <vector>
00005 using namespace std;
00006 
00007 #include <d3tess.h>
00008 #include <partitionspace.h>
00009 
00010 typedef point3<double> pt3;
00011 
00038 class d3clipping
00039 {
00040   d3tess & tess;
00041   vector<d3tri> & vi;
00042   vector<pt3> & pt;
00043   partitionspace< pt3, double > const & H;
00044 
00046   void processB1W2
00047   ( 
00048     uintc s, 
00049     uintc b0, 
00050     uintc w0, 
00051     uintc w1 
00052   );
00053 
00055   void processW1B2
00056   ( 
00057     uintc s, 
00058     uintc w0, 
00059     uintc b0, 
00060     uintc b1 
00061   );
00062 
00064   void addintersectionpoint( pt3c & A, pt3c & B );
00065 
00069   void processSimplex(uintc s);
00070 
00073   void reprocessStack
00074   (
00075     uintc nstacksz,
00076     uintc s,
00077     uintc neib0=0,
00078     uintc neib1=0
00079   );  
00080 
00081 public:
00082 
00085   vector<bool> bv;  
00086 
00088   d3clipping
00089   (
00090     d3tess & tess_, 
00091     partitionspace< pt3, double > const & H_ 
00092   );
00093 
00095   void eval();
00096 
00099   double zero;
00100 
00101 };
00102 
00103 
00104 
00105 #endif
00106 
00107 

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