Io::RendererOpengl class reference
[Core module]
Declaration
#include <Goptical/Io/RendererOpengl>
namespace Goptical {
namespace Io {
class RendererOpengl;
};
};
This class is a member of the Io namespace.
Inheritance
Description
This class implements an Opengl graphic output driver. It needs the opengl library to compile.
Members
Inherited members
Functions
- RendererOpengl (double near, double far, double width = [...], double height = [...], const Rgb &background = [...])
- void set_z_range (double near, double far)
Static functions
- static void apply_transform (const Math::Transform<3> &t)
- static void get_transform (GLenum name, Math::Transform<3> &t)
- static void glColor (const Rgb &rgb)
- static void glNormal (const Math::Vector3 &v)
- static void glVertex (const Math::Vector2 &v)
- static void glVertex (const Math::Vector3 &v)
Members detail
RendererOpengl(double near, double far, double width = 800, double height = 600, const Rgb &background = rgb_black)
No documentation available
static void apply_transform(const Math::Transform<3> &t)
No documentation available
static void get_transform(GLenum name, Math::Transform<3> &t)
No documentation available
static void glColor(const Rgb &rgb)
No documentation available
static void glNormal(const Math::Vector3 &v)
No documentation available
static void glVertex(const Math::Vector2 &v)
No documentation available
static void glVertex(const Math::Vector3 &v)
No documentation available
void set_z_range(double near, double far)
No documentation available