30 :
ScanGraphDrawer(), m_trajectoryVertexArray(NULL), m_trajectoryColorArray(NULL), m_trajectorySize(0)
51 glEnableClientState(GL_VERTEX_ARRAY);
52 glEnableClientState(GL_COLOR_ARRAY);
57 glDisableClientState(GL_COLOR_ARRAY);
58 glDisableClientState(GL_VERTEX_ARRAY);
61 GLUquadricObj* quadric=gluNewQuadric();
62 gluQuadricNormals(quadric, GLU_SMOOTH);
67 gluSphere(quadric, 0.05, 32, 32);
71 gluDeleteQuadric(quadric);
std::vector< ScanNode * >::const_iterator const_iterator
virtual void setScanGraph(const octomap::ScanGraph &graph)
GLfloat * m_trajectoryColorArray
GLfloat * m_trajectoryVertexArray
unsigned int m_trajectorySize
number of nodes in the ScanGraph
virtual ~TrajectoryDrawer()
virtual void draw() const