0027670: Visualization - avoid duplication of structures defining primitive array...
[occt.git] / src / Aspect / Aspect_HatchStyle.hxx
index bb57fd5..49128ce 100644 (file)
 #define _Aspect_HatchStyle_HeaderFile
 
 //! Definition of all available hatch styles.
-//!
-//! HS_HORIZONTAL
-//! HS_HORIZONTAL_WIDE
-//! HS_VERTICAL
-//! HS_VERTICAL_WIDE
-//! HS_DIAGONAL_45
-//! HS_DIAGONAL_45_WIDE
-//! HS_DIAGONAL_135
-//! HS_DIAGONAL_135_WIDE
-//! HS_GRID
-//! HS_GRID_WIDE
-//! HS_GRID_DIAGONAL
-//! HS_GRID_DIAGONAL_WIDE
 enum Aspect_HatchStyle
 {
-Aspect_HS_HORIZONTAL,
-Aspect_HS_HORIZONTAL_WIDE,
-Aspect_HS_VERTICAL,
-Aspect_HS_VERTICAL_WIDE,
-Aspect_HS_DIAGONAL_45,
-Aspect_HS_DIAGONAL_45_WIDE,
-Aspect_HS_DIAGONAL_135,
-Aspect_HS_DIAGONAL_135_WIDE,
-Aspect_HS_GRID,
-Aspect_HS_GRID_WIDE,
-Aspect_HS_GRID_DIAGONAL,
-Aspect_HS_GRID_DIAGONAL_WIDE
+  Aspect_HS_SOLID              = 0,  // TEL_HS_SOLID (no hatching)
+  Aspect_HS_HORIZONTAL         = 7,  // TEL_HS_HORIZONTAL
+  Aspect_HS_HORIZONTAL_WIDE    = 11, // TEL_HS_HORIZONTAL_SPARSE
+  Aspect_HS_VERTICAL           = 8,  // TEL_HS_VERTICAL
+  Aspect_HS_VERTICAL_WIDE      = 12, // TEL_HS_VERTICAL_SPARSE
+  Aspect_HS_DIAGONAL_45        = 5,  // TEL_HS_DIAG_45
+  Aspect_HS_DIAGONAL_45_WIDE   = 9,  // TEL_HS_DIAG_45_SPARSE
+  Aspect_HS_DIAGONAL_135       = 6,  // TEL_HS_DIAG_135
+  Aspect_HS_DIAGONAL_135_WIDE  = 10, // TEL_HS_DIAG_135_SPARSE
+  Aspect_HS_GRID               = 3,  // TEL_HS_GRID
+  Aspect_HS_GRID_WIDE          = 4,  // TEL_HS_GRID_SPARSE
+  Aspect_HS_GRID_DIAGONAL      = 1,  // TEL_HS_CROSS
+  Aspect_HS_GRID_DIAGONAL_WIDE = 2,  // TEL_HS_CROSS_SPARSE
 };
 
 #endif // _Aspect_HatchStyle_HeaderFile