inlib
1.2.0
|
00001 // Copyright (C) 2010, Guy Barrand. All rights reserved. 00002 // See the file inlib.license for terms. 00003 00004 #ifndef inlib_sg_enums 00005 #define inlib_sg_enums 00006 00007 namespace inlib { 00008 namespace sg { 00009 00010 enum line_pattern { 00011 line_solid = 0xffff, 00012 line_dashed = 0x00ff, 00013 line_dotted = 0x1111, 00014 line_dash_dotted = 0x1c47 00015 }; 00016 00017 enum marker_style { 00018 marker_dot = 0, 00019 marker_plus = 1, 00020 marker_asterisk, 00021 marker_cross, 00022 marker_star, 00023 marker_circle_line, 00024 marker_circle_filled, 00025 marker_triangle_up_line, 00026 marker_triangle_up_filled, 00027 marker_triangle_down_line, 00028 marker_triangle_down_filled, 00029 marker_david_star_line, 00030 marker_david_star_filled, 00031 marker_swiss_cross_line, 00032 marker_swiss_cross_filled, 00033 marker_diamond_line, 00034 marker_diamond_filled, 00035 marker_square_line, 00036 marker_square_filled, 00037 marker_penta_star_line, 00038 marker_penta_star_filled 00039 }; 00040 00041 enum area_style { 00042 area_solid = 0, 00043 area_hatched, 00044 area_checker, 00045 area_edged 00046 }; 00047 00048 enum projection_type { 00049 projection_none, 00050 projection_rz, 00051 projection_phiz, 00052 projection_zr, 00053 projection_zphi 00054 }; 00055 00056 enum painting_policy { 00057 painting_uniform, 00058 painting_by_value, 00059 painting_by_level, 00060 painting_grey_scale, 00061 painting_violet_to_red, 00062 painting_grey_scale_inverse 00063 }; 00064 00065 enum hatching_policy { 00066 hatching_none, 00067 hatching_right, 00068 hatching_left, 00069 hatching_left_and_right 00070 }; 00071 00072 enum hjust { 00073 left = 0, 00074 center = 1, 00075 right = 2 00076 }; 00077 00078 enum vjust { 00079 bottom = 0, 00080 middle = 1, 00081 top = 2 00082 }; 00083 00084 enum font_type { 00085 latin, 00086 greek, 00087 special 00088 }; 00089 00090 enum font_modeling { 00091 font_outline, 00092 font_filled 00093 }; 00094 00095 enum vertices_mode { 00096 line_strip, // it is a polyline 00097 lines, // for a set of segments 00098 line_loop, 00099 triangle_strip, 00100 triangle_fan, 00101 triangles, 00102 points 00103 }; 00104 00105 enum arrow_type { 00106 arrow_up, 00107 arrow_down, 00108 arrow_left, 00109 arrow_right 00110 }; 00111 00112 enum winding_type { 00113 winding_ccw, 00114 winding_cw 00115 }; 00116 00117 enum move_type { 00118 //move_none, 00119 move_rotate_right, 00120 move_translate_right, 00121 move_rotate_left, 00122 move_translate_left, 00123 move_up, 00124 move_down, 00125 move_forward, 00126 move_backward, 00127 move_zoom_in, 00128 move_zoom_out 00129 }; 00130 00131 enum key_move { 00132 key_left, 00133 key_right, 00134 key_up, 00135 key_down 00136 }; 00137 00138 enum number_type { 00139 number_uint, 00140 number_int, 00141 number_real, 00142 number_ip 00143 }; 00144 00145 }} 00146 00147 #endif