22 #ifndef GLNOMINATIVEAXIS_H_
23 #define GLNOMINATIVEAXIS_H_
27 #include <tulip/GlAxis.h>
36 class TLP_GL_SCOPE GlNominativeAxis :
public GlAxis {
49 GlNominativeAxis(
const std::string &axisName,
const Coord &axisBaseCoord,
const float axisLength,
50 const AxisOrientation &axisOrientation,
const Color &axisColor);
59 void setAxisGraduationsLabels(
const std::vector<std::string> &axisGradsLabels,
const LabelPosition &labelsPosition);
72 Coord getAxisPointCoordForValue(std::string value);
79 std::string getValueAtAxisPoint(
const Coord &axisPointCoord);
81 void translate(
const Coord &c);
86 void buildAxisGraduations();
88 std::vector<std::string> labelsOrder;
89 std::map<std::string, Coord> labelsCoord;
90 LabelPosition axisLabelsPosition;