Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

45 lines
1.3 KiB

  1. #ifndef __gluslicer_h_
  2. #define __gluslicer_h_
  3. /**************************************************************************
  4. * *
  5. * Copyright (C) 1992, Silicon Graphics, Inc. *
  6. * *
  7. * These coded instructions, statements, and computer programs contain *
  8. * unpublished proprietary information of Silicon Graphics, Inc., and *
  9. * are protected by Federal copyright law. They may not be disclosed *
  10. * to third parties or copied or duplicated in any form, in whole or *
  11. * in part, without the prior written consent of Silicon Graphics, Inc. *
  12. * *
  13. **************************************************************************/
  14. /*
  15. * slicer.h - $Revision: 1.3 $
  16. */
  17. #include "trimregi.h"
  18. #include "mesher.h"
  19. #include "coveandt.h"
  20. class Backend;
  21. class Arc;
  22. class TrimVertex;
  23. class Slicer : public CoveAndTiler, public Mesher {
  24. public:
  25. Slicer( Backend & );
  26. ~Slicer( void );
  27. void slice( Arc * );
  28. void outline( Arc * );
  29. void setstriptessellation( REAL, REAL );
  30. void setisolines( int );
  31. private:
  32. Backend& backend;
  33. REAL oneOverDu;
  34. REAL du, dv;
  35. int isolines;
  36. void outline( void );
  37. void initGridlines( void );
  38. void advanceGridlines( long );
  39. };
  40. #endif /* __gluslicer_h_ */