#else
case VISU::eSEG3:
-#if defined(VTK_QUADRATIC_EDGE) && defined(VISU_USE_VTK_QUADRATIC)
+#if defined(VISU_USE_VTK_QUADRATIC)
return VTK_QUADRATIC_EDGE;
#else
return VTK_POLY_LINE;
#endif
case VISU::eTRIA6:
-#if defined(VTK_QUADRATIC_TRIANGLE) && defined(VISU_USE_VTK_QUADRATIC)
+#if defined(VISU_USE_VTK_QUADRATIC)
return VTK_QUADRATIC_TRIANGLE;
#else
return VTK_POLYGON;
#endif
case VISU::eQUAD8:
-#if defined(VTK_QUADRATIC_QUAD) && defined(VISU_USE_VTK_QUADRATIC)
+#if defined(VISU_USE_VTK_QUADRATIC)
return VTK_QUADRATIC_QUAD;
#else
return VTK_POLYGON;
#endif
case VISU::eTETRA10:
-#if defined(VTK_QUADRATIC_TETRA) && defined(VISU_USE_VTK_QUADRATIC)
+#if defined(VISU_USE_VTK_QUADRATIC)
return VTK_QUADRATIC_TETRA;
#else
return VTK_CONVEX_POINT_SET;
#endif
case VISU::eHEXA20:
-#if defined(VTK_QUADRATIC_HEXAHEDRON) && defined(VISU_USE_VTK_QUADRATIC)
+#if defined(VISU_USE_VTK_QUADRATIC)
return VTK_QUADRATIC_HEXAHEDRON;
#else
return VTK_CONVEX_POINT_SET;
#endif
case VISU::ePENTA15:
-#if defined(VTK_QUADRATIC_WEDGE) && defined(VISU_USE_VTK_QUADRATIC)
+#if defined(VISU_USE_VTK_QUADRATIC)
return VTK_QUADRATIC_WEDGE;
#else
return VTK_CONVEX_POINT_SET;
#endif
case VISU::ePYRA13:
-#if defined(VTK_QUADRATIC_PYRAMID) && defined(VISU_USE_VTK_QUADRATIC)
+#if defined(VISU_USE_VTK_QUADRATIC)
return VTK_QUADRATIC_PYRAMID;
#else
return VTK_CONVEX_POINT_SET;
}
switch(aMGeom){
-#if !(defined(VTK_QUADRATIC_EDGE) && defined(VISU_USE_VTK_QUADRATIC)) && defined(VISU_ENABLE_QUADRATIC)
+#if !(defined(VISU_USE_VTK_QUADRATIC)) && defined(VISU_ENABLE_QUADRATIC)
case MED::eSEG3:
anArray[0] = aConnect[0];
anArray[2] = aConnect[1];
anArray[1] = aConnect[2];
break;
#endif
-#if !(defined(VTK_QUADRATIC_TRIANGLE) && defined(VISU_USE_VTK_QUADRATIC)) && defined(VISU_ENABLE_QUADRATIC)
+#if !(defined(VISU_USE_VTK_QUADRATIC)) && defined(VISU_ENABLE_QUADRATIC)
case MED::eTRIA6:
anArray[0] = aConnect[0];
anArray[2] = aConnect[1];
anArray[5] = aConnect[5];
break;
#endif
-#if !(defined(VTK_QUADRATIC_QUAD) && defined(VISU_USE_VTK_QUADRATIC)) && defined(VISU_ENABLE_QUADRATIC)
+#if !(defined(VISU_USE_VTK_QUADRATIC)) && defined(VISU_ENABLE_QUADRATIC)
case MED::eQUAD8:
anArray[0] = aConnect[0];
anArray[2] = aConnect[1];
anArray[7] = aConnect[7];
break;
#endif
-#if (defined(VTK_QUADRATIC_TETRA) && defined(VISU_USE_VTK_QUADRATIC)) && defined(VISU_ENABLE_QUADRATIC)
+#if (defined(VISU_USE_VTK_QUADRATIC)) && defined(VISU_ENABLE_QUADRATIC)
case MED::eTETRA10:
anArray[0] = aConnect[0];
anArray[1] = aConnect[2];
anArray[2] = aConnect[1];
anArray[3] = aConnect[3];
break;
-#if (defined(VTK_QUADRATIC_PYRAMID) && defined(VISU_USE_VTK_QUADRATIC)) && defined(VISU_ENABLE_QUADRATIC)
+#if (defined(VISU_USE_VTK_QUADRATIC)) && defined(VISU_ENABLE_QUADRATIC)
case MED::ePYRA13:
anArray[0] = aConnect[0];
anArray[1] = aConnect[3];
void InitMed2VisuArray(std::vector<int>& anArray, EGeometry aEGeom){
switch(aEGeom){
-#if !(defined(VTK_QUADRATIC_EDGE) && defined(VISU_USE_VTK_QUADRATIC)) && defined(VISU_ENABLE_QUADRATIC)
+#if !(defined(VISU_USE_VTK_QUADRATIC)) && defined(VISU_ENABLE_QUADRATIC)
case eSEG3:
anArray[0] = 0;
anArray[2] = 1;
break;
#endif
-#if !(defined(VTK_QUADRATIC_TRIANGLE) && defined(VISU_USE_VTK_QUADRATIC)) && defined(VISU_ENABLE_QUADRATIC)
+#if !(defined(VISU_USE_VTK_QUADRATIC)) && defined(VISU_ENABLE_QUADRATIC)
case eTRIA6:
anArray[0] = 0;
anArray[2] = 1;
break;
#endif
-#if !(defined(VTK_QUADRATIC_QUAD) && defined(VISU_USE_VTK_QUADRATIC)) && defined(VISU_ENABLE_QUADRATIC)
+#if !(defined(VISU_USE_VTK_QUADRATIC)) && defined(VISU_ENABLE_QUADRATIC)
case eQUAD8:
anArray[0] = 0;
anArray[2] = 1;
anArray[3] = 1;
anArray[4] = 4;
break;
-#if (defined(VTK_QUADRATIC_TETRA) && defined(VISU_USE_VTK_QUADRATIC)) && defined(VISU_ENABLE_QUADRATIC)
+#if (defined(VISU_USE_VTK_QUADRATIC)) && defined(VISU_ENABLE_QUADRATIC)
case eTETRA10:
anArray[0] = 0;
anArray[1] = 2;
break;
#endif
-#if (defined(VTK_QUADRATIC_PYRAMID) && defined(VISU_USE_VTK_QUADRATIC)) && defined(VISU_ENABLE_QUADRATIC)
+#if (defined(VISU_USE_VTK_QUADRATIC)) && defined(VISU_ENABLE_QUADRATIC)
case ePYRA13:
anArray[0] = 0;
anArray[1] = 3;
return VISU::ePOLYEDRE;
#if defined(VISU_ENABLE_QUADRATIC) && defined(VISU_USE_VTK_QUADRATIC)
- #if defined(VTK_QUADRATIC_EDGE)
+
case VTK_QUADRATIC_EDGE:
return VISU::eSEG3;
- #endif
- #if defined(VTK_QUADRATIC_TRIANGLE)
case VTK_QUADRATIC_TRIANGLE:
return VISU::eTRIA6;
- #endif
- #if defined(VTK_QUADRATIC_QUAD)
case VTK_QUADRATIC_QUAD:
return VISU::eQUAD8;
- #endif
- #if defined(VTK_QUADRATIC_TETRA)
case VTK_QUADRATIC_TETRA:
return VISU::eTETRA10;
- #endif
- #if defined(VTK_QUADRATIC_HEXAHEDRON)
case VTK_QUADRATIC_HEXAHEDRON:
return VISU::eHEXA20;
- #endif
- #if defined(VTK_QUADRATIC_WEDGE)
case VTK_QUADRATIC_WEDGE:
return VISU::ePENTA15;
- #endif
- #if defined(VTK_QUADRATIC_PYRAMID)
case VTK_QUADRATIC_PYRAMID:
return VISU::ePYRA13;
- #endif
-
+
#endif //VISU_ENABLE_QUADRATIC
default:
::TValForTimeImpl():
myGaussPtsIDFilter(new TGaussPtsIDFilter()),
myUnstructuredGridIDMapper(new TUnstructuredGridIDMapperImpl()),
- myIsFilled(false)
+ myIsFilled(false)
{}
const PMeshValue&
aConnect[k] = aConn[kj+k] - 1;
switch(aMGeom){
-#if !(defined(VTK_QUADRATIC_EDGE) && defined(VISU_USE_VTK_QUADRATIC)) && defined(VISU_ENABLE_QUADRATIC)
+#if !(defined(VISU_USE_VTK_QUADRATIC)) && defined(VISU_ENABLE_QUADRATIC)
case SALOME_MED::MED_SEG3:
anArray[0] = aConnect[0];
anArray[2] = aConnect[1];
anArray[1] = aConnect[2];
break;
#endif
-#if !(defined(VTK_QUADRATIC_TRIANGLE) && defined(VISU_USE_VTK_QUADRATIC)) && defined(VISU_ENABLE_QUADRATIC)
+#if !(defined(VISU_USE_VTK_QUADRATIC)) && defined(VISU_ENABLE_QUADRATIC)
case SALOME_MED::MED_TRIA6:
anArray[0] = aConnect[0];
anArray[2] = aConnect[1];
anArray[5] = aConnect[5];
break;
#endif
-#if !(defined(VTK_QUADRATIC_QUAD) && defined(VISU_USE_VTK_QUADRATIC)) && defined(VISU_ENABLE_QUADRATIC)
+#if !(defined(VISU_USE_VTK_QUADRATIC)) && defined(VISU_ENABLE_QUADRATIC)
case SALOME_MED::MED_QUAD8:
anArray[0] = aConnect[0];
anArray[2] = aConnect[1];
anArray[7] = aConnect[7];
break;
#endif
-#if (defined(VTK_QUADRATIC_TETRA) && defined(VISU_USE_VTK_QUADRATIC)) && defined(VISU_ENABLE_QUADRATIC)
+#if (defined(VISU_USE_VTK_QUADRATIC)) && defined(VISU_ENABLE_QUADRATIC)
case SALOME_MED::MED_TETRA10 :
#endif
case SALOME_MED::MED_TETRA4 :
anArray[2] = aConnect[3];
anArray[3] = aConnect[2];
break;
-#if (defined(VTK_QUADRATIC_PYRAMID) && defined(VISU_USE_VTK_QUADRATIC)) && defined(VISU_ENABLE_QUADRATIC)
+#if (defined(VISU_USE_VTK_QUADRATIC)) && defined(VISU_ENABLE_QUADRATIC)
case SALOME_MED::MED_PYRA13:
#endif
case SALOME_MED::MED_PYRA5 :