FACE.h 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164
  1. #ifndef _FACE_H_
  2. #define _FACE_H_
  3. #if defined EXTERN
  4. #undef EXTERN
  5. #endif
  6. #if defined ___1273
  7. #define EXTERN
  8. #else
  9. #define EXTERN extern
  10. #endif
  11. #include "ItemAddress.h"
  12. namespace tecplot
  13. {
  14. class ___460;
  15. }
  16. namespace tecplot
  17. {
  18. namespace ___2140
  19. {
  20. class ValueProducerInterface;
  21. }
  22. }
  23. inline ___372 ___2008(tecplot::___2090 ___2710, tecplot::___2090 ___2711, tecplot::___2090 ___2712, tecplot::___2090 ___2713) { return ((___2710 == ___2711 && ___2712 == ___2713) || (___2710 == ___2713 && ___2711 == ___2712) || (___2710 == ___2712) || (___2711 == ___2713)); }
  24. typedef enum
  25. {
  26. ___1301,
  27. ___1302,
  28. ___1298,
  29. ___1300,
  30. END_FaceObscuration_e,
  31. ___1299 = ___329
  32. } FaceObscuration_e;
  33. EXTERN ___2227 ___1754(___2227 ___2809, ___2227 ___2814, ___2227 ___2817, ___2227 ___1145, ___2227 ___1252);
  34. EXTERN void ___1776(___806 const *___805, ___802 const *___801, ___2227 ___3896, tecplot::___2140::ValueProducerInterface const &___2744, ___1146 ___3096, ___1146 ___1138, ___2227 &___2693, ___1172 &___2694, tecplot::___460 &___459);
  35. EXTERN FaceObscuration_e ___1665(___806 const *___805, ___802 const *___801, ___3501 ___3, ___2227 ___1145, ___2227 ___1442, ___372 ConsiderValueBlanking, ___372 ConsiderIJKBlanking, ___372 ConsiderDepthBlanking, ___372 ConsiderClipBlanking, tecplot::___460 &___459);
  36. EXTERN ___1172 ___1765(ZoneType_e ___4693);
  37. EXTERN ___1172 ___1666(ZoneType_e ___4693, ___2227 ___1906, ___2227 ___2114, ___2227 ___2159);
  38. EXTERN void ___1778(___4582 const ___3142[], ___4582 ___4265[], int32_t &___2841, ___372 ___1996);
  39. EXTERN CollapsedStatus_e ___1774(___806 const *___804, ___802 const *___800, tecplot::___2140::ValueProducerInterface const &___3878);
  40. EXTERN CollapsedStatus_e ___1774(___806 const *___804, ___802 const *___800, tecplot::___2090 ___2710, tecplot::___2090 ___2711, tecplot::___2090 ___2712, tecplot::___2090 ___2713);
  41. template <typename T>
  42. inline CollapsedStatus_e ___1775(T const *___1296, size_t ___2804)
  43. {
  44. REQUIRE(VALID_REF(___1296));
  45. REQUIRE(2 <= ___2804 && ___2804 <= 4);
  46. if (___2804 == 4)
  47. {
  48. if (___1296[0] == ___1296[1])
  49. {
  50. if (___1296[0] == ___1296[2])
  51. {
  52. if (___1296[0] == ___1296[3])
  53. return ___509;
  54. else
  55. return ___508;
  56. }
  57. else if (___1296[2] == ___1296[3] || ___1296[0] == ___1296[3])
  58. {
  59. return ___508;
  60. }
  61. else
  62. {
  63. return ___511;
  64. }
  65. }
  66. else if (___1296[1] == ___1296[2])
  67. {
  68. if (___1296[1] == ___1296[3] || ___1296[0] == ___1296[3])
  69. return ___508;
  70. else
  71. return ___511;
  72. }
  73. else if (___1296[2] == ___1296[3])
  74. {
  75. if (___1296[0] == ___1296[2])
  76. return ___508;
  77. else
  78. return ___511;
  79. }
  80. else if (___1296[0] == ___1296[3])
  81. {
  82. if (___1296[1] == ___1296[3])
  83. return ___508;
  84. else
  85. return ___511;
  86. }
  87. else if (___1296[0] == ___1296[2] || ___1296[1] == ___1296[3])
  88. {
  89. return ___510;
  90. }
  91. else
  92. {
  93. return ___513;
  94. }
  95. }
  96. else if (___2804 == 3)
  97. {
  98. if (___1296[0] != ___1296[1] && ___1296[0] != ___1296[2] && ___1296[1] != ___1296[2])
  99. return ___513;
  100. else if (___1296[0] == ___1296[1] && ___1296[0] == ___1296[2])
  101. return ___509;
  102. else
  103. return ___508;
  104. }
  105. else /* if (___2804 == 2) */
  106. {
  107. ___478(___2804 == 2);
  108. if (___1296[0] != ___1296[1])
  109. return ___513;
  110. else
  111. return ___509;
  112. }
  113. }
  114. template <typename T>
  115. inline CollapsedStatus_e ___1671(ZoneType_e ___4692, T const *___1296, ___1172 face)
  116. {
  117. REQUIRE(___2018(___4692));
  118. REQUIRE(VALID_REF(___1296));
  119. REQUIRE(IMPLICATION(___4692 == ___4696, face == 0));
  120. REQUIRE(IMPLICATION(___4692 == ___4702, 0 <= face && face <= 2));
  121. REQUIRE(IMPLICATION(___4692 == ___4700, 0 <= face && face <= 3));
  122. REQUIRE(IMPLICATION(___4692 == ___4701, 0 <= face && face <= 3));
  123. REQUIRE(IMPLICATION(___4692 == ___4695, 0 <= face && face <= 5));
  124. size_t ___2804 = 0;
  125. T const *___1438 = ___1296;
  126. T ___2314[2];
  127. switch (___4692)
  128. {
  129. case ___4696:
  130. ___2804 = 2;
  131. break;
  132. case ___4701:
  133. ___2804 = 3;
  134. break;
  135. case ___4695:
  136. ___2804 = 4;
  137. break;
  138. case ___4702:
  139. case ___4700:
  140. {
  141. ___2804 = 2;
  142. if (face == (___4692 == ___4702 ? 2 : 3))
  143. {
  144. ___2314[0] = ___1296[face];
  145. ___2314[1] = ___1296[0];
  146. ___1438 = ___2314;
  147. }
  148. else
  149. {
  150. ___1438 = &___1296[face];
  151. }
  152. }
  153. break;
  154. default:
  155. ___478(___1305);
  156. break;
  157. }
  158. return ___1775(___1438, ___2804);
  159. }
  160. EXTERN CollapsedStatus_e ___1671(___2727 ___2707, tecplot::___2090 ___451, ___1172 face);
  161. #if defined ALLOW_USERDEF_NO_NEIGHBORING_ELEMENT
  162. EXTERN ___372 ___2066(___1292 ___1275, ___2227 ___1145, ___2227 ___1252);
  163. #endif
  164. #endif