/usr/include/ncarg/hlu/VectorPlotP.h is in libncarg-dev 6.4.0-9.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 | /*
* $Id: VectorPlotP.h,v 1.15.12.1 2010-03-17 20:47:07 brownrig Exp $
*/
/************************************************************************
* *
* Copyright (C) 1992 *
* University Corporation for Atmospheric Research *
* All Rights Reserved *
* *
************************************************************************/
/*
* File: VectorPlotP.h
*
* Author: David Brown
* National Center for Atmospheric Research
* PO 3000, Boulder, Colorado
*
* Date: Thu Sep 28 11:44:30 MDT 1995
*
* Description: VectorPlot plot object private header file
*/
#ifndef _NVECTORPLOTP_h
#define _NVECTORPLOTP_h
#include <ncarg/hlu/DataCommP.h>
#include <ncarg/hlu/LogLinTransObjP.h>
#include <ncarg/hlu/PlotManagerI.h>
#include <ncarg/hlu/VectorPlot.h>
#include <ncarg/hlu/WorkspaceI.h>
#include <ncarg/hlu/VectorFieldFloatP.h>
#include <ncarg/hlu/ScalarFieldFloatP.h>
#include <ncarg/hlu/FormatI.h>
#include <ncarg/hlu/VecAnno.h>
#define Nhl_vcDEF_ARRAY_SIZE 16
#define Nhl_vcMAX_LEVELS 255
#define Nhl_vcDEF_COLOR NhlFOREGROUND
#define Nhl_vcCOLOR_ARRAY_START 2
#define Nhl_vcDEF_PATTERN 1
#define Nhl_vcDEF_DASH_PATTERN 0
#define NhlvcMAPVAL 99
#define NhlvcDEF_REFVEC_STRING1 "$VMG$"
#define NhlvcDEF_REFVEC_STRING2 "Reference Vector"
#define NhlvcDEF_MINVEC_STRING1 "$VMG$"
#define NhlvcDEF_MINVEC_STRING2 "Minimum Vector"
#define NhlvcDEF_NODATA_LABEL "NO VECTOR DATA"
#define NhlvcDEF_ZEROF_LABEL "ZERO FIELD"
#define NhlvcDEF_FORMAT "*+^sg"
#define NhlvcPRECISION 6
#ifndef FLT_MAX
#define FLT_MAX 10.0e37
#endif
#ifndef FLT_MIN
#define FLT_MIN 10.0e-37
#endif
typedef enum { _vcZEROF, _vcREFVECANNO, _vcMINVECANNO } _vcAnnoType;
typedef struct _NhlvcArrowAttrs {
float vec_len;
float vec_mag;
float real_vec_mag;
NhlColorIndex arrow_line_color;
NhlColorIndex real_arrow_line_color;
NhlColorIndex arrow_fill_color;
NhlColorIndex real_arrow_fill_color;
NhlColorIndex arrow_edge_color;
float real_arrow_line_thickness;
NhlBoolean use_vec_color;
float arrow_angle;
float arrow_space;
float arrow_min_offset;
} NhlvcArrowAttrs;
typedef struct _NhlvcLabelAttrs {
NhlString name;
NhlBoolean on;
NhlOrientation orientation;
NhlBoolean string1_on;
NhlString string1;
NhlBoolean string2_on;
NhlString string2;
NhlString text1; /* after substitution */
NhlString text2; /* after substitution */
NhlBoolean height_set;
float height;
NhlTextDirection direction;
NhlFont font;
NhlColorIndex color;
float aspect;
float thickness;
NhlFontQuality quality;
float cspacing;
float angle;
char fcode[2];
NhlColorIndex back_color;
NhlBoolean perim_on;
float perim_space;
float perim_lthick;
NhlColorIndex perim_lcolor;
float real_height;
float pheight;
float pwidth;
float x_pos;
float y_pos;
NhlJustification just;
NhlvcArrowAttrs *aap;
} NhlvcLabelAttrs;
typedef struct _NhlvcRegionAttrs {
NhlBoolean perim_on;
float perim_thick;
NhlDashIndex perim_dpat;
NhlColorIndex perim_color;
NhlColorIndex gks_pcolor;
NhlColorIndex fill_color;
NhlColorIndex gks_fcolor;
NhlFillIndex fill_pat;
float fill_scale;
} NhlvcRegionAttrs;
typedef struct _NhlvcScaleInfo {
NhlScalingMode mode;
float scale_value;
float scale_factor;
float max_val;
float min_val;
NhlFormatRec format;
int left_sig_digit;
int sig_digits;
} NhlvcScaleInfo;
typedef struct _NhlVectorPlotDataDepLayerPart{
/* Public resources */
int foo;
/* Private fields */
} NhlVectorPlotDataDepLayerPart;
/* private resource */
#define NhlNvcDataChanged ".vcDataChanged"
#define NhlCvcDataChanged ".VcDataChanged"
#define NhlNvcFoo ".vcFoo"
#define NhlCvcFoo ".VcFoo"
typedef struct _NhlVectorPlotLayerPart {
/* Public resources */
NhlGenArray vector_field_data;
NhlGenArray scalar_field_data;
NhlBoolean map_direction;
NhlVectorPositionMode position_mode;
NhlDrawOrder vector_order;
NhlBoolean glyph_style_set;
NhlVectorGlyphStyle glyph_style;
float glyph_opacity;
NhlBoolean min_distance_set;
float min_distance;
float min_magnitude;
float max_magnitude;
float ref_magnitude;
NhlBoolean ref_length_set;
float ref_length;
float min_frac_len;
NhlGenArray levels;
int level_count;
NhlLevelSelectionMode level_selection_mode;
int max_level_count;
NhlBoolean level_spacing_set;
float level_spacing;
NhlBoolean min_level_set;
float min_level_val;
NhlBoolean max_level_set;
float max_level_val;
NhlGenArray level_palette;
NhlBoolean span_level_palette;
NhlGenArray level_colors;
NhlBoolean use_scalar_array;
NhlColorIndex scalar_mval_color;
NhlBoolean mono_l_arrow_color;
NhlColorIndex l_arrow_color;
float l_arrow_thickness;
NhlBoolean l_arrowhead_min_size_set;
float l_arrowhead_min_size;
NhlBoolean l_arrowhead_max_size_set;
float l_arrowhead_max_size;
NhlBoolean fill_arrows_on_set;
NhlBoolean fill_arrows_on;
NhlBoolean mono_f_arrow_fill_color;
NhlColorIndex f_arrow_fill_color;
NhlBoolean fill_over_edge;
NhlBoolean mono_f_arrow_edge_color;
NhlColorIndex f_arrow_edge_color;
float f_arrow_edge_thickness;
float f_arrow_width;
float f_arrow_min_width;
float f_arrowhead_x;
float f_arrowhead_min_x;
float f_arrowhead_interior;
float f_arrowhead_y;
float f_arrowhead_min_y;
NhlBoolean mono_wb_color;
NhlColorIndex wb_color;
float wb_line_thickness;
float wb_tick_angle;
float wb_tick_length;
float wb_tick_spacing;
float wb_calm_circle_size;
float wb_scale_factor;
NhlBoolean use_refvec_anno_attrs;
NhlvcLabelAttrs refvec_anno;
NhlvcArrowAttrs ref_attrs;
NhlAnnotationRec refvec_anno_rec;
NhlvcLabelAttrs minvec_anno;
NhlvcArrowAttrs min_attrs;
NhlAnnotationRec minvec_anno_rec;
NhlString zerof_string; /* before substitution */
NhlvcLabelAttrs zerof_lbl;
NhlAnnotationRec zerof_lbl_rec;
NhlvcScaleInfo mag_scale;
NhlvcScaleInfo svalue_scale;
NhlvcLabelAttrs lbls;
NhlBoolean labels_use_vec_color;
NhlBoolean explicit_lbar_labels_on;
NhlBoolean lbar_end_labels_on;
/* intercepted resources */
NhlAnnotationDisplayMode display_labelbar;
NhlAnnotationDisplayMode display_legend;
NhlAnnotationDisplayMode display_titles;
NhlAnnotationDisplayMode display_tickmarks;
float x_tension;
float y_tension;
NhlGenArray lbar_labels_res;
char lbar_func_code;
NhllbLabelAlignmentMode lbar_alignment;
/* private resource */
NhlBoolean dump_area_map;
int amap_crange;
NhlGenArray conpack_params;
NhlBoolean update_req;
NhlBoolean data_changed;
/* Private Fields */
NhlTransDat *predraw_dat;
NhlTransDat *draw_dat;
NhlTransDat *postdraw_dat;
NhlTransDat *current_trans_dat;
NhlBoolean new_draw_req;
float out_of_range_val;
NhlLayer overlay_object;
NhlBoolean data_init;
NhlBoolean levels_set;
NhlVectorFieldFloatLayerPart *vfp;
NhlVectorFieldFloatLayerPart *ovfp;
float zmin;
float zmax;
float umin,umax,vmin,vmax;
NhlBoolean scalar_data_init;
NhlScalarFieldFloatLayerPart *sfp;
NhlScalarFieldFloatLayerPart *osfp;
float scalar_min, scalar_max;
NhlBoolean zero_field;
NhlBoolean display_zerof_no_data;
NhlString zerof_no_data_string;
float xc1,xcm,yc1,ycn; /* data bounds for vvinit/vvectr */
float xlb,xub,ylb,yub; /* window boundaries */
int refvec_anno_id;
int minvec_anno_id;
int zerof_anno_id;
NhlColorIndex *gks_level_colors;
float real_ref_length;
NhlLayer trans_obj;
NhlBoolean wk_active;
NhlBoolean do_low_level_log;
NhlBoolean low_level_log_on;
NhlString *level_strings;
/* labelbar stuff */
NhlBoolean lbar_labels_res_set;
NhlBoolean lbar_labels_set;
NhlGenArray lbar_labels;
/* workspace */
int fws_id;
NhlWorkspace *fws;
/* for VecAnno */
_NhlvaArrowParams a_params;
_NhlvaDrawParams d_params;
int curly_vector_id;
int vector_field_id;
int scalar_field_id;
} NhlVectorPlotLayerPart;
typedef struct _NhlVectorPlotDataDepLayerRec{
NhlBaseLayerPart base;
NhlDataSpecLayerPart dataspec;
NhlVectorPlotDataDepLayerPart vcdata;
} NhlVectorPlotDataDepLayerRec;
typedef struct _NhlVectorPlotLayerRec {
NhlBaseLayerPart base;
NhlViewLayerPart view;
NhlTransformLayerPart trans;
NhlDataCommLayerPart datacomm;
NhlVectorPlotLayerPart vectorplot;
} NhlVectorPlotLayerRec;
typedef struct _NhlVectorPlotDataDepClassPart{
NhlPointer foo;
} NhlVectorPlotDataDepClassPart;
typedef struct NhlVectorPlotClassPart{
NhlPointer foo;
} NhlVectorPlotClassPart;
typedef struct _NhlVectorPlotDataDepClassRec{
NhlBaseClassPart base_class;
NhlDataSpecClassPart dataspec_class;
NhlVectorPlotDataDepClassPart vcdata_class;
} NhlVectorPlotDataDepClassRec;
typedef struct _NhlVectorPlotClassRec{
NhlBaseClassPart base_class;
NhlViewClassPart view_class;
NhlTransformClassPart trans_class;
NhlDataCommClassPart datacomm_class;
NhlVectorPlotClassPart vectorplot_class;
} NhlVectorPlotClassRec;
typedef struct _NhlVectorPlotDataDepClassRec
*NhlVectorPlotDataDepClass;
typedef struct _NhlVectorPlotDataDepLayerRec *NhlVectorPlotDataDepLayer;
typedef struct _NhlVectorPlotClassRec *NhlVectorPlotClass;
typedef struct _NhlVectorPlotLayerRec *NhlVectorPlotLayer;
extern NhlClass NhlvectorPlotDataDepClass;
extern NhlVectorPlotDataDepClassRec NhlvectorPlotDataDepClassRec;
extern NhlVectorPlotClassRec NhlvectorPlotClassRec;
#endif /* _NVECTORPLOTP_h */
|