10 #include <Atoms/Globals.h>
11 #include <AtomsCore/AtomsMath.h>
22 virtual void pushAttrib(
unsigned int value) = 0;
24 virtual void popAttrib() = 0;
26 virtual void pushClientAttrib(
unsigned int value) = 0;
28 virtual void popClientAttrib() = 0;
30 virtual void pushMatrix() = 0;
32 virtual void popMatrix() = 0;
34 virtual void matrixMode(
unsigned int mode) = 0;
36 virtual void loadIdentity() = 0;
42 virtual void enable(
unsigned int mode) = 0;
44 virtual void disable(
unsigned int mode) = 0;
46 virtual bool isEnabled(
unsigned int mode) = 0;
48 virtual void setPointSize(
double value) = 0;
50 virtual void setLineSize(
double value) = 0;
52 virtual void setFontSize(
double value) = 0;
54 virtual void setLineStyle(
int value,
unsigned short pattern) = 0;
60 virtual void points(
const std::vector<AtomsCore::Vector3> &points) = 0;
62 virtual void points2d(
const std::vector<AtomsCore::Vector2> &points) = 0;
64 virtual void lines(
const std::vector<AtomsCore::Vector3> &points) = 0;
66 virtual void lines2d(
const std::vector<AtomsCore::Vector2> &points) = 0;
68 virtual void lineStrip(
const std::vector<AtomsCore::Vector3> &points) = 0;
70 virtual void lineStrip(
const std::vector<AtomsCore::Vector3f>& points) = 0;
72 virtual void lineStrip2d(
const std::vector<AtomsCore::Vector2> &points) = 0;
74 virtual void lineLoop(
const std::vector<AtomsCore::Vector3> &points) = 0;
76 virtual void lineLoop2d(
const std::vector<AtomsCore::Vector2> &points) = 0;
78 virtual void triangles(
const std::vector<AtomsCore::Vector3> &points) = 0;
80 virtual void triangles2d(
const std::vector<AtomsCore::Vector2> &points) = 0;
82 virtual void setViewport(
int x,
int y,
int w,
int h) = 0;
84 virtual void viewport(
int& x,
int& y,
int& w,
int& h) = 0;
86 virtual void ortho2D(
double l,
double r,
double b,
double t) = 0;
98 virtual void mesh(
const std::vector<AtomsCore::Vector3f>& points,
99 const std::vector<AtomsCore::Vector3f>& normals,
100 const std::vector<unsigned int>& indices) = 0;
Definition: DrawContext.h:17
AtomsMath::Vector2 Vector2
Vector2 class.
Definition: AtomsMath.h:54
AtomsMath::Vector4 Vector4
Vector4 class.
Definition: AtomsMath.h:60
AtomsMath::Vector3 Vector3
Vector3 class.
Definition: AtomsMath.h:57
AtomsMath::Matrix Matrix
Matrix class.
Definition: AtomsMath.h:63
Atoms namespace.
Definition: Agent.h:29