46 std::shared_ptr<Camera> m_camera;
47 std::shared_ptr<Background> m_background;
48 float m_devicePixelRatio;
50 std::string m_fontFamily;
51 std::shared_ptr<Color3f> m_lineColor;
52 std::shared_ptr<Color3f> m_textColor;
56 std::shared_ptr<Scale>
_scale(
const std::shared_ptr<Camera>& camera,
const std::shared_ptr<Background>& background);
The Color3f class inherits from Color3, specilizing the template parameters to float for element type...
Definition color.h:105
The Pass class represents a rendering pass within a graphics pipeline.
Definition pass.h:32
CameraPtr camera
This member holds a shared pointer to a Camera object which the current pass uses for rendering.
Definition pass.h:37
BackgroundPtr background
This member holds a shared pointer to a Background object which defines the scene background.
Definition pass.h:36
void setFontSize(int size)
void setLineColor(const Color3f &color)
void setFontFamily(const std::string &family)
void setTextColor(const Color3f &color)
std::string fontFamily() const
Color3f lineColor() const
std::function< std::string(float)> toString
Definition scale.h:29
Color3f textColor() const
Scale(const std::shared_ptr< Camera > &camera, const std::shared_ptr< Background > &background)
std::shared_ptr< Scale > _scale(const std::shared_ptr< Camera > &camera, const std::shared_ptr< Background > &background)