28 #ifndef opengl_CAxis_H
29 #define opengl_CAxis_H
57 float m_xmin,m_ymin,m_zmin;
58 float m_xmax,m_ymax,m_zmax;
64 void setAxisLimits(
float xmin,
float ymin,
float zmin,
float xmax,
float ymax,
float zmax)
66 m_xmin=xmin; m_ymin=ymin; m_zmin=zmin;
67 m_xmax=xmax; m_ymax=ymax; m_zmax=zmax;
81 float xmin,
float ymin,
float zmin,
82 float xmax,
float ymax,
float zmax,
83 float frecuency = 1,
float lineWidth = 3,
bool marks=
false)
85 return CAxisPtr(
new CAxis( xmin,ymin, zmin, xmax,ymax,zmax,frecuency,lineWidth,marks ) );
90 void render_dl()
const;
96 float xmin=-1.0f,
float ymin=-1.0f,
float zmin=-1.0f,
97 float xmax=1.0f,
float ymax=1.0f,
float zmax=1.0f,
98 float frecuency = 0.25f,
float lineWidth = 3.0f,
bool marks=
false) :
99 m_xmin(xmin),m_ymin(ymin),m_zmin(zmin),
100 m_xmax(xmax),m_ymax(ymax),m_zmax(zmax),
101 m_frecuency(frecuency),
102 m_lineWidth(lineWidth),