version 3.3

VRS::LineSet Class Reference

Set of 3D Lines. More...

#include <vrs/lineset.h>

Inheritance diagram for VRS::LineSet:

VRS::PolygonSet VRS::Shape VRS::RenderObj VRS::SharedObj VRS::Visitable

List of all members.

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)


Detailed Description

Set of 3D Lines.

Constructor & Destructor Documentation

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]


Member Function Documentation

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   ) 


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

Generated on Mon May 21 06:00:19 2012 by Doxygen 1.5.6
© 2001-2010 Hasso-Plattner-Institut | Impressum | Contact