ContRap-Libraries
Public Member Functions | Protected Attributes

crp::GLPointList Class Reference

Class GLPointList represents a list of points in the three-dimensional space. More...

#include <glpointlist.h>

Inheritance diagram for crp::GLPointList:
crp::GLPrimitive

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< GLVertexpoints

Detailed Description

Class GLPointList represents a list of points in the three-dimensional space.


Constructor & Destructor Documentation

crp::GLPointList::GLPointList ( GLVertex position,
const std::vector< GLVertex > &  points 
)

Constructor from the coordinates of the point.

Parameters:
pointsList of points
crp::GLPointList::~GLPointList ( )

Destructor.


Member Function Documentation

GLPrimitiveType crp::GLPointList::get_type ( ) const [inline, virtual]

Type of the primitive.

Returns:
Type name of the primitive

Implements crp::GLPrimitive.

void crp::GLPointList::make_display_list ( int  flags) const [virtual]

Draws the point into an OpenGL display list.

Parameters:
flagsStyle flags used to filter out drawing

Implements crp::GLPrimitive.


Field Documentation

std::vector<GLVertex> crp::GLPointList::points [protected]

The documentation for this class was generated from the following file: