7 #ifndef __FWRENDERQT_DATA_AXIS_HPP__ 8 #define __FWRENDERQT_DATA_AXIS_HPP__ 25 typedef std::shared_ptr < Axis > sptr;
63 float m_origin, m_scale;
66 ScaleType m_scaleType;
109 m_scaleType = scaleType;
117 #endif // __FWRENDERQT_DATA_AXIS_HPP__ float getScale() const
Get m_scale attribute.
void setOrigin(float origin)
Set m_origin attribute.
Axis()
Constructor, set origin to 0, scale to 1 and type to LINEAR.
float getOrigin() const
Get m_origin attribute.
void setScaleType(ScaleType scaleType)
Set m_scaleType attribute.
The namespace fwRenderQt contains classes for rendering with Qt.
void setScale(float scale)
Set m_scale attribute.
ScaleType getScaleType() const
Get m_scaleType attribute.
This class manages an axis on the scene2D.