1 #ifndef US_PLOT3D_XYZ_H
3 #define US_PLOT3D_XYZ_H
12 #include "qwt3d_types.h"
13 #include "qwt3d_surfaceplot.h"
14 #include "qwt3d_function.h"
15 #include "qwt3d_plot.h"
18 #define DbgLv(a) if(dbg_level>=a)qDebug()
21 using namespace Qwt3D;
41 void setTitles ( QString, QString, QString, QString, QString );
45 void setPlotTitle ( QString );
55 void setParameters(
int,
int,
double = 1.0,
double = 1.0,
double = 1.0,
56 double = 0.0,
double = 0.0 );
60 void reloadData ( QVector< QVector3D >* );
63 void calculateData(
void );
67 void replot (
bool =
false );
71 QGLWidget* dataWidgetP(
void );
77 bool save_plot(
const QString,
const QString );
81 void has_closed(
void );
212 void calculateContour(
void );
213 void calculatePoints (
void );
214 void std_button(
void );
215 void light_button(
void );
216 void ifmt_chosen(
int );
217 void light_check(
int );
218 void ortho_check(
int );
219 void legnd_check(
int );
220 void autsc_check(
int );
221 void mouse_check(
int );
222 void shade_check(
int );
223 void poffs_slide(
int );
224 void resol_slide(
int );
225 void norml_slide(
int );
226 void normq_slide(
int );
227 void movie_toggle(
bool );
228 void frame_axes_on(
bool );
229 void box_axes_on(
bool );
230 void no_axes_on(
bool );
231 void grid_front_on(
bool );
232 void grid_back_on(
bool );
233 void grid_left_on(
bool );
234 void grid_right_on(
bool );
235 void grid_ceil_on(
bool );
236 void grid_floor_on(
bool );
237 void set_grid_onoff( Qwt3D::SIDE,
bool );
238 void data_points_on(
bool );
239 void data_wirefr_on(
bool );
240 void data_hidden_on(
bool );
241 void data_polygn_on(
bool );
242 void data_fimesh_on(
bool );
243 void data_none_on(
bool );
244 void floor_data_on(
bool );
245 void floor_isol_on(
bool );
246 void floor_empty_on(
bool );
247 void normals_on(
bool );
249 void open_file(
void );
250 void close_all(
void );
251 void pick_axes_co(
void );
252 void pick_back_co(
void );
253 void pick_mesh_co(
void );
254 void pick_numb_co(
void );
255 void pick_labl_co(
void );
256 void pick_capt_co(
void );
257 void pick_data_co(
void );
258 void reset_colors(
void );
259 void pick_numb_fn(
void );
260 void pick_axes_fn(
void );
261 void pick_capt_fn(
void );
262 void reset_fonts(
void );
263 void dump_contents(
void );
264 void clean_title ( QString& );
265 void clear_2dvect ( QVector< QVector< double > >& );
266 void clear_2dvect ( QVector< QVector< Triple > >& );
267 void alloc_2dvect ( QVector< QVector< double > >&,
int,
int );
268 void alloc_2dvect ( QVector< QVector< Triple > >&,
int,
int );
269 QString xyAxisTitle(
int,
double );
270 QString zAxisTitle(
int );
271 void setStandardView(
void );
272 void createActions(
void );
273 void createMenus(
void );
274 void createToolBar(
void );
278 using namespace Qwt3D;
287 unsigned int s = majors_p.size();
290 return QString::number( majors_p[ s - idx - 1 ] );
293 return QString(
"" );