35 #ifndef __CoordinateSystemMesh_h 36 #define __CoordinateSystemMesh_h 69 #ifndef __gVirtualXRayConfig_h 137 void display(GLuint aShaderID);
189 #endif // __CoordinateSystemMesh_h LineMesh< float > m_y_axis_geometry
The triangle mesh corresponding to the Y-axis.
void display(GLuint aShaderID)
Display the coordinate system axes using OpenGL.
CoordinateSystemMesh is a class to handle the display of coordinate system axes in the visualisation...
Class to handle 3D meshes of line segments.
float RATIONAL_NUMBER
Type of data used to store real numbers.
const RATIONAL_NUMBER & getLength() const
Accessor on the length of axes (in units of length)
const double cm
centimeter
~CoordinateSystemMesh()
Destructor.
LineMesh< float > m_x_axis_geometry
The triangle mesh corresponding to the X-axis.
void release()
Release the data.
CoordinateSystemMesh(RATIONAL_NUMBER aLength=1.0 *cm)
Default constructor.
void updateVBOs()
Update the VBOs.
Class to handle coordinate system meshes.
void setLength(const RATIONAL_NUMBER &aLength)
Set the length of axes (in units of length)
LineMesh< float > m_z_axis_geometry
The triangle mesh corresponding to the Z-axis.