19 #ifndef OST_GFX_PRIMITIVES_HH
20 #define OST_GFX_PRIMITIVES_HH
30 namespace ost {
namespace gfx {
48 void SetFill(
const Color& color,
bool fill=
true);
49 void SetOutline(
const Color& color,
bool line=
true,
float width=1.0);
50 void SetFillColor(
const Color& color);
51 void SetOutlineColor(
const Color& color);
52 const Color& GetFillColor()
const;
53 const Color& GetOutlineColor()
const;
55 bool HasOutline()
const;
56 float GetLineWidth()
const;
58 void SetLineWidth(
float width);
arbitrary oriented bounding cuboid
a rendered cuboid in 3D space
a simple rendered quad in 3D space.
#define DLLEXPORT_OST_GFX
Three dimensional vector class, using Real precision.
base class for geometric primitives such as cuboids, and circles