| VRS - The Virtual Rendering System |
| version 3.3 |
#include <vrs/lineset.h>

Public Member Functions | |
| LineSet (PolygonSet::PrimitiveType=LineSet::Lines, Iterator< Vector > *vertices=0, Iterator< Vector > *normals=0, Iterator< Color > *colors=0, Iterator< Vector > *texcoords=0, Iterator< Vector > *texture2Iter=0, Iterator< Vector > *texture3Iter=0, Iterator< Vector > *texture4Iter=0, Iterator< unsigned int > *indices=0, Iterator< unsigned int > *ranges=0) | |
| virtual void | setType (PolygonSet::PrimitiveType type) |
| virtual PolygonSet::PrimitiveType | getType () const |
| VRS_TYPEINFO (LineSet, PolygonSet) | |
| VRS_SERIALIZABLE (LineSet) | |
| VRS::LineSet::LineSet | ( | PolygonSet::PrimitiveType | = LineSet::Lines, |
|
| Iterator< Vector > * | vertices = 0, |
|||
| Iterator< Vector > * | normals = 0, |
|||
| Iterator< Color > * | colors = 0, |
|||
| Iterator< Vector > * | texcoords = 0, |
|||
| Iterator< Vector > * | texture2Iter = 0, |
|||
| Iterator< Vector > * | texture3Iter = 0, |
|||
| Iterator< Vector > * | texture4Iter = 0, |
|||
| Iterator< unsigned int > * | indices = 0, |
|||
| Iterator< unsigned int > * | ranges = 0 | |||
| ) |
A set of lines. According to the line type, the vertices are interpreted in terms of line segments: Lines: [v0,v1] [v2,v3] [v4,v5] ... LineStrip: [v0,v1] [v1,v2] [v2,v3] ... LineLoop: [v0,v1] [v1,v2] [v2,v3] ... [vn, v0]
| virtual void VRS::LineSet::setType | ( | PolygonSet::PrimitiveType | type | ) | [virtual] |
Reimplemented from VRS::PolygonSet.
| virtual PolygonSet::PrimitiveType VRS::LineSet::getType | ( | ) | const [virtual] |
The line type specifies how the vertex data is interpreted. The types correspond to the OpenGL line primitives.
Reimplemented from VRS::PolygonSet.
| VRS::LineSet::VRS_TYPEINFO | ( | LineSet | , | |
| PolygonSet | ||||
| ) |
| VRS::LineSet::VRS_SERIALIZABLE | ( | LineSet | ) |