16 #ifndef _HPSHOWCACHE_H
17 #define _HPSHOWCACHE_H
29 #define PSHOW_CACHE_MODELLING_MATRIX 0x00000001
30 #define PSHOW_CACHE_VISIBILITY 0x00000002
31 #define PSHOW_CACHE_RENDERING_OPTIONS 0x00000004
32 #define PSHOW_CACHE_HANDEDNESS 0x00000008
33 #define PSHOW_CACHE_HEURISTICS 0x00000010
34 #define PSHOW_CACHE_TEXT_FONT 0x00000020
35 #define PSHOW_CACHE_TEXT_ALIGNMENT 0x00000040
36 #define PSHOW_CACHE_TEXT_PATH 0x00000080
37 #define PSHOW_CACHE_TEXT_SPACING 0x00000100
38 #define PSHOW_CACHE_MARKER_SIZE 0x00000200
39 #define PSHOW_CACHE_MARKER_SYMBOL 0x00000400
40 #define PSHOW_CACHE_LINE_WEIGHT 0x00000800
41 #define PSHOW_CACHE_LINE_PATTERN 0x00001000
42 #define PSHOW_CACHE_COLOR 0x00002000
43 #define PSHOW_CACHE_EDGE_WEIGHT 0x00004000
44 #define PSHOW_CACHE_EDGE_PATTERN 0x00008000
45 #define PSHOW_CACHE_CAMERA 0x00010000
46 #define PSHOW_CACHE_IMAGE_SCALE 0x00020000
47 #define PSHOW_CACHE_HIDDEN_LINE_HSRA 0x00040000
48 #define PSHOW_CACHE_POLYGON_HANDEDNESS 0x00080000
49 #define PSHOW_CACHE_TRANS_COLOR 0x00100000
50 #define PSHOW_CACHE_COLORMAP 0x00200000
51 #define PSHOW_CACHE_CLIP_REGION 0x00400000
58 HPShowCache():flags(0), path(0), modelling_matrix(0),
59 clip_region_loops(0), clip_region_spec(0), clip_region_lengths(0), clip_region_points(0),
60 visibility(0), rendering_options(0), handedness(0), heuristics(0),
61 text_font(0), text_alignment(0), text_spacing(1.f), marker_size(0), marker_symbol(0),
62 line_weight(0), line_pattern(0), color(0), color_map(0), edge_weight(0),
63 edge_pattern(0), camera_position(0,0,0), camera_target(0,0,0), camera_up(0,0,0),
64 camera_width(0.f), camera_height(0.f), camera_projection(0),
65 text_path_x(1.f), text_path_y(0), text_path_z(0),
66 screen_range(0), depth_range(0), tessellation(0), general_curve(0), nurbs_surface(0), general_displacement(0), mask_transform(0),
67 anti_alias(0), image_scale(0), polygon_handedness(0), trans_color(0),
68 hidden_line_hsra(
false), have_text_path(
false), have_text_spacing(
false)
79 delete [] clip_region_spec;
80 if(clip_region_points)
81 delete [] clip_region_points;
82 if(clip_region_lengths)
83 delete [] clip_region_lengths;
85 delete [] rendering_options;
93 delete [] text_alignment;
95 delete [] marker_size;
97 delete [] marker_symbol;
99 delete [] line_weight;
101 delete [] line_pattern;
107 delete [] edge_weight;
109 delete [] edge_pattern;
110 if(camera_projection)
111 delete [] camera_projection;
113 delete [] screen_range;
115 delete [] depth_range;
117 delete [] tessellation;
119 delete [] general_curve;
121 delete [] nurbs_surface;
122 if(general_displacement)
123 delete [] general_displacement;
125 delete [] mask_transform;
127 delete [] anti_alias;
129 delete [] image_scale;
130 if(polygon_handedness)
131 delete [] polygon_handedness;
133 delete [] trans_color;
142 float modelling_matrix_data[16];
143 float * modelling_matrix;
145 int clip_region_loops;
146 char * clip_region_spec;
147 int * clip_region_lengths;
148 HPoint *clip_region_points;
151 char * rendering_options;
155 char * text_alignment;
159 char * marker_symbol;
171 char * camera_projection;
173 float text_path_x, text_path_y, text_path_z;
177 char * general_curve;
178 char * nurbs_surface;
179 char * general_displacement;
180 char * mask_transform;
183 char * polygon_handedness;
186 bool hidden_line_hsra;
188 bool have_text_spacing;
Definition: HPShowCache.h:199
Definition: HPShowCache.h:193
#define HC_POINTER_SIZED_INT
Definition: HPShowCache.h:55
Definition: HPShowCache.h:216
Definition: HPShowCache.h:214
The HPoint class is the data type of a three-dimensional point.
Definition: HGlobals.h:126
Definition: HPShowCache.h:209