10 #ifndef _HPSHOWCACHE_H 11 #define _HPSHOWCACHE_H 23 #define PSHOW_CACHE_MODELLING_MATRIX 0x00000001 24 #define PSHOW_CACHE_VISIBILITY 0x00000002 25 #define PSHOW_CACHE_RENDERING_OPTIONS 0x00000004 26 #define PSHOW_CACHE_HANDEDNESS 0x00000008 27 #define PSHOW_CACHE_HEURISTICS 0x00000010 28 #define PSHOW_CACHE_TEXT_FONT 0x00000020 29 #define PSHOW_CACHE_TEXT_ALIGNMENT 0x00000040 30 #define PSHOW_CACHE_TEXT_PATH 0x00000080 31 #define PSHOW_CACHE_TEXT_SPACING 0x00000100 32 #define PSHOW_CACHE_MARKER_SIZE 0x00000200 33 #define PSHOW_CACHE_MARKER_SYMBOL 0x00000400 34 #define PSHOW_CACHE_LINE_WEIGHT 0x00000800 35 #define PSHOW_CACHE_LINE_PATTERN 0x00001000 36 #define PSHOW_CACHE_COLOR 0x00002000 37 #define PSHOW_CACHE_EDGE_WEIGHT 0x00004000 38 #define PSHOW_CACHE_EDGE_PATTERN 0x00008000 39 #define PSHOW_CACHE_CAMERA 0x00010000 40 #define PSHOW_CACHE_IMAGE_SCALE 0x00020000 41 #define PSHOW_CACHE_HIDDEN_LINE_HSRA 0x00040000 42 #define PSHOW_CACHE_POLYGON_HANDEDNESS 0x00080000 43 #define PSHOW_CACHE_TRANS_COLOR 0x00100000 44 #define PSHOW_CACHE_COLORMAP 0x00200000 45 #define PSHOW_CACHE_CLIP_REGION 0x00400000 46 #define PSHOW_CACHE_CONDITIONS 0x00800000 53 HPShowCache():flags(0), path(0), modelling_matrix(0),
54 clip_region_loops(0), clip_region_spec(0), clip_region_lengths(0), clip_region_points(0),
55 visibility(0), conditions(0), rendering_options(0), handedness(0), heuristics(0),
56 text_font(0), text_alignment(0), text_spacing(1.f), marker_size(0), marker_symbol(0),
57 line_weight(0), line_pattern(0), color(0), color_map(0), edge_weight(0),
58 edge_pattern(0), camera_position(0,0,0), camera_target(0,0,0), camera_up(0,0,0),
59 camera_width(0.f), camera_height(0.f), camera_projection(0),
60 text_path_x(1.f), text_path_y(0), text_path_z(0),
61 screen_range(0), depth_range(0), tessellation(0), general_curve(0), nurbs_surface(0), general_displacement(0), mask_transform(0),
62 anti_alias(0), image_scale(0), polygon_handedness(0), trans_color(0),
63 hidden_line_hsra(
false), have_text_path(
false), have_text_spacing(
false)
72 delete [] clip_region_spec;
73 delete [] clip_region_points;
74 delete [] clip_region_lengths;
75 delete [] rendering_options;
79 delete [] text_alignment;
80 delete [] marker_size;
81 delete [] marker_symbol;
82 delete [] line_weight;
83 delete [] line_pattern;
86 delete [] edge_weight;
87 delete [] edge_pattern;
88 delete [] camera_projection;
89 delete [] screen_range;
90 delete [] depth_range;
91 delete [] tessellation;
92 delete [] general_curve;
93 delete [] nurbs_surface;
94 delete [] general_displacement;
95 delete [] mask_transform;
97 delete [] image_scale;
98 delete [] polygon_handedness;
99 delete [] trans_color;
107 float modelling_matrix_data[16];
108 float * modelling_matrix;
110 int clip_region_loops;
111 char * clip_region_spec;
112 int * clip_region_lengths;
113 HPoint *clip_region_points;
117 char * rendering_options;
121 char * text_alignment;
125 char * marker_symbol;
137 char * camera_projection;
139 float text_path_x, text_path_y, text_path_z;
143 char * general_curve;
144 char * nurbs_surface;
145 char * general_displacement;
146 char * mask_transform;
149 char * polygon_handedness;
152 bool hidden_line_hsra;
154 bool have_text_spacing;
167 HC_KEY hightlight_style;
168 HC_KEY condition_style;
169 HC_POINTER_SIZED_INT use_count;
171 HConditionStyleInfo(HC_KEY HightlightStyle): hightlight_style(HightlightStyle), use_count(0) {};
Definition: HPShowCache.h:165
Definition: HPShowCache.h:159
Definition: HPShowCache.h:50
Definition: HPShowCache.h:182
Definition: HPShowCache.h:180
The HPoint class is the data type of a three-dimensional point.
Definition: HGlobals.h:121
Definition: HPShowCache.h:175