18 # include <vcl_msvc_warnings.h> 47 std::string new_label)
104 #endif // vcsl_axis_h_ vcsl_axis(vcsl_dimension_sptr const &new_dimension, vcsl_unit_sptr const &new_unit, std::string new_label)
Constructor from dimension, unit and label.
vcsl_axis()
Default constructor. Axis with length in meters and an empty label.
void set_unit(vcsl_unit_sptr const &new_unit)
Set the unit of the dimension.
std::string label() const
Return the label of the axis.
void set_label(std::string const &new_label)
Set the label.
vcsl_unit_sptr unit_
Unit of the dimension.
vcsl_dimension_sptr dimension_
Dimension.
vcsl_axis(const vcsl_axis &a)
void set_dimension(vcsl_dimension_sptr const &new_dimension)
Set the dimension. The unit is set with the standard unit.
void set_dimension_and_unit(vcsl_dimension_sptr const &new_dimension, vcsl_unit_sptr const &new_unit)
Set the dimension and the unit.
Axis descriptor: a dimension, a unit, a label.
vcsl_unit_sptr unit() const
Return the unit of the dimension.
vcsl_dimension_sptr dimension() const
Return the dimension.
~vcsl_axis() override=default
std::string label_
Label of the axis.