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
52 HPShowCache():flags(0), path(0), modelling_matrix(0),
53 clip_region_loops(0), clip_region_spec(0), clip_region_lengths(0), clip_region_points(0),
54 visibility(0), rendering_options(0), handedness(0), heuristics(0),
55 text_font(0), text_alignment(0), text_spacing(1.f), marker_size(0), marker_symbol(0),
56 line_weight(0), line_pattern(0), color(0), color_map(0), edge_weight(0),
57 edge_pattern(0), camera_position(0,0,0), camera_target(0,0,0), camera_up(0,0,0),
58 camera_width(0.f), camera_height(0.f), camera_projection(0),
59 text_path_x(1.f), text_path_y(0), text_path_z(0),
60 screen_range(0), depth_range(0), tessellation(0), general_curve(0), nurbs_surface(0), general_displacement(0), mask_transform(0),
61 anti_alias(0), image_scale(0), polygon_handedness(0), trans_color(0),
62 hidden_line_hsra(
false), have_text_path(
false), have_text_spacing(
false)
73 delete [] clip_region_spec;
74 if(clip_region_points)
75 delete [] clip_region_points;
76 if(clip_region_lengths)
77 delete [] clip_region_lengths;
79 delete [] rendering_options;
87 delete [] text_alignment;
89 delete [] marker_size;
91 delete [] marker_symbol;
93 delete [] line_weight;
95 delete [] line_pattern;
101 delete [] edge_weight;
103 delete [] edge_pattern;
104 if(camera_projection)
105 delete [] camera_projection;
107 delete [] screen_range;
109 delete [] depth_range;
111 delete [] tessellation;
113 delete [] general_curve;
115 delete [] nurbs_surface;
116 if(general_displacement)
117 delete [] general_displacement;
119 delete [] mask_transform;
121 delete [] anti_alias;
123 delete [] image_scale;
124 if(polygon_handedness)
125 delete [] polygon_handedness;
127 delete [] trans_color;
136 float modelling_matrix_data[16];
137 float * modelling_matrix;
139 int clip_region_loops;
140 char * clip_region_spec;
141 int * clip_region_lengths;
142 HPoint *clip_region_points;
145 char * rendering_options;
149 char * text_alignment;
153 char * marker_symbol;
165 char * camera_projection;
167 float text_path_x, text_path_y, text_path_z;
171 char * general_curve;
172 char * nurbs_surface;
173 char * general_displacement;
174 char * mask_transform;
177 char * polygon_handedness;
180 bool hidden_line_hsra;
182 bool have_text_spacing;
Definition: HPShowCache.h:193
Definition: HPShowCache.h:187
#define HC_POINTER_SIZED_INT
Definition: HPShowCache.h:49
Definition: HPShowCache.h:210
Definition: HPShowCache.h:208
The HPoint class is the data type of a three-dimensional point.
Definition: HGlobals.h:121
Definition: HPShowCache.h:203