![]() |
gVirtualXRay
2.0.10
VirtualX-RayImagingLibraryonGPU
|
Some utility functions about OpenGL. Now supports GLSL450 and OpenGL 4.5. More...
#include <cmath>
#include "gVirtualXRay/OpenGLException.h"
#include "gVirtualXRay/OutOfBoundsException.h"
#include "gVirtualXRay/FBOException.h"
#include "gVirtualXRay/Types.h"
#include "gVirtualXRay/ConstantValues.h"
Go to the source code of this file.
Namespaces | |
gVirtualXRay | |
Functions | |
void | gVirtualXRay::pushProjectionMatrix () |
Add the current matrix to the projection matrix stack. More... | |
void | gVirtualXRay::pushModelViewMatrix () |
Add the current matrix to the model/view matrix stack. More... | |
void | gVirtualXRay::popProjectionMatrix () |
void | gVirtualXRay::popModelViewMatrix () |
void | gVirtualXRay::loadIdentityProjectionMatrix () |
Replace the projection matrix by the identity matrix. More... | |
void | gVirtualXRay::loadIdentityModelViewMatrix () |
Replace the model/view matrix by the identity matrix. More... | |
MATRIX4 | gVirtualXRay::buildOrthoProjectionMatrix (double left, double right, double bottom, double top, double near, double far) |
Create a orthographic projection matrix. More... | |
void | gVirtualXRay::loadOrthoProjectionMatrix (double left, double right, double bottom, double top, double near, double far) |
Replace the projection matrix by a orthographic projection matrix. More... | |
void | gVirtualXRay::loadFrustumProjectionMatrix (double left, double right, double bottom, double top, double near, double far) |
Replace the projection matrix by a perspective projection matrix. More... | |
MATRIX4 | gVirtualXRay::buildFrustumProjectionMatrix (double left, double right, double bottom, double top, double near, double far) |
Create a perspective projection matrix. More... | |
void | gVirtualXRay::multiplyOrthoProjectionMatrix (double left, double right, double bottom, double top, double nearPlane, double farPlane) |
MATRIX4 | gVirtualXRay::buildPerspectiveProjectionMatrix (double fovy, double aspect, double zNear, double zFar) |
Create a perspective projection matrix. More... | |
void | gVirtualXRay::loadPerspectiveProjectionMatrix (double fovy, double aspect, double zNear, double zFar) |
Replace the projection matrix by a perspective projection matrix. More... | |
void | gVirtualXRay::multiplyPerspectiveProjectionMatrix (double fovy, double aspect, double zNear, double zFar) |
MATRIX4 | gVirtualXRay::buildLookAtModelViewMatrix (const VEC3 &eye, const VEC3 ¢re, const VEC3 &up) |
Create a modelling-viewing matrix. More... | |
MATRIX4 | gVirtualXRay::buildLookAtModelViewMatrix (double eyeX, double eyeY, double eyeZ, double centreX, double centreY, double centreZ, double upX, double upY, double upZ) |
Create a modelling-viewing matrix. More... | |
void | gVirtualXRay::loadLookAtModelViewMatrix (const VEC3 &eye, const VEC3 ¢re, const VEC3 &up) |
Replace the modelling-viewing matrix by a viewing transformation matrix. More... | |
void | gVirtualXRay::loadLookAtModelViewMatrix (double eyeX, double eyeY, double eyeZ, double centreX, double centreY, double centreZ, double upX, double upY, double upZ) |
Replace the modelling-viewing matrix by a viewing transformation matrix. More... | |
std::string | gVirtualXRay::getShaderTypeID (const std::type_info &aTypeID) |
std::string | gVirtualXRay::getShaderImageType (const std::type_info &aTypeID) |
std::string | gVirtualXRay::getShaderPixelType (const std::type_info &aTypeID) |
std::string | gVirtualXRay::getShaderRGBAPixelType (const std::type_info &aTypeID) |
int | gVirtualXRay::getShaderOpenGLType (const std::type_info &aTypeID) |
Some utility functions about OpenGL. Now supports GLSL450 and OpenGL 4.5.
License BSD 3-Clause License.
For details on use and redistribution please refer to http://opensource.org/licenses/BSD-3-Clause
Copyright (c) by Dr Franck P. Vidal, Bangor University, Fev 2020-Sept 2023, version 1.1, BSD 3-Clause License (c) by Prof Franck P. Vidal (franc), UK Research and Innovation, Oct 2023-present, version 1.1, BSD 3-Clause License k.vi dal@s tfc. ac.uk
Definition in file OpenGLUtilities.inl.