Go to the documentation of this file.
19 #ifndef OST_GFX_OBJ_BASE_HH
20 #define OST_GFX_OBJ_BASE_HH
43 namespace ost {
namespace gfx {
59 virtual void SetMatAmb(
const Color& c) = 0;
61 virtual void SetMatDiff(
const Color& c) = 0;
63 virtual void SetMatSpec(
const Color& c) = 0;
65 virtual void SetMatShin(
float s) = 0;
67 virtual void SetMatEmm(
const Color& c) = 0;
70 virtual void ContextSwitch() = 0;
81 virtual void SetLineWidth(
float w) = 0;
84 virtual void SetPolyMode(
unsigned int m) = 0;
87 virtual void SetAALines(
bool f) = 0;
90 virtual void SetLineHalo(
float f) = 0;
93 virtual void SetOutline(
bool f) = 0;
95 virtual bool GetOutline()
const = 0;
97 virtual void SetOutlineMode(
int m) = 0;
99 virtual int GetOutlineMode()
const = 0;
102 virtual void SetOutlineWidth(
float f) = 0;
104 virtual float GetOutlineWidth()
const = 0;
107 virtual void SetOutlineExpandFactor(
float f) = 0;
109 virtual float GetOutlineExpandFactor()
const = 0;
111 virtual void SetOutlineExpandColor(
const Color& c) = 0;
113 virtual Color GetOutlineExpandColor()
const = 0;
116 virtual void SetOpacity(
float f) = 0;
118 virtual float GetOpacity()
const = 0;
124 const Gradient& g,
float minv,
float maxv) = 0;
130 const Gradient& g,
float minv,
float maxv) = 0;