|
class | Axes |
| Class to render axis lines in OpenGL. All axis have the same color. Length is both positive and negative direction. More...
|
|
class | Color |
| Color class used in vertex arrays and has layout of 4 x GLfloat. More...
|
|
class | Cone |
| Class to render a cone in OpenGL. Height of the cone is along the Z-axis where the tip is at (0, 0, 0). More...
|
|
class | Cube |
| Class to render a cube with 6 different colored faces and normals for reflection. Center of the cube is in (0,0,0). More...
|
|
class | Cylinder |
| Class to render a cylinder in OpenGL. Has a single color. Height of the cone is along the Z-axis where the tip is at (0, 0, 0). More...
|
|
class | DemoRenderer |
|
class | DemoScene |
|
class | Disk |
| Class to render a circle in OpenGL. More...
|
|
class | Dynamic |
| Dynamic object . More...
|
|
class | Helper |
| Keeps track of color. More...
|
|
class | Line |
| Class to render a line in OpenGL. More...
|
|
class | Matrix |
| A 4x4 matrix class used in arrays and has layout of 16x GLfloat. More...
|
|
class | NipscanRenderer |
|
class | NipscanScene |
|
class | Normals |
| Class to render Normals from another vertex array. More...
|
|
class | Rectangle |
| Class to render a rectangle in OpenGL. Height of the cone is along the Z-axis where the tip is at (0, 0, 0). More...
|
|
class | SceneInterface |
| Base class for the interface. More...
|
|
class | SceneServer |
| Server for color palettes used in images for coloring on basis of index. More...
|
|
class | SceneServerPropertyPage |
|
class | ScopedCulling |
| Easy to use class to enable culling temporarily. More...
|
|
class | ScopedMatrix |
| Pushes and pops a matrix for the scope it is in. More...
|
|
class | ShaderProgram |
| Shader program having a default vertex and fragment shader. More...
|
|
class | Sphere |
| Class to render a sphere in OpenGL. Center of the sphere is in (0,0,0). Has a single color. More...
|
|
class | Tube |
| Class to render a cylinder in OpenGL. Height of the cone is along the Z-axis where the tip is at (0, 0, 0). More...
|
|
class | TVertexArray |
| OpenGL base class and wrapper template for vertex arrays. Automates most of the things needed for primitive objects. More...
|
|
class | VertexArray |
| OpenGL base class and wrapper for vertex arrays. More...
|
|
class | VertexArrayBase |
| Base class for Vertex array derived classes. More...
|
|
|
typedef std::array< GLfloat, 16 > | matrix4x4f |
| Type which correspond with a GLSL type and used to implement Vertex structures.
|
|
typedef std::array< GLfloat, 2 > | vector2f |
| Type which correspond with a GLSL type and used to implement Vertex structures.
|
|
typedef std::array< GLfloat, 3 > | vector3f |
| Type which correspond with a GLSL type and used to implement Vertex structures.
|
|
typedef std::array< GLfloat, 4 > | vector4f |
| Type which correspond with a GLSL type and used to implement Vertex structures.
|
|
typedef std::array< GLdouble, 16 > | matrix4x4d |
| Type which correspond with a GLSL type and used to implement Vertex structures.
|
|
typedef std::array< GLdouble, 3 > | vector3d |
| Type which correspond with a GLSL type and used to implement Vertex structures.
|
|
typedef std::array< GLdouble, 4 > | vector4d |
| Type which correspond with a GLSL type and used to implement Vertex structures.
|
|
typedef QFlags< ECullingFlag > | CullingState |
| Type to contain bitmapped culling settings.
|
|
|
QDebug | operator<< (QDebug dbg, const Color &color) |
|
_XGL_FUNC void | setCullingState (QOpenGLFunctions *funcs, CullingState state, CullingState current={cfIgnore}) |
|
_XGL_FUNC QMatrix4x4 | getPerspectiveMatrix (float fov_y, float aspect, float near_z, float far_z) |
| createPerspectiveMatrix Generates a perspective projection matrix using QMatrix4x4. This function calculates the perspective projection matrix, which is used to transform 3D coordinates into 2D clip space. This transformation is essential for rendering 3D scenes correctly on a 2D screen. The matrix is designed to simulate the effect of perspective, where objects appear smaller the farther away they are.
|
|
_XGL_FUNC matrix4x4f | getPerspectiveMatrixF (GLfloat fovY, GLfloat aspect, GLfloat nearZ, GLfloat farZ) |
| Gets the perspective matrix similar to GLU gluPerspective() function.
|
|
_XGL_FUNC std::pair< GLsizei, std::string_view > | getTypeInfo (GLenum type) |
| Gets the C++ type and GLSL type as a string and the size in bytes of the given type enumerate.
|
|
template<typename T > |
constexpr GLenum | getTypeEnum () |
| Converts the template type into a OpenGL type value like GL_INT, GL_FLOAT, Double.
|
|
template<size_t N = 3, typename T = GLfloat> |
std::array< T, N > | array (const QVector3D vect, T value=1) |
| Template function to gets a 'std::array' from a Vector3D. This function is to pass a 3D vector where 4 or more values are required in an OpenGL function.
|
|
_XGL_FUNC QMatrix4x4 | getRotationMatrix (const QVector3D &v1, const QVector3D &v2) |
| Gets a 4x4 matrix from to vectors. When the 'v1' vector is mapped using the matrix the 'v2' vector is retrieved.
|
|
_XGL_FUNC QImage | getTransparentImage (const QImage &src_image, int alpha) |
| Turms the given image into a transparent one.
|
|
template<typename VertexType , typename FieldType > |
void | setVertexAttribPointer (QOpenGLShaderProgram *sp, GLuint attr_loc, size_t offset) |
| Makes a call to glVertexAttribPointer() and to glEnableVertexAttribArray() in a smart way.
|
|
_XGL_FUNC bool | checkDrawMode (GLenum mode, size_t vertice_count, const std::string &src) |
| Checks is the needed vertices are sufficient and in range.
|
|