COVISE Core
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
IllConv.h
Go to the documentation of this file.
1 /* This file is part of COVISE.
2 
3  You can use it under the terms of the GNU Lesser General Public License
4  version 2.1 or later, see lgpl-2.1.txt.
5 
6  * License: LGPL 2+ */
7 
8 #ifndef __ILL_CONV_H_
9 #define __ILL_CONV_H_
10 
11 #include <util/coTypes.h>
12 
13 // 25.10.00
14 #include "StarFile.h"
19 namespace covise
20 {
21 
23 {
24 public:
25  // Struct: conversion ILL -> parts + Proc to create conversions
26  enum
27  {
28  MAXPARTS = 2
29  };
30  struct ConvertILL
31  {
32  signed short numParts;
33  char conv[MAXPARTS][8];
34  };
35 
36 private:
38  IllConv(const IllConv &);
39 
41  IllConv &operator=(const IllConv &);
42 
43  // Table convILL[case] : 2^12 = 4096 cases -> each Edge cut
44  static const ConvertILL s_convILL[4096];
45 
46  void error();
47 
48  enum // never 7 adjacent edges away witfout fourth
49  {
50  UNUSED = 0x577
51  };
52 
53 public:
55  virtual ~IllConv();
56 
58  IllConv();
59 
60  // convert cell-table + ill-table -> new cell-table
61  // transform convertMap if given, create new otherwise
62 
63  void convertIll(StarModelFile::CellTabEntry *&cellTab,
65  int *&convertMap,
66  int &numElem, int mxtb,
67  void (*dumpFunct)(const char *));
68 };
69 }
70 #endif
Definition: IllConv.h:22
#define STAREXPORT
Definition: coExport.h:188
Definition: StarFile.h:65
signed short numParts
Definition: IllConv.h:32
Definition: IllConv.h:30
Definition: StarFile.h:88