|
ContRap-Libraries
|
Class GLMesh represents a meshed triangulated surface with texture data. More...
#include <glmesh.h>
Public Member Functions | |
| GLMesh (const GLMeshData &mesh, const GLVertex &position) | |
| Constructor from the coordinates of the point. | |
| ~GLMesh () | |
| Destructor. | |
| void | make_display_list (int style) const |
| Draws the point into an OpenGL display list. | |
| virtual GLPrimitiveType | get_type () const |
| Type of the primitive. | |
Class GLMesh represents a meshed triangulated surface with texture data.
| crp::GLMesh::GLMesh | ( | const GLMeshData & | mesh, |
| const GLVertex & | position | ||
| ) |
Constructor from the coordinates of the point.
| mesh | Texture of the picture |
| position | Position of the primitive |
| width | Width of the image |
| height | Height of the image |
| px | Displacement to the image center in image coordinates |
| py | Displacement to the image center in image coordinates |
| crp::GLMesh::~GLMesh | ( | ) |
Destructor.
| virtual GLPrimitiveType crp::GLMesh::get_type | ( | ) | const [inline, virtual] |
| void crp::GLMesh::make_display_list | ( | int | style | ) | const [virtual] |
Draws the point into an OpenGL display list.
| flags | Style flags used to filter out drawing |
Implements crp::GLPrimitive.
1.7.3