|
void | kjb::opengl::glRotate (const kjb::Quaternion &q) |
| glRotate for a kjb::Quaternion. More...
|
|
void | kjb::opengl::glTranslate (const kjb::Vector &p) |
| glTranslate for a kjb::Vector. More...
|
|
void | kjb::opengl::glTranslate (const kjb::Vector3 &p) |
| glTranslate for a kjb::Vector3. More...
|
|
void | kjb::opengl::glTranslate (const kjb::Vector2 &p) |
|
void | kjb::opengl::glVertex (const Vector &p) |
| glVertex for a kjb::Vector. More...
|
|
void | kjb::opengl::glVertex (const Vector2 &p) |
|
void | kjb::opengl::glVertex (const Vector3 &p) |
|
void | kjb::opengl::glVertex (const Vector4 &p) |
|
void | kjb::opengl::glColor (const Vector &color) |
| glColor for a kjb::Vector. More...
|
|
void | kjb::opengl::glColor (const kjb::PixelRGBA &color) |
|
void | kjb::opengl::glColor (const Vector3 &color) |
|
void | kjb::opengl::glColor (const Vector4 &color) |
|
void | kjb::opengl::glLoadMatrix (const kjb::Matrix &m) |
| glLoadMatrix for a kjb::Matrix. More...
|
|
void | kjb::opengl::glLoadMatrix (const kjb::Matrix4 &m) |
| glLoadMatrix for a kjb::Matrix4. More...
|
|
void | kjb::opengl::glMultMatrix (const kjb::Matrix &m) |
| glMultMatrix for a kjb::Matrix. More...
|
|
void | kjb::opengl::glMultMatrix (const kjb::Matrix4 &m) |
| glLoadMatrix for a kjb::Matrix4. More...
|
|
void | kjb::opengl::gluBuild2DMipmaps (const Image &img) |
| NEEDS COMMENTING!!!. More...
|
|
void | kjb::opengl::glTexImage2D (const Image &img) |
| Copy kjb::Image into an opengl texture. More...
|
|
Vector | kjb::opengl::gluUnProject (const Vector &vertex, double *modelview, double *projection, int *viewport) |
| Wraps gluUnproject using kjb::Vertex. More...
|
|
Vector3 | kjb::opengl::gluUnProject (const Vector2 &vertex, double *modelview, double *projection, int *viewport) |
|
Vector3 | kjb::opengl::gluUnProject (const Vector3 &vertex, double *modelview, double *projection, int *viewport) |
|
void | kjb::opengl::gluLookAt (Matrix &M, const Vector &eye, const Vector &target, const Vector &up) |
| Computes a gluLookAt matrix and multiplies it by the given matrix. More...
|
|
void | kjb::opengl::glOrtho (Matrix &state, double left, double right, double bottom, double top, double znear, double zfar) |
|
void | kjb::opengl::glOrtho (Matrix4 &state, double left, double right, double bottom, double top, double znear, double zfar) |
|
void | kjb::opengl::glClearDepthBuffer () |
|
void | kjb::opengl::glcolormask (bool b1, bool b2, bool b3, bool b4) |
|
void | kjb::opengl::glEnableLineSmooth () |
|
void | kjb::opengl::glDisableLineSmooth () |
|
void | kjb::opengl::default_init_opengl (unsigned int width=100, unsigned int height=100) |
| Initializes OpenGL in a standard way. More...
|
|
size_t | kjb::opengl::get_viewport_width () |
| Get current GL viewport width. More...
|
|
size_t | kjb::opengl::get_viewport_height () |
| Get current GL viewport height. More...
|
|
Matrix | kjb::opengl::get_modelview_matrix () |
| Returns a copy of the current modelview matrix. More...
|
|
Matrix | kjb::opengl::get_projection_matrix () |
| Returns a copy of the current projection matrix. More...
|
|
Vector | kjb::opengl::project (const Vector &x) |
| Computes the window coordinates of the given point using current GL state. More...
|
|
Vector2 | kjb::opengl::project (const Vector3 &x) |
|
Vector | kjb::opengl::unproject (const Vector &vertex) |
| Unproject a point from screen coordinates to world coordinates. More...
|
|
void | kjb::opengl::draw_full_screen_quad (float z) |
|
bool | kjb::opengl::has_stencil_buffer () |
| Returns true if OpenGL version supports stencil buffer (right?). More...
|
|
void | kjb::opengl::set_framebuffer (const Image &img) |
| Puts the contents of an image into the framebuffer. More...
|
|
void | kjb::opengl::set_framebuffer (const Matrix &mat) |
| Puts the contents of a matrix into the framebuffer. More...
|
|
void | kjb::opengl::set_framebuffer (const Int_matrix &mat) |
| Puts the contents of a int matrix into the framebuffer. More...
|
|
Image | kjb::opengl::get_framebuffer_as_image (size_t x, size_t y, size_t width, size_t height) |
| Read pixels from opengl's back-buffer into an image. More...
|
|
Image | kjb::opengl::get_framebuffer_as_image () |
| Read pixels from opengl's whole back-buffer into an image. More...
|
|
void | kjb::opengl::get_framebuffer_as_matrix (size_t x, size_t y, size_t width, size_t height, Matrix &result) |
|
void | kjb::opengl::get_depth_buffer_as_matrix (size_t x, size_t y, size_t width, size_t height, Matrix &result) |
|
Matrix | kjb::opengl::get_framebuffer_as_matrix (size_t x, size_t y, size_t width, size_t height) |
|
Matrix | kjb::opengl::get_depth_buffer_as_matrix (size_t x, size_t y, size_t width, size_t height) |
|
Matrix | kjb::opengl::get_framebuffer_as_matrix () |
| Read pixels from opengl's whole back-buffer into a matrix. More...
|
|
Matrix | kjb::opengl::get_depth_buffer_as_matrix () |
| Read pixels from opengl's whole (back) depth-buffer into a matrix. More...
|
|
Int_matrix | kjb::opengl::get_framebuffer_as_int_matrix (size_t x, size_t y, size_t width, size_t height) |
|
Int_matrix | kjb::opengl::get_framebuffer_as_int_matrix () |
| Read pixels from opengl's whole back-buffer into a int matrix. More...
|
|
void | kjb::opengl::bitmap_string (const std::string &s, double x, double y, void *font=NULL) |
| Draws a bitmap string at the specified location. More...
|
|
void | kjb::opengl::move_in_plane (kjb::Vector3 &plane_pt, const kjb::Vector2 &new_pt) |
| Translate a point so it projects to a screen point. More...
|
|
void | kjb::opengl::get_backprojection_line (const Vector2 &pt, Vector3 &line_pt, Vector3 &line_dir) |
| Get backprojection line using current opengl state. More...
|
|
void | kjb::opengl::render_xz_plane_grid (double xmin, double xmax, double zmin, double zmax, double csz=1.0) |
| Draw a grid representing the ground plane. More...
|
|
void | kjb::opengl::render_xy_plane_grid (double xmin, double xmax, double ymin, double ymax, double csz=1.0) |
| Draw a grid representing the ground plane. More...
|
|