|
@@ -7,22 +7,26 @@
|
|
|
struct GParams
|
|
|
{
|
|
|
struct Flag *mode_all;
|
|
|
- /* raster */
|
|
|
- struct Option *elev_map, *elev_const, *color_map, *color_const,
|
|
|
- *mask_map, *transp_map, *transp_const, *shine_map, *shine_const,
|
|
|
- *emit_map, *emit_const,
|
|
|
- /* draw */
|
|
|
- *mode, *res_fine, *res_coarse, *style, *shade, *wire_color,
|
|
|
- /* vector lines */
|
|
|
- *vlines, *vline_width, *vline_color, *vline_mode, *vline_height,
|
|
|
- /* vector points */
|
|
|
- *vpoints, *vpoint_size, *vpoint_marker, *vpoint_color, *vpoint_width,
|
|
|
- /* misc */
|
|
|
- *exag, *bgcolor,
|
|
|
- /* viewpoint */
|
|
|
- *pos, *height, *persp, *twist,
|
|
|
- /* output */
|
|
|
- *output, *format, *size;
|
|
|
+
|
|
|
+ struct Option
|
|
|
+ /* surface */
|
|
|
+ *elev_map, *elev_const, *color_map, *color_const,
|
|
|
+ *mask_map, *transp_map, *transp_const, *shine_map, *shine_const,
|
|
|
+ *emit_map, *emit_const,
|
|
|
+ /* surface draw mode */
|
|
|
+ *mode, *res_fine, *res_coarse, *style, *shade, *wire_color,
|
|
|
+ /* vector lines */
|
|
|
+ *vlines, *vline_width, *vline_color, *vline_mode, *vline_height,
|
|
|
+ /* vector points */
|
|
|
+ *vpoints, *vpoint_size, *vpoint_marker, *vpoint_color, *vpoint_width,
|
|
|
+ /* volumes */
|
|
|
+ *volume,
|
|
|
+ /* misc */
|
|
|
+ *exag, *bgcolor,
|
|
|
+ /* viewpoint */
|
|
|
+ *pos, *height, *persp, *twist,
|
|
|
+ /* output */
|
|
|
+ *output, *format, *size;
|
|
|
};
|
|
|
|
|
|
/* args.c */
|
|
@@ -41,6 +45,9 @@ int load_vector_points(const struct GParams *, nv_data *);
|
|
|
int vlines_set_attrb(const struct GParams *);
|
|
|
int vpoints_set_attrb(const struct GParams *);
|
|
|
|
|
|
+/* volume.c */
|
|
|
+int load_volume(const struct GParams *, nv_data *);
|
|
|
+
|
|
|
/* write_img.c */
|
|
|
int write_img(const char *, int);
|
|
|
|