patchcap.h 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. /**********************************************************************
  2. *<
  3. FILE: patchcap.h
  4. DESCRIPTION: Patch Capping header file
  5. CREATED BY: Tom Hudson
  6. HISTORY: created 21 December, 1995
  7. *> Copyright (c) 1995, All Rights Reserved.
  8. **********************************************************************/
  9. #ifndef __PATCHCAP_H__
  10. #define __PATCHCAP_H__
  11. // This uses the linked-list class templates
  12. #include "linklist.h"
  13. class PatchSeg {
  14. public:
  15. int vert;
  16. int vec1;
  17. int vec2;
  18. PatchSeg() {}
  19. PatchSeg(int v, int v1, int v2) { vert=v; vec1=v1; vec2=v2; }
  20. };
  21. MakeLinkedList(PatchSeg); // Creates PatchSegList
  22. MakeLinkedList(PatchSegList); // Creates PatchSegListList
  23. MakeLinkedList(Patch); // Creates PatchList
  24. MakeLinkedList(PatchVert); // Creates PatchVertList
  25. MakeLinkedList(PatchVec); // Creates PatchVecList
  26. class PatchCapWork {
  27. public:
  28. PatchSegListList plist;
  29. PatchVertList newVerts;
  30. PatchVecList newVecs;
  31. PatchList newPatches;
  32. CoreExport void Dump(char *title = NULL);
  33. };
  34. #endif // __PATCHCAP_H__