class Lines2D


Public Methods

[more] Lines2D()
[more] ~Lines2D()
[more]inline void SetVertexs(const vector<Vector2D> &vxs)
void SetColor(double r,double g, double b, double a);
[more]inline void SetType(unsigned int t)
[more]int LoadXML(char* file_name)
Load a line from a XML file.
[more]int ParseXML(xmlDocPtr doc, xmlNodePtr cur)
[more]void glDraw()
[more]void Out(char* c) const

Private Fields

[more]vector<Vector2D> vertexs
[more]unsigned int type
float color[4];


Documentation

o Lines2D()

o ~Lines2D()

oinline void SetVertexs(const vector<Vector2D> &vxs)
void SetColor(double r,double g, double b, double a);

oinline void SetType(unsigned int t)

oint LoadXML(char* file_name)
Load a line from a XML file. (0 if OK, 1 if ERROR)

oint ParseXML(xmlDocPtr doc, xmlNodePtr cur)

ovoid glDraw()

ovoid Out(char* c) const

ovector<Vector2D> vertexs

ounsigned int type
float color[4];


This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.