Atoms Crowd  7.0.0
Atoms::DrawContext Class Referenceabstract

Public Member Functions

virtual void pushAttrib (unsigned int value)=0
 
virtual void popAttrib ()=0
 
virtual void pushClientAttrib (unsigned int value)=0
 
virtual void popClientAttrib ()=0
 
virtual void pushMatrix ()=0
 
virtual void popMatrix ()=0
 
virtual void matrixMode (unsigned int mode)=0
 
virtual void loadIdentity ()=0
 
virtual void multMatrix (const AtomsCore::Matrix &mtx)=0
 
virtual void loadMatrix (const AtomsCore::Matrix &mtx)=0
 
virtual void enable (unsigned int mode)=0
 
virtual void disable (unsigned int mode)=0
 
virtual bool isEnabled (unsigned int mode)=0
 
virtual void setPointSize (double value)=0
 
virtual void setLineSize (double value)=0
 
virtual void setFontSize (double value)=0
 
virtual void setLineStyle (int value, unsigned short pattern)=0
 
virtual void setColor (const AtomsCore::Vector3 &color)=0
 
virtual void setColor (const AtomsCore::Vector4 &color)=0
 
virtual void points (const std::vector< AtomsCore::Vector3 > &points)=0
 
virtual void points2d (const std::vector< AtomsCore::Vector2 > &points)=0
 
virtual void lines (const std::vector< AtomsCore::Vector3 > &points)=0
 
virtual void lines2d (const std::vector< AtomsCore::Vector2 > &points)=0
 
virtual void lineStrip (const std::vector< AtomsCore::Vector3 > &points)=0
 
virtual void lineStrip (const std::vector< AtomsCore::Vector3f > &points)=0
 
virtual void lineStrip2d (const std::vector< AtomsCore::Vector2 > &points)=0
 
virtual void lineLoop (const std::vector< AtomsCore::Vector3 > &points)=0
 
virtual void lineLoop2d (const std::vector< AtomsCore::Vector2 > &points)=0
 
virtual void triangles (const std::vector< AtomsCore::Vector3 > &points)=0
 
virtual void triangles2d (const std::vector< AtomsCore::Vector2 > &points)=0
 
virtual void setViewport (int x, int y, int w, int h)=0
 
virtual void viewport (int &x, int &y, int &w, int &h)=0
 
virtual void ortho2D (double l, double r, double b, double t)=0
 
virtual void rotate (double angle, const AtomsCore::Vector3 &value)=0
 
virtual void translate (const AtomsCore::Vector3 &value)=0
 
virtual void scale (const AtomsCore::Vector3 &value)=0
 
virtual void text (const std::string &text, const AtomsCore::Vector3 &pos)=0
 
virtual void text2d (const std::string &text, const AtomsCore::Vector2 &pos)=0
 
virtual void mesh (const std::vector< AtomsCore::Vector3f > &points, const std::vector< AtomsCore::Vector3f > &normals, const std::vector< unsigned int > &indices)=0
 

The documentation for this class was generated from the following file: