AxisRepBase Class Reference

#include <AxisRepBase.h>

Inheritance diagram for AxisRepBase:

Inheritance graph
AxisRep2DAxisRepColor
[legend]
Collaboration diagram for AxisRepBase:

Collaboration graph
FontBase
[legend]

List of all members.


Detailed Description

The base class for the axis representation hierarchy.

The derived classes use the information kept by the AxisModelBase hierarchy objects. They communicate with the ViewBase hierarchy objects in order to get the information concerning the actual display. They are, therefore, carrying out adequate calculations of fonts and positions to be drawn in good proportion to the axes, their labels, and the main title.

Requests:
Let user draw border in different color.
Todo:
There is lots of duplicated code in the derived classes that could be moved to the base.
Author:
Stephane Bonneaud <gandalf@slac.stanford.edu>

Kaustuv <kaustuv@stanford.edu>

Paul F. Kunz <paul_kunz@slac.stanford.edu>

Definition at line 49 of file AxisRepBase.h.


Public Member Functions

 AxisRepBase (const AxisRepBase &axis_rep)
 The copy constructor.
 AxisRepBase ()
 The default constructor.
void beginPlot (ViewBase &view)
 Every class which draws has its beginPlot function.
virtual AxisRepBaseclone ()=0
 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)=0
 This function is the principal function of the ticks drawing family because it draws the ticks on the Z axis by calling the required functions.
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)=0
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.
FontBasetitleFont ()
 What font is being used to override the default while drawing title of plot.
FontBasexLabelFont ()
 What font is being used to override the default while drawing X label.
FontBaseyLabelFont ()
 What font is being used to override the default while drawing Y label.
FontBasezLabelFont ()
 What font is being used to override the default while drawing Z label.
virtual ~AxisRepBase ()
 The virtual destructor.

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
FontBasem_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.
FontBasem_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.
FontBasem_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.
FontBasem_zLabelFont
 The font to be used to for the Z label overriding the default font.

Constructor & Destructor Documentation

AxisRepBase (  ) 

The default constructor.

Definition at line 44 of file AxisRepBase.cxx.

AxisRepBase ( const AxisRepBase axis_rep  ) 

The copy constructor.

Definition at line 64 of file AxisRepBase.cxx.

~AxisRepBase (  )  [virtual]

The virtual destructor.

Definition at line 82 of file AxisRepBase.cxx.

References AxisRepBase::m_titleFont, AxisRepBase::m_xLabelFont, AxisRepBase::m_yLabelFont, and AxisRepBase::m_zLabelFont.


Member Function Documentation

void beginPlot ( ViewBase view  ) 

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().

virtual AxisRepBase* clone (  )  [pure virtual]

The clone function returns an object of its own kind which is a copy of this object at this moment.

Implemented in AxisRep2D, and AxisRepColor.

void drawAllXTicks ( const AxisModelBase axisModelX,
const AxisModelBase axisModelY,
const TransformBase transform,
ViewBase view 
) [virtual]

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.

Todo:
Draw lines connecting ticks top and bottom. Line should under go transform which might be curved, thus should use something like the function projector.

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]

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().

virtual void drawAllZTicks ( const AxisModelBase axis_model,
const TransformBase transform,
ViewBase view 
) [pure virtual]

This function is the principal function of the ticks drawing family because it draws the ticks on the Z axis by calling the required functions.

Implemented in AxisRep2D, and AxisRepColor.

Referenced by CompositePlotter::drawAxisRep().

void drawAxesLines ( TransformBase transform,
ViewBase view,
const Range x_range,
const Range y_range 
) [virtual]

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]

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]

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]

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 
)

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]

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 
)

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 = "" 
)

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]

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]

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]

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 
)

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 = "" 
)

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]

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]

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]

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]

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().

virtual void drawZLabels ( const AxisModelBase axis_model,
ViewBase view,
const std::string &  z_label 
) [pure virtual]

Implemented in AxisRep2D, and AxisRepColor.

Referenced by CompositePlotter::drawAxisRep().

void initAxisRect ( ViewBase view  )  [protected]

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  ) 

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]

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  ) 

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 
)

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  ) 

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 
)

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  ) 

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 
)

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  ) 

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 (  ) 

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 (  ) 

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 (  ) 

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 (  ) 

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.


Member Data Documentation

float m_axis_height [protected]

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]

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]

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]

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]

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]

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]

Definition at line 54 of file AxisRepBase.h.

Referenced by AxisRepBase::drawXLabels(), AxisRepBase::drawXMag(), and AxisRepBase::drawXTickLabels().

bool m_sci_note_y [protected]

Definition at line 55 of file AxisRepBase.h.

Referenced by AxisRepBase::drawYLabels(), AxisRepBase::drawYMag(), and AxisRepBase::drawYTickLabels().

FontBase* m_titleFont [protected]

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]

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]

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]

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]

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]

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]

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]

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]

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().


The documentation for this class was generated from the following files:
Generated for HippoDraw Class Library by doxygen