#include <AxisRep2D.h>
This class uses the information kept by the AxisModelBase hierarchy objects. It communicates with the ViewBase hierarchy objects in order to get the information of the actual display. It is, therefore, carrying out adequate calculations of fonts and positions for drawing in good proportions to the axes, their labels, and the main title.
Definition at line 39 of file AxisRep2D.h.
Public Member Functions | |
AxisRep2D (const AxisRep2D &axis_rep) | |
The copy constructor. | |
AxisRep2D () | |
The default constructor. | |
void | beginPlot (ViewBase &view) |
Every class which draws has its beginPlot function. | |
AxisRepBase * | clone () |
The clone function returns an object of its own kind which is a copy of this object at this moment. | |
virtual void | drawAllXTicks (const AxisModelBase &axisModelX, const AxisModelBase &axisModelY, const TransformBase &transform, ViewBase &view) |
This function is the principal function of the ticks drawing family because it draws the ticks on the X axis by calling the required functions. | |
virtual void | drawAllYTicks (const AxisModelBase &axisModelX, const AxisModelBase &axisModelY, const TransformBase &transform, ViewBase &view) |
This function is the principal function of the ticks drawing family because it draws the ticks on the Y axis by calling the required functions. | |
virtual void | drawAllZTicks (const AxisModelBase &axis_model, const TransformBase &transform, ViewBase &view) |
Takes care of the z ticks drawing (i.e., the ticks on the top of the plot). | |
virtual void | drawAxesLines (TransformBase &transform, ViewBase &view, const Range &x_range, const Range &y_range) |
Draws the axes lines after transformation. | |
virtual void | drawColorScale (const BinToColor &, ViewBase &) |
Draws the color scale bar. | |
virtual void | drawCrossHairs (double x, double y, TransformBase &transform, ViewBase &view) |
Draws the cross hairs after transformation. | |
virtual void | drawGridLines (const AxisModelBase &axisModelX, const AxisModelBase &axisModelY, TransformBase &transform, ViewBase &view) |
Draws the grid lines after transformation. | |
void | drawReferencePoint (const AxisModelBase &axisModel, ViewBase &base, const std::string &ref) |
Draw the reference point for X or Y axis. | |
virtual void | drawTitle (ViewBase &view, const std::string &title) |
Draws the title. | |
void | drawXLabels (const AxisModelBase &axis_model, ViewBase &view, const std::string &x_label) |
Draws the labels of the x axis. | |
void | drawXMag (const AxisModelBase &axisModel, ViewBase &view, const std::string &mag="") |
Draws the X magnitude label. | |
void | drawYLabels (const AxisModelBase &axis_model, ViewBase &view, const std::string &y_label) |
Draws the labels of the y axis. | |
void | drawYMag (const AxisModelBase &axisModel, ViewBase &view, const std::string &mag="") |
Draws the Y magnitude label. | |
virtual void | drawZLabels (const AxisModelBase &axis_model, ViewBase &view, const std::string &Z_label) |
Draws the labels of the z axis. | |
void | setDrawTitles (bool set) |
Sets the m_draw_titles flag to the set value. | |
virtual void | setFontSize (const AxisModelBase *x_axis, const AxisModelBase *y_axis, const AxisModelBase *z_axis, ViewBase &view) |
Adjusts the font sizes. | |
void | setTitleFont (FontBase *font) |
Set the font to be used to override the default while drawing title. | |
void | setXFontSize (const AxisModelBase &axis_model, ViewBase &view) |
Calculates the font size for the x axis. | |
void | setXLabelFont (FontBase *font) |
Set the font to be used to override the default while drawing X label. | |
void | setYFontSize (const AxisModelBase &axis_model, ViewBase &view) |
Calculates the font size for the y axis. | |
void | setYLabelFont (FontBase *font) |
Set the font to be used to override the default while drawing Y label. | |
void | setZFontSize (const AxisModelBase &axis_model, ViewBase &view) |
Calculates the font size for the z axis, if any. | |
void | setZLabelFont (FontBase *font) |
Set the font to be used to override the default while drawing Z label. | |
FontBase * | titleFont () |
What font is being used to override the default while drawing title of plot. | |
FontBase * | xLabelFont () |
What font is being used to override the default while drawing X label. | |
FontBase * | yLabelFont () |
What font is being used to override the default while drawing Y label. | |
FontBase * | zLabelFont () |
What font is being used to override the default while drawing Z label. | |
Protected Member Functions | |
void | drawXTickLabel (const std::string &label, float x, float y, ViewBase &view) |
Draws a tick label for X axis. | |
void | drawXTickLabels (const AxisModelBase &axisModelX, const AxisModelBase &axisModelY, const TransformBase &transform, ViewBase &view) |
Draws the labels for the X ticks. | |
void | drawXTickLines (const AxisModelBase &axisModelX, const AxisModelBase &axisModelY, const TransformBase &transform, ViewBase &view) |
Draws the X tick lines. | |
void | drawYTickLabel (const std::string &label, float x, float y, ViewBase &view) |
Draws the tick label for Y axis. | |
void | drawYTickLabels (const std::vector< AxisTick > &ticks, const std::vector< float > &xv, const std::vector< float > &yv, ViewBase &view) |
Draws the tick labels for Y axis. | |
void | drawYTickLabels (const AxisModelBase &axisModelX, const AxisModelBase &axisModelY, const TransformBase &transform, ViewBase &view) |
Draws the labels for the Y ticks. | |
void | drawYTickLines (const AxisModelBase &axisModelX, const AxisModelBase &axisModelY, const TransformBase &transform, ViewBase &view) |
Draws the Y tick lines. | |
void | initAxisRect (ViewBase &view) |
Gets the sizes of the two rectangles (the rectangles of the drawing on the screen) memorized by the ViewBase object, and initializes the m_axis_x_origin, m_axis_y_origin, m_axis_width, and m_axis_height fields. | |
Protected Attributes | |
float | m_axis_height |
The height of the rectangle in which the drawing is made. | |
float | m_axis_width |
The width of the rectangle in which the drawing is made. | |
float | m_axis_x_origin |
The x coordinate of the origin of the coordinate system. | |
float | m_axis_y_origin |
The y coordinate of the origin of the coordinate system. | |
bool | m_draw_titles |
The following flag indicates whether the titles have to be drawn or not. | |
double | m_font_size |
Font size for the tick labels. | |
bool | m_sci_note_x |
bool | m_sci_note_y |
FontBase * | m_titleFont |
The font to be used to for the Z label overriding the default font. | |
double | m_x_font_size |
Font size for X axis label. | |
double | m_x_tick_font_size |
Font size for the x tick labels. | |
FontBase * | m_xLabelFont |
The font to be used to for the X label overriding the default font. | |
double | m_y_font_size |
Font size for the Y axis label. | |
double | m_y_tick_font_size |
Font size for the y tick labels. | |
FontBase * | m_yLabelFont |
The font to be used to for the Y label overriding the default font. | |
double | m_z_font_size |
Font size for the Z axis label. | |
FontBase * | m_zLabelFont |
The font to be used to for the Z label overriding the default font. |
AxisRep2D | ( | ) |
The default constructor.
Definition at line 31 of file AxisRep2D.cxx.
Referenced by AxisRep2D::clone().
void beginPlot | ( | ViewBase & | view | ) | [inherited] |
Every class which draws has its beginPlot function.
It initializes the data that it requires. (For example, it might get the size of the actual drawing on the screen in order to set the good font size of the writing, etc...).
Definition at line 104 of file AxisRepBase.cxx.
References AxisRepBase::initAxisRect().
Referenced by XyPlotter::drawIn().
AxisRepBase * clone | ( | ) | [virtual] |
The clone function returns an object of its own kind which is a copy of this object at this moment.
Implements AxisRepBase.
Definition at line 41 of file AxisRep2D.cxx.
References AxisRep2D::AxisRep2D().
void drawAllXTicks | ( | const AxisModelBase & | axisModelX, | |
const AxisModelBase & | axisModelY, | |||
const TransformBase & | transform, | |||
ViewBase & | view | |||
) | [virtual, inherited] |
This function is the principal function of the ticks drawing family because it draws the ticks on the X axis by calling the required functions.
Definition at line 1350 of file AxisRepBase.cxx.
References AxisRepBase::drawXTickLabels(), and AxisRepBase::drawXTickLines().
Referenced by CompositePlotter::drawAxisRep().
void drawAllYTicks | ( | const AxisModelBase & | axisModelX, | |
const AxisModelBase & | axisModelY, | |||
const TransformBase & | transform, | |||
ViewBase & | view | |||
) | [virtual, inherited] |
This function is the principal function of the ticks drawing family because it draws the ticks on the Y axis by calling the required functions.
Definition at line 1361 of file AxisRepBase.cxx.
References AxisRepBase::drawYTickLabels(), and AxisRepBase::drawYTickLines().
Referenced by CompositePlotter::drawAxisRep().
void drawAllZTicks | ( | const AxisModelBase & | axis_model, | |
const TransformBase & | transform, | |||
ViewBase & | view | |||
) | [virtual] |
Takes care of the z ticks drawing (i.e., the ticks on the top of the plot).
It draws the labels of the ticks which are on the top of the plot.
Implements AxisRepBase.
Definition at line 57 of file AxisRep2D.cxx.
void drawAxesLines | ( | TransformBase & | transform, | |
ViewBase & | view, | |||
const Range & | x_range, | |||
const Range & | y_range | |||
) | [virtual, inherited] |
Draws the axes lines after transformation.
This forms the rectangle in which the plot is drawn.
Definition at line 598 of file AxisRepBase.cxx.
References ViewBase::drawPolyLine(), Range::high(), Range::low(), hippodraw::Line::Solid, and BinaryTransform::transform().
Referenced by CompositePlotter::drawAxisRep().
void drawColorScale | ( | const BinToColor & | , | |
ViewBase & | ||||
) | [virtual, inherited] |
Draws the color scale bar.
The base class implementation raises an assertion as it should never be called.
Reimplemented in AxisRepColor.
Definition at line 1442 of file AxisRepBase.cxx.
Referenced by CompositePlotter::drawAxisRep().
void drawCrossHairs | ( | double | x, | |
double | y, | |||
TransformBase & | transform, | |||
ViewBase & | view | |||
) | [virtual, inherited] |
Draws the cross hairs after transformation.
Definition at line 1300 of file AxisRepBase.cxx.
References ViewBase::drawLines(), BinaryTransform::isPeriodic(), AxisRepBase::m_axis_height, AxisRepBase::m_axis_width, AxisRepBase::m_axis_x_origin, AxisRepBase::m_axis_y_origin, PeriodicBinaryTransform::moduloSubX(), PeriodicBinaryTransform::moduloSubY(), hippodraw::Line::Solid, BinaryTransform::transform(), PeriodicBinaryTransform::xOffset(), and PeriodicBinaryTransform::yOffset().
Referenced by XyPlotter::drawCrossHairs().
void drawGridLines | ( | const AxisModelBase & | axisModelX, | |
const AxisModelBase & | axisModelY, | |||
TransformBase & | transform, | |||
ViewBase & | view | |||
) | [virtual, inherited] |
Draws the grid lines after transformation.
This grids the enclosed region ( rectangle or ellipse ) in which the plot is drawn.
Definition at line 659 of file AxisRepBase.cxx.
References hippodraw::Line::Dot, ViewBase::drawPolyLine(), AxisModelBase::getRange(), AxisModelBase::getTicks(), Range::high(), Range::low(), BinaryTransform::transform(), and BinaryTransform::validate().
Referenced by CompositePlotter::drawAxisRep().
void drawReferencePoint | ( | const AxisModelBase & | axisModel, | |
ViewBase & | base, | |||
const std::string & | ref | |||
) | [inherited] |
Draw the reference point for X or Y axis.
This make sense when the range is small compared to the value. In this mode, we display the refenced point and the tick shows the difference from this point. TODO: Old interface. Already handled in drawXYLabels(). To be removed.
Definition at line 498 of file AxisRepBase.cxx.
References ViewBase::drawText(), ViewBase::getDrawRect(), Rect::getHeight(), DataView::getMarginRect(), AxisModelBase::getScaleLocation(), Rect::getX(), Rect::getY(), AxisRepBase::m_x_tick_font_size, AxisRepBase::m_y_tick_font_size, PLOTBOTTOM, and PLOTLEFT.
void drawTitle | ( | ViewBase & | view, | |
const std::string & | title | |||
) | [virtual, inherited] |
Draws the title.
Definition at line 116 of file AxisRepBase.cxx.
References hippodraw::String::ci_find(), ViewBase::drawLatex(), ViewBase::drawText(), ViewBase::getDrawRect(), DataView::getMarginRect(), Rect::getWidth(), Rect::getX(), AxisRepBase::m_font_size, and AxisRepBase::m_titleFont.
Referenced by XyPlotter::drawIn().
void drawXLabels | ( | const AxisModelBase & | axis_model, | |
ViewBase & | view, | |||
const std::string & | x_label | |||
) | [inherited] |
Draws the labels of the x axis.
Definition at line 264 of file AxisRepBase.cxx.
References hippodraw::String::ci_find(), hippodraw::String::convert(), ViewBase::drawLatex(), ViewBase::drawText(), ViewBase::getDrawRect(), Rect::getHeight(), AxisModelBase::getLabelLocation(), DataView::getMarginRect(), AxisModelBase::getPMag(), AxisModelBase::getTicks(), Rect::getWidth(), Rect::getX(), AxisRepBase::m_sci_note_x, AxisRepBase::m_x_font_size, AxisRepBase::m_xLabelFont, AxisModelBase::needPMag(), PLOTBOTTOM, PLOTTOP, and FontBase::pointSize().
Referenced by CompositePlotter::drawAxisRep().
void drawXMag | ( | const AxisModelBase & | axisModel, | |
ViewBase & | view, | |||
const std::string & | mag = "" | |||
) | [inherited] |
Draws the X magnitude label.
Definition at line 534 of file AxisRepBase.cxx.
References hippodraw::String::convert(), ViewBase::drawText(), ViewBase::getDrawRect(), Rect::getHeight(), DataView::getMarginRect(), AxisModelBase::getPMag(), Rect::getX(), AxisRepBase::m_sci_note_x, and AxisRepBase::m_x_tick_font_size.
Referenced by AxisRepBase::drawXTickLabels().
void drawXTickLabel | ( | const std::string & | label, | |
float | x, | |||
float | y, | |||
ViewBase & | view | |||
) | [protected, inherited] |
Draws a tick label for X axis.
Definition at line 1145 of file AxisRepBase.cxx.
References ViewBase::drawText(), and AxisRepBase::m_x_tick_font_size.
Referenced by AxisRepBase::drawXTickLabels(), and AxisRepColor::drawZTickLabels().
void drawXTickLabels | ( | const AxisModelBase & | axisModelX, | |
const AxisModelBase & | axisModelY, | |||
const TransformBase & | transform, | |||
ViewBase & | view | |||
) | [protected, inherited] |
Draws the labels for the X ticks.
Definition at line 915 of file AxisRepBase.cxx.
References AxisRepBase::drawXMag(), AxisRepBase::drawXTickLabel(), DataView::getMarginRect(), AxisModelBase::getRange(), AxisModelBase::getScaleLocation(), AxisModelBase::getTicks(), Rect::getY(), Range::high(), AxisModelBase::isLog(), Range::low(), AxisRepBase::m_sci_note_x, AxisModelBase::needPMag(), PLOTBOTTOM, num_util::size(), BinaryTransform::transform(), ViewBase::userToDrawXAutoInv(), and ViewBase::userToDrawY().
Referenced by AxisRepBase::drawAllXTicks().
void drawXTickLines | ( | const AxisModelBase & | axisModelX, | |
const AxisModelBase & | axisModelY, | |||
const TransformBase & | transform, | |||
ViewBase & | view | |||
) | [protected, inherited] |
Draws the X tick lines.
Definition at line 739 of file AxisRepBase.cxx.
References ViewBase::drawViewLines(), Rect::getHeight(), AxisModelBase::getLabelLocation(), DataView::getMarginRect(), AxisModelBase::getRange(), AxisModelBase::getTicks(), Range::high(), Range::low(), PLOTBOTTOM, PLOTTOP, num_util::size(), hippodraw::Line::Solid, BinaryTransform::transform(), ViewBase::userToDrawXAutoInv(), and ViewBase::userToDrawY().
Referenced by AxisRepBase::drawAllXTicks().
void drawYLabels | ( | const AxisModelBase & | axis_model, | |
ViewBase & | view, | |||
const std::string & | y_label | |||
) | [inherited] |
Draws the labels of the y axis.
Definition at line 383 of file AxisRepBase.cxx.
References hippodraw::String::ci_find(), hippodraw::String::convert(), ViewBase::drawLatex(), ViewBase::drawText(), ViewBase::getDrawRect(), Rect::getHeight(), AxisModelBase::getLabelLocation(), DataView::getMarginRect(), AxisModelBase::getPMag(), AxisModelBase::getTicks(), Rect::getWidth(), Rect::getY(), AxisRepBase::m_sci_note_y, AxisRepBase::m_y_font_size, AxisRepBase::m_yLabelFont, AxisModelBase::needPMag(), PLOTLEFT, PLOTRIGHT, and FontBase::pointSize().
Referenced by CompositePlotter::drawAxisRep().
void drawYMag | ( | const AxisModelBase & | axisModel, | |
ViewBase & | view, | |||
const std::string & | mag = "" | |||
) | [inherited] |
Draws the Y magnitude label.
Definition at line 564 of file AxisRepBase.cxx.
References hippodraw::String::convert(), ViewBase::drawText(), DataView::getMarginRect(), AxisModelBase::getPMag(), AxisModelBase::getScaleLocation(), Rect::getY(), AxisRepBase::m_sci_note_y, AxisRepBase::m_y_tick_font_size, and PLOTLEFT.
Referenced by AxisRepBase::drawYTickLabels().
void drawYTickLabel | ( | const std::string & | label, | |
float | x, | |||
float | y, | |||
ViewBase & | view | |||
) | [protected, inherited] |
Draws the tick label for Y axis.
Definition at line 1190 of file AxisRepBase.cxx.
References ViewBase::drawText(), and AxisRepBase::m_y_tick_font_size.
Referenced by AxisRepBase::drawYTickLabels().
void drawYTickLabels | ( | const std::vector< AxisTick > & | ticks, | |
const std::vector< float > & | xv, | |||
const std::vector< float > & | yv, | |||
ViewBase & | view | |||
) | [protected, inherited] |
Draws the tick labels for Y axis.
TODO: Old interface, remove it.
Definition at line 1236 of file AxisRepBase.cxx.
References ViewBase::drawText(), and AxisRepBase::m_y_tick_font_size.
void drawYTickLabels | ( | const AxisModelBase & | axisModelX, | |
const AxisModelBase & | axisModelY, | |||
const TransformBase & | transform, | |||
ViewBase & | view | |||
) | [protected, inherited] |
Draws the labels for the Y ticks.
Definition at line 1043 of file AxisRepBase.cxx.
References AxisRepBase::drawYMag(), AxisRepBase::drawYTickLabel(), AxisModelBase::getRange(), AxisModelBase::getTicks(), Range::high(), AxisModelBase::isLog(), Range::low(), AxisRepBase::m_sci_note_y, AxisModelBase::needPMag(), num_util::size(), BinaryTransform::transform(), ViewBase::userToDrawX(), and ViewBase::userToDrawY().
Referenced by AxisRepBase::drawAllYTicks().
void drawYTickLines | ( | const AxisModelBase & | axisModelX, | |
const AxisModelBase & | axisModelY, | |||
const TransformBase & | transform, | |||
ViewBase & | view | |||
) | [protected, inherited] |
Draws the Y tick lines.
Definition at line 817 of file AxisRepBase.cxx.
References ViewBase::drawViewLines(), AxisModelBase::getLabelLocation(), DataView::getMarginRect(), AxisModelBase::getRange(), AxisModelBase::getTicks(), Rect::getWidth(), Range::high(), Range::low(), PLOTLEFT, PLOTRIGHT, num_util::size(), hippodraw::Line::Solid, BinaryTransform::transform(), ViewBase::userToDrawX(), and ViewBase::userToDrawY().
Referenced by AxisRepBase::drawAllYTicks().
void drawZLabels | ( | const AxisModelBase & | axis_model, | |
ViewBase & | view, | |||
const std::string & | Z_label | |||
) | [virtual] |
Draws the labels of the z axis.
Implements AxisRepBase.
Definition at line 48 of file AxisRep2D.cxx.
void initAxisRect | ( | ViewBase & | view | ) | [protected, inherited] |
Gets the sizes of the two rectangles (the rectangles of the drawing on the screen) memorized by the ViewBase object, and initializes the m_axis_x_origin, m_axis_y_origin, m_axis_width, and m_axis_height fields.
Having the dimensions of the place where they will be drawn, the AxisRepBase object will then be able to calculate the adequate values of the different components of the drawing.
Definition at line 92 of file AxisRepBase.cxx.
References Rect::getHeight(), ViewBase::getUserRect(), Rect::getWidth(), Rect::getX(), Rect::getY(), AxisRepBase::m_axis_height, AxisRepBase::m_axis_width, AxisRepBase::m_axis_x_origin, and AxisRepBase::m_axis_y_origin.
Referenced by AxisRepBase::beginPlot().
void setDrawTitles | ( | bool | set | ) | [inherited] |
Sets the m_draw_titles flag to the set value.
Definition at line 109 of file AxisRepBase.cxx.
References AxisRepBase::m_draw_titles.
void setFontSize | ( | const AxisModelBase * | x_axis, | |
const AxisModelBase * | y_axis, | |||
const AxisModelBase * | z_axis, | |||
ViewBase & | view | |||
) | [virtual, inherited] |
Adjusts the font sizes.
The font sizes are adjusted according to the size of the view on a canvas.
Definition at line 897 of file AxisRepBase.cxx.
References ViewBase::getDrawRect(), Rect::getWidth(), AxisRepBase::m_font_size, AxisRepBase::setXFontSize(), AxisRepBase::setYFontSize(), and AxisRepBase::setZFontSize().
Referenced by CompositePlotter::drawAxisRep().
void setTitleFont | ( | FontBase * | font | ) | [inherited] |
Set the font to be used to override the default while drawing title.
Definition at line 1424 of file AxisRepBase.cxx.
References AxisRepBase::m_titleFont.
void setXFontSize | ( | const AxisModelBase & | axis_model, | |
ViewBase & | view | |||
) | [inherited] |
Calculates the font size for the x axis.
It is called by setFontSize(...).
Definition at line 158 of file AxisRepBase.cxx.
References ViewBase::getDrawRect(), Rect::getHeight(), AxisModelBase::getScaleLocation(), Rect::getWidth(), Rect::getY(), AxisRepBase::m_axis_height, AxisRepBase::m_axis_y_origin, AxisRepBase::m_x_font_size, AxisRepBase::m_x_tick_font_size, PLOTBOTTOM, and PLOTTOP.
Referenced by AxisRepBase::setFontSize().
void setXLabelFont | ( | FontBase * | font | ) | [inherited] |
Set the font to be used to override the default while drawing X label.
Definition at line 1371 of file AxisRepBase.cxx.
References AxisRepBase::m_xLabelFont.
void setYFontSize | ( | const AxisModelBase & | axis_model, | |
ViewBase & | view | |||
) | [inherited] |
Calculates the font size for the y axis.
It is called by setFontSize(...).
Definition at line 186 of file AxisRepBase.cxx.
References AxisTick::content(), ViewBase::getDrawRect(), Rect::getHeight(), AxisModelBase::getLabelLocation(), AxisModelBase::getScaleLocation(), AxisModelBase::getTicks(), Rect::getWidth(), Rect::getX(), AxisRepBase::m_axis_width, AxisRepBase::m_axis_x_origin, AxisRepBase::m_draw_titles, AxisRepBase::m_y_font_size, AxisRepBase::m_y_tick_font_size, PLOTLEFT, PLOTRIGHT, and num_util::size().
Referenced by AxisRepBase::setFontSize().
void setYLabelFont | ( | FontBase * | font | ) | [inherited] |
Set the font to be used to override the default while drawing Y label.
Definition at line 1389 of file AxisRepBase.cxx.
References AxisRepBase::m_yLabelFont.
void setZFontSize | ( | const AxisModelBase & | axis_model, | |
ViewBase & | view | |||
) | [inherited] |
Calculates the font size for the z axis, if any.
It is called by setFontSize(...).
Definition at line 241 of file AxisRepBase.cxx.
References ViewBase::getDrawRect(), Rect::getHeight(), AxisModelBase::getScaleLocation(), Rect::getY(), AxisRepBase::m_axis_height, AxisRepBase::m_axis_y_origin, AxisRepBase::m_font_size, AxisRepBase::m_z_font_size, PLOTBOTTOM, and PLOTTOP.
Referenced by AxisRepBase::setFontSize().
void setZLabelFont | ( | FontBase * | font | ) | [inherited] |
Set the font to be used to override the default while drawing Z label.
Definition at line 1407 of file AxisRepBase.cxx.
References AxisRepBase::m_zLabelFont.
FontBase * titleFont | ( | ) | [inherited] |
What font is being used to override the default while drawing title of plot.
Definition at line 1436 of file AxisRepBase.cxx.
References AxisRepBase::m_titleFont.
FontBase * xLabelFont | ( | ) | [inherited] |
What font is being used to override the default while drawing X label.
Definition at line 1383 of file AxisRepBase.cxx.
References AxisRepBase::m_xLabelFont.
FontBase * yLabelFont | ( | ) | [inherited] |
What font is being used to override the default while drawing Y label.
Definition at line 1401 of file AxisRepBase.cxx.
References AxisRepBase::m_yLabelFont.
FontBase * zLabelFont | ( | ) | [inherited] |
What font is being used to override the default while drawing Z label.
Definition at line 1419 of file AxisRepBase.cxx.
References AxisRepBase::m_zLabelFont.
float m_axis_height [protected, inherited] |
The height of the rectangle in which the drawing is made.
Definition at line 71 of file AxisRepBase.h.
Referenced by AxisRepBase::drawCrossHairs(), AxisRepBase::initAxisRect(), AxisRepBase::setXFontSize(), and AxisRepBase::setZFontSize().
float m_axis_width [protected, inherited] |
The width of the rectangle in which the drawing is made.
Definition at line 68 of file AxisRepBase.h.
Referenced by AxisRepBase::drawCrossHairs(), AxisRepBase::initAxisRect(), and AxisRepBase::setYFontSize().
float m_axis_x_origin [protected, inherited] |
The x coordinate of the origin of the coordinate system.
It is in fact the x coordinate of the lower left corner of the rectangle in which the drawing is made.
Definition at line 60 of file AxisRepBase.h.
Referenced by AxisRepBase::drawCrossHairs(), AxisRepBase::initAxisRect(), and AxisRepBase::setYFontSize().
float m_axis_y_origin [protected, inherited] |
The y coordinate of the origin of the coordinate system.
It is in fact the y coordinate of the lower left corner of the rectangle in which the drawing is made.
Definition at line 65 of file AxisRepBase.h.
Referenced by AxisRepBase::drawCrossHairs(), AxisRepBase::initAxisRect(), AxisRepBase::setXFontSize(), and AxisRepBase::setZFontSize().
bool m_draw_titles [protected, inherited] |
The following flag indicates whether the titles have to be drawn or not.
Definition at line 111 of file AxisRepBase.h.
Referenced by AxisRepBase::setDrawTitles(), and AxisRepBase::setYFontSize().
double m_font_size [protected, inherited] |
Font size for the tick labels.
Definition at line 75 of file AxisRepBase.h.
Referenced by AxisRepBase::drawTitle(), AxisRepBase::setFontSize(), and AxisRepBase::setZFontSize().
bool m_sci_note_x [protected, inherited] |
Definition at line 54 of file AxisRepBase.h.
Referenced by AxisRepBase::drawXLabels(), AxisRepBase::drawXMag(), and AxisRepBase::drawXTickLabels().
bool m_sci_note_y [protected, inherited] |
Definition at line 55 of file AxisRepBase.h.
Referenced by AxisRepBase::drawYLabels(), AxisRepBase::drawYMag(), and AxisRepBase::drawYTickLabels().
FontBase* m_titleFont [protected, inherited] |
The font to be used to for the Z label overriding the default font.
Definition at line 107 of file AxisRepBase.h.
Referenced by AxisRepBase::drawTitle(), AxisRepColor::drawZLabels(), AxisRepBase::setTitleFont(), AxisRepBase::titleFont(), and AxisRepBase::~AxisRepBase().
double m_x_font_size [protected, inherited] |
Font size for X axis label.
Definition at line 87 of file AxisRepBase.h.
Referenced by AxisRepBase::drawXLabels(), and AxisRepBase::setXFontSize().
double m_x_tick_font_size [protected, inherited] |
Font size for the x tick labels.
Definition at line 79 of file AxisRepBase.h.
Referenced by AxisRepBase::drawReferencePoint(), AxisRepBase::drawXMag(), AxisRepBase::drawXTickLabel(), and AxisRepBase::setXFontSize().
FontBase* m_xLabelFont [protected, inherited] |
The font to be used to for the X label overriding the default font.
Definition at line 98 of file AxisRepBase.h.
Referenced by AxisRepBase::drawXLabels(), AxisRepBase::setXLabelFont(), AxisRepBase::xLabelFont(), and AxisRepBase::~AxisRepBase().
double m_y_font_size [protected, inherited] |
Font size for the Y axis label.
Definition at line 91 of file AxisRepBase.h.
Referenced by AxisRepBase::drawYLabels(), AxisRepColor::drawZTickLabels(), and AxisRepBase::setYFontSize().
double m_y_tick_font_size [protected, inherited] |
Font size for the y tick labels.
Definition at line 83 of file AxisRepBase.h.
Referenced by AxisRepBase::drawReferencePoint(), AxisRepBase::drawYMag(), AxisRepBase::drawYTickLabel(), AxisRepBase::drawYTickLabels(), AxisRepColor::drawZTickLabels(), and AxisRepBase::setYFontSize().
FontBase* m_yLabelFont [protected, inherited] |
The font to be used to for the Y label overriding the default font.
Definition at line 101 of file AxisRepBase.h.
Referenced by AxisRepBase::drawYLabels(), AxisRepBase::setYLabelFont(), AxisRepBase::yLabelFont(), and AxisRepBase::~AxisRepBase().
double m_z_font_size [protected, inherited] |
Font size for the Z axis label.
Definition at line 95 of file AxisRepBase.h.
Referenced by AxisRepColor::drawZLabels(), and AxisRepBase::setZFontSize().
FontBase* m_zLabelFont [protected, inherited] |
The font to be used to for the Z label overriding the default font.
Definition at line 104 of file AxisRepBase.h.
Referenced by AxisRepColor::drawZLabels(), AxisRepBase::setZLabelFont(), AxisRepBase::zLabelFont(), and AxisRepBase::~AxisRepBase().