ContRap-Libraries
Data Structures | Namespaces | Enumerations

glprimitive.h File Reference

This file is a part of ContRap. More...

#include "gldefines.h"
#include "glmath.h"
#include <string>
#include <cmath>
#include <iostream>
#include <limits>
#include <float.h>

Data Structures

class  crp::GLPrimitive
 Class GLPrimitive represents all OpenGL geometric primitives. More...

Namespaces

namespace  crp

Enumerations

enum  GLPrimitiveType {
  GL_POINT_PRIMITIVE = 0, GL_LINE_PRIMITIVE = 1, GL_TRIANGLE_PRIMITIVE = 2, GL_PLANE_PRIMITIVE = 3,
  GL_SPHERE_PRIMITIVE = 4, GL_TORUS_PRIMITIVE = 5, GL_TEXT_PRIMITIVE = 6, GL_DISK_PRIMITIVE = 7,
  GL_CSYSTEM_PRIMITIVE = 8, GL_POINT_LIST_PRIMITIVE = 9, GL_STL_MODEL_PRIMITIVE = 10, GL_SQUARE_PRIMITIVE = 11,
  GL_SCENE_PRIMITIVE = 12, GL_INDEX_TRIANGLE_PRIMITIVE = 13, GL_CUBE_PRIMITIVE = 14, GL_CUBOID_PRIMITIVE = 15,
  GL_SURFACE_PRIMITIVE = 16, GL_PICTURE_PRIMITIVE = 17, GL_MESH_PRIMITIVE = 18
}
 

Enumeration type for primitives.

More...
enum  GLStyle {
  GL_NO_STYLE = 0, GL_SOLID = 1, GL_OPAQUE = 2, GL_TEXT = 4,
  GL_ALL = 7
}
 

Enumeration data type for the style of the objects.

More...

Detailed Description

This file is a part of ContRap.

Copyright (c) 2009 Aless Lasaruk

ContRap is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

ContRap is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with ContRap. If not, see <http://www.gnu.org/licenses/>.

This file contains the declaration of three-dimensional points

Author:
Aless Lasaruk

Copyright (c) 2009-2010 Aless Lasaruk

ContRap is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

ContRap is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with ContRap. If not, see <http://www.gnu.org/licenses/>.

This file contains the abstract class declaration for all OpenGL primitives

Author:
Aless Lasaruk

Enumeration Type Documentation

Enumeration type for primitives.

Enumerator:
GL_POINT_PRIMITIVE 
GL_LINE_PRIMITIVE 
GL_TRIANGLE_PRIMITIVE 
GL_PLANE_PRIMITIVE 
GL_SPHERE_PRIMITIVE 
GL_TORUS_PRIMITIVE 
GL_TEXT_PRIMITIVE 
GL_DISK_PRIMITIVE 
GL_CSYSTEM_PRIMITIVE 
GL_POINT_LIST_PRIMITIVE 
GL_STL_MODEL_PRIMITIVE 
GL_SQUARE_PRIMITIVE 
GL_SCENE_PRIMITIVE 
GL_INDEX_TRIANGLE_PRIMITIVE 
GL_CUBE_PRIMITIVE 
GL_CUBOID_PRIMITIVE 
GL_SURFACE_PRIMITIVE 
GL_PICTURE_PRIMITIVE 
GL_MESH_PRIMITIVE 
enum GLStyle

Enumeration data type for the style of the objects.

Enumerator:
GL_NO_STYLE 
GL_SOLID 
GL_OPAQUE 
GL_TEXT 
GL_ALL