19 #ifndef OST_GFX_PRIMITIVES_HH
20 #define OST_GFX_PRIMITIVES_HH
30 namespace ost {
namespace gfx {
arbitrary oriented bounding cuboid
Three dimensional vector class, using Real precision.
a rendered cuboid in 3D space
virtual void RenderGL(RenderPass pass)
Cuboid(const String &name, const geom::Cuboid &cuboid)
base class for geometric primitives such as cuboids, and circles
void SetLineWidth(float width)
const Color & GetOutlineColor() const
float GetLineWidth() const
void SetOutlineColor(const Color &color)
void SetOutline(const Color &color, bool line=true, float width=1.0)
void SetFill(const Color &color, bool fill=true)
Primitive(const String &name)
const Color & GetFillColor() const
void SetFillColor(const Color &color)
a simple rendered quad in 3D space.
virtual void RenderGL(RenderPass pass)
Quad(const String &name, const geom::Vec3 &a, const geom::Vec3 &b, const geom::Vec3 &c, const geom::Vec3 &d)
#define DLLEXPORT_OST_GFX