![]() |
TerraLib 4.1
|
#include <TeGraph.h>
Public Member Functions | |
| TeGraphPlot () | |
| virtual | ~TeGraphPlot () |
| int | loadDirect (int format, int curv, int points, Labels &labels, Real_Vector x, Real_Vector y) |
| void | loadHistogram (TeLegendEntryVector &sv, const string &label) |
| void | loadPie (TeLegendEntryVector &sv, const string &label) |
| void | plotInit (int, int, int, int) |
| void | autoScale (void) |
| void | setScale (Real x1, Real x2, Real y1, Real y2) |
| int | kill (int order) |
| int | plotSymbol (Real x_value, Real y_value, int symbol, int width, int height, int curve=0) |
| void | plotCurves (int with_simbols=0) |
| void | pixelToValue (int x_p, int y_p, Real &x_v, Real &y_v) |
| void | reset () |
| void | setColorGrid (int, int, int) |
| void | setColorText (int, int, int) |
| void | setColorLine (int, int, int) |
| int | setColorCurve (int, int, int, int) |
| void | setColorSymbol (int, int, int, int=-1, int=7, int=7) |
| void | setSymbolType (int, int=0) |
| void | drawLegend (void) |
| int | setGridSize (int) |
| int | setGridSize (int, int, int, int) |
| void | drawMoranText (double x1, double y1, double x2, double y2) |
| void | pieLegends () |
Protected Member Functions | |
| void | draw_plot (void) |
| void | draw_symbols (int curve) |
| void | plot_axes (void) |
| void | plot_ticks (void) |
| void | plot_grid (void) |
| int | plot_labels (void) |
| int | plot_title (char *text) |
| int | plot_xaxis (char *text) |
| int | plot_yaxis (char *text) |
| int | point_visible (Real x, Real y) |
| void | value_to_pixel (Real x_value, Real y_value, int *x_pixel, int *y_pixel) |
| int | plot_curve (Real_Vector x, Real_Vector y, int points, TeColor c) |
| void | label_format (Real values[], int nvalues, int field_width, int *digits_left, int *digits_right, int *exp_flag) |
| void | plot_horiz (char *text, int y, int width) |
| int | plot_point (Real x_value, Real y_value, int pen_status) |
| void | find_intersect (Real x_in, Real y_in, Real *x_out, Real *y_out) |
| void | draw_symbol (int x, int y, int symbol, int width, int height) |
| void | draw_symbol_legend (int x, int y, int symbol, int width, int height) |
| void | get_plot_fonts () |
| int | get_font_size (int font_number, int *width, int *height) |
| virtual int | getWidth ()=0 |
| virtual int | getHeight ()=0 |
| virtual void | setLineAttributes (TeColor c, int, int)=0 |
| virtual void | setFillAreaColor (TeColor c)=0 |
| virtual void | setTextColor (TeColor c)=0 |
| virtual void | fillRectangle (int x, int y, int dx, int dy)=0 |
| virtual void | drawRectangle (int x, int y, int dx, int dy)=0 |
| virtual void | drawLine (int sx, int sy, int dx, int dy)=0 |
| virtual void | drawText (int x, int y, char *str, double angle=0.)=0 |
| virtual void | fillArc (int xc, int yc, int w, int h, double a1, double a2, TeColor c)=0 |
| virtual void | drawArc (int xc, int yc, int w, int h, double a1, double a2, TeColor c)=0 |
| virtual void | textExtent (string &str, int &w, int &h, double angle=0.)=0 |
Protected Attributes | |
| int | label_field |
| int | major_tick |
| int | minor_tick |
| int | x_major |
| int | y_major |
| int | x_minor |
| int | y_minor |
| Real | xminval |
| Real | xmaxval |
| Real | yminval |
| Real | ymaxval |
| int | xupleft |
| int | yupleft |
| int | width |
| int | height |
| int | label_width |
| int | label_height |
| int | label_font |
| int | title_width |
| int | title_height |
| int | title_font |
| int | xaxis_width |
| int | xaxis_height |
| int | xaxis_font |
| int | yaxis_width |
| int | yaxis_height |
| int | yaxis_font |
| int | yaxis_direct |
| int | X_pixels |
| int | Y_pixels |
| int | Xaxis_y |
| int | Yaxis_x |
| int | Title_y |
| int | Plot_curves |
| int | Plot_symbols |
| int | Curve_choice |
| int | Plot_choice |
| int | Plot_points [CURVES_MAX] |
| Real_Vector | Plot_x [CURVES_MAX] |
| Real_Vector | Plot_y [CURVES_MAX] |
| Labels | Plot_label |
| int | Scale_curve |
| int | Scale_factor |
| int | Output_format |
| int | Input_format [CURVES_MAX] |
| char | Data_filename [13] |
| TeLegendEntryVector * | sliceVector |
| TeColor | GPpcor |
| char * | GPpieleg |
| int | GPpointwidth |
| int | GPpointheight |
| TeGraphPlot::TeGraphPlot | ( | ) |
| TeGraphPlot::~TeGraphPlot | ( | ) | [virtual] |
| void TeGraphPlot::autoScale | ( | void | ) |
| void TeGraphPlot::draw_plot | ( | void | ) | [protected] |
| void TeGraphPlot::draw_symbol | ( | int | x, |
| int | y, | ||
| int | symbol, | ||
| int | width, | ||
| int | height | ||
| ) | [protected] |
| void TeGraphPlot::draw_symbol_legend | ( | int | x, |
| int | y, | ||
| int | symbol, | ||
| int | width, | ||
| int | height | ||
| ) | [protected] |
| void TeGraphPlot::draw_symbols | ( | int | curve | ) | [protected] |
| virtual void TeGraphPlot::drawArc | ( | int | xc, |
| int | yc, | ||
| int | w, | ||
| int | h, | ||
| double | a1, | ||
| double | a2, | ||
| TeColor | c | ||
| ) | [protected, pure virtual] |
Implemented in TeQtGraphPlot.
| void TeGraphPlot::drawLegend | ( | void | ) |
| virtual void TeGraphPlot::drawLine | ( | int | sx, |
| int | sy, | ||
| int | dx, | ||
| int | dy | ||
| ) | [protected, pure virtual] |
Implemented in TeQtGraphPlot.
| void TeGraphPlot::drawMoranText | ( | double | x1, |
| double | y1, | ||
| double | x2, | ||
| double | y2 | ||
| ) |
| virtual void TeGraphPlot::drawRectangle | ( | int | x, |
| int | y, | ||
| int | dx, | ||
| int | dy | ||
| ) | [protected, pure virtual] |
Implemented in TeQtGraphPlot.
| virtual void TeGraphPlot::drawText | ( | int | x, |
| int | y, | ||
| char * | str, | ||
| double | angle = 0. |
||
| ) | [protected, pure virtual] |
Implemented in TeQtGraphPlot.
| virtual void TeGraphPlot::fillArc | ( | int | xc, |
| int | yc, | ||
| int | w, | ||
| int | h, | ||
| double | a1, | ||
| double | a2, | ||
| TeColor | c | ||
| ) | [protected, pure virtual] |
Implemented in TeQtGraphPlot.
| virtual void TeGraphPlot::fillRectangle | ( | int | x, |
| int | y, | ||
| int | dx, | ||
| int | dy | ||
| ) | [protected, pure virtual] |
Implemented in TeQtGraphPlot.
| void TeGraphPlot::find_intersect | ( | Real | x_in, |
| Real | y_in, | ||
| Real * | x_out, | ||
| Real * | y_out | ||
| ) | [protected] |
| int TeGraphPlot::get_font_size | ( | int | font_number, |
| int * | width, | ||
| int * | height | ||
| ) | [protected] |
| void TeGraphPlot::get_plot_fonts | ( | ) | [protected] |
| virtual int TeGraphPlot::getHeight | ( | ) | [protected, pure virtual] |
Implemented in TeQtGraphPlot.
| virtual int TeGraphPlot::getWidth | ( | ) | [protected, pure virtual] |
Implemented in TeQtGraphPlot.
| int TeGraphPlot::kill | ( | int | order | ) |
| void TeGraphPlot::label_format | ( | Real | values[], |
| int | nvalues, | ||
| int | field_width, | ||
| int * | digits_left, | ||
| int * | digits_right, | ||
| int * | exp_flag | ||
| ) | [protected] |
| int TeGraphPlot::loadDirect | ( | int | format, |
| int | curv, | ||
| int | points, | ||
| Labels & | labels, | ||
| Real_Vector | x, | ||
| Real_Vector | y | ||
| ) |
| void TeGraphPlot::loadHistogram | ( | TeLegendEntryVector & | sv, |
| const string & | label | ||
| ) |
| void TeGraphPlot::loadPie | ( | TeLegendEntryVector & | sv, |
| const string & | label | ||
| ) |
| void TeGraphPlot::pieLegends | ( | ) |
| void TeGraphPlot::pixelToValue | ( | int | x_p, |
| int | y_p, | ||
| Real & | x_v, | ||
| Real & | y_v | ||
| ) |
| void TeGraphPlot::plot_axes | ( | void | ) | [protected] |
| int TeGraphPlot::plot_curve | ( | Real_Vector | x, |
| Real_Vector | y, | ||
| int | points, | ||
| TeColor | c | ||
| ) | [protected] |
| void TeGraphPlot::plot_grid | ( | void | ) | [protected] |
| void TeGraphPlot::plot_horiz | ( | char * | text, |
| int | y, | ||
| int | width | ||
| ) | [protected] |
| int TeGraphPlot::plot_labels | ( | void | ) | [protected] |
| int TeGraphPlot::plot_point | ( | Real | x_value, |
| Real | y_value, | ||
| int | pen_status | ||
| ) | [protected] |
| void TeGraphPlot::plot_ticks | ( | void | ) | [protected] |
| int TeGraphPlot::plot_title | ( | char * | text | ) | [protected] |
| int TeGraphPlot::plot_xaxis | ( | char * | text | ) | [protected] |
| int TeGraphPlot::plot_yaxis | ( | char * | text | ) | [protected] |
| void TeGraphPlot::plotCurves | ( | int | with_simbols = 0 | ) |
| void TeGraphPlot::plotInit | ( | int | pixels_above, |
| int | pixels_below, | ||
| int | pixels_left, | ||
| int | pixels_right | ||
| ) |
| int TeGraphPlot::plotSymbol | ( | Real | x_value, |
| Real | y_value, | ||
| int | symbol, | ||
| int | width, | ||
| int | height, | ||
| int | curve = 0 |
||
| ) |
| int TeGraphPlot::point_visible | ( | Real | x, |
| Real | y | ||
| ) | [protected] |
| void TeGraphPlot::reset | ( | ) |
| int TeGraphPlot::setColorCurve | ( | int | c, |
| int | r, | ||
| int | g, | ||
| int | b | ||
| ) |
| void TeGraphPlot::setColorGrid | ( | int | r, |
| int | g, | ||
| int | b | ||
| ) |
| void TeGraphPlot::setColorLine | ( | int | r, |
| int | g, | ||
| int | b | ||
| ) |
| void TeGraphPlot::setColorSymbol | ( | int | r, |
| int | g, | ||
| int | b, | ||
| int | curve = -1, |
||
| int | w = 7, |
||
| int | h = 7 |
||
| ) |
| void TeGraphPlot::setColorText | ( | int | r, |
| int | g, | ||
| int | b | ||
| ) |
| virtual void TeGraphPlot::setFillAreaColor | ( | TeColor | c | ) | [protected, pure virtual] |
Implemented in TeQtGraphPlot.
| int TeGraphPlot::setGridSize | ( | int | s | ) |
| int TeGraphPlot::setGridSize | ( | int | xma, |
| int | yma, | ||
| int | xmi, | ||
| int | ymi | ||
| ) |
| virtual void TeGraphPlot::setLineAttributes | ( | TeColor | c, |
| int | , | ||
| int | |||
| ) | [protected, pure virtual] |
Implemented in TeQtGraphPlot.
| void TeGraphPlot::setScale | ( | Real | x1, |
| Real | x2, | ||
| Real | y1, | ||
| Real | y2 | ||
| ) |
| void TeGraphPlot::setSymbolType | ( | int | type, |
| int | curve = 0 |
||
| ) |
| virtual void TeGraphPlot::setTextColor | ( | TeColor | c | ) | [protected, pure virtual] |
Implemented in TeQtGraphPlot.
| virtual void TeGraphPlot::textExtent | ( | string & | str, |
| int & | w, | ||
| int & | h, | ||
| double | angle = 0. |
||
| ) | [protected, pure virtual] |
Implemented in TeQtGraphPlot.
| void TeGraphPlot::value_to_pixel | ( | Real | x_value, |
| Real | y_value, | ||
| int * | x_pixel, | ||
| int * | y_pixel | ||
| ) | [protected] |
int TeGraphPlot::Curve_choice [protected] |
char TeGraphPlot::Data_filename[13] [protected] |
TeColor TeGraphPlot::GPpcor [protected] |
char* TeGraphPlot::GPpieleg [protected] |
int TeGraphPlot::GPpointheight [protected] |
int TeGraphPlot::GPpointwidth [protected] |
int TeGraphPlot::height [protected] |
int TeGraphPlot::Input_format[CURVES_MAX] [protected] |
int TeGraphPlot::label_field [protected] |
int TeGraphPlot::label_font [protected] |
int TeGraphPlot::label_height [protected] |
int TeGraphPlot::label_width [protected] |
int TeGraphPlot::major_tick [protected] |
int TeGraphPlot::minor_tick [protected] |
int TeGraphPlot::Output_format [protected] |
int TeGraphPlot::Plot_choice [protected] |
int TeGraphPlot::Plot_curves [protected] |
Labels TeGraphPlot::Plot_label [protected] |
int TeGraphPlot::Plot_points[CURVES_MAX] [protected] |
int TeGraphPlot::Plot_symbols [protected] |
Real_Vector TeGraphPlot::Plot_x[CURVES_MAX] [protected] |
Real_Vector TeGraphPlot::Plot_y[CURVES_MAX] [protected] |
int TeGraphPlot::Scale_curve [protected] |
int TeGraphPlot::Scale_factor [protected] |
TeLegendEntryVector* TeGraphPlot::sliceVector [protected] |
int TeGraphPlot::title_font [protected] |
int TeGraphPlot::title_height [protected] |
int TeGraphPlot::title_width [protected] |
int TeGraphPlot::Title_y [protected] |
int TeGraphPlot::width [protected] |
int TeGraphPlot::x_major [protected] |
int TeGraphPlot::x_minor [protected] |
int TeGraphPlot::X_pixels [protected] |
int TeGraphPlot::xaxis_font [protected] |
int TeGraphPlot::xaxis_height [protected] |
int TeGraphPlot::xaxis_width [protected] |
int TeGraphPlot::Xaxis_y [protected] |
Real TeGraphPlot::xmaxval [protected] |
Real TeGraphPlot::xminval [protected] |
int TeGraphPlot::xupleft [protected] |
int TeGraphPlot::y_major [protected] |
int TeGraphPlot::y_minor [protected] |
int TeGraphPlot::Y_pixels [protected] |
int TeGraphPlot::yaxis_direct [protected] |
int TeGraphPlot::yaxis_font [protected] |
int TeGraphPlot::yaxis_height [protected] |
int TeGraphPlot::yaxis_width [protected] |
int TeGraphPlot::Yaxis_x [protected] |
Real TeGraphPlot::ymaxval [protected] |
Real TeGraphPlot::yminval [protected] |
int TeGraphPlot::yupleft [protected] |