ContRap-Libraries
|
Class GLPointList represents a list of points in the three-dimensional space. More...
#include <glpointlist.h>
Public Member Functions | |
GLPointList (GLVertex &position, const std::vector< GLVertex > &points) | |
Constructor from the coordinates of the point. | |
~GLPointList () | |
Destructor. | |
void | make_display_list (int flags) const |
Draws the point into an OpenGL display list. | |
GLPrimitiveType | get_type () const |
Type of the primitive. | |
Protected Attributes | |
std::vector< GLVertex > | points |
Class GLPointList represents a list of points in the three-dimensional space.
Constructor from the coordinates of the point.
points | List of points |
crp::GLPointList::~GLPointList | ( | ) |
Destructor.
GLPrimitiveType crp::GLPointList::get_type | ( | ) | const [inline, virtual] |
void crp::GLPointList::make_display_list | ( | int | flags | ) | const [virtual] |
Draws the point into an OpenGL display list.
flags | Style flags used to filter out drawing |
Implements crp::GLPrimitive.
std::vector<GLVertex> crp::GLPointList::points [protected] |