11     : width(1), organization(LINES)
 
   17     this->operator =(polyLine);
 
   27     width = polyLine.width;
 
   28     vertexVec = polyLine.vertexVec;
 
   29     material = polyLine.material;
 
   45     if (vertexVec.size() > 1)
 
   47         bBox.SetBoundingBox(vertexVec[0].GetX(), vertexVec[0].GetY(), vertexVec[0].GetZ(),
 
   48                             vertexVec[1].GetX(), vertexVec[1].GetY(), vertexVec[1].GetZ());
 
   50         for (
unsigned int i=2; i < vertexVec.size(); i++)
 
   51              bBox.ConditionalUpdate(vertexVec[i].GetX(), vertexVec[i].GetY(), vertexVec[i].GetZ());
 
   61         glPushAttrib( GL_LINE_BIT );
 
   63         result = material.DrawOGL();
 
   64         glBegin(GLOrganizationType());
 
   65         for(
unsigned int i = 0; i < vertexVec.size(); ++i)
 
   67             glVertex3dv( vertexVec[i].VetXYZW() );
 
   73         bBox.DrawInstanceOGL();
 
   81 GLenum VART::PolyLine::GLOrganizationType() const
 
   84     if (organization == LINES)
 
   86     if (organization == LINE_STRIP)
 
Base class for objects that compose a scene graph. 
PolyLine()
Creates a empty PolyLine. 
A PolyLine is a sequence of lines, defined by a list of points. 
virtual bool DrawOGL() const 
Recursive drawing using OpenGL commands. 
~PolyLine()
Destroy all PolyLine data. 
virtual VART::SceneNode * Copy()
Return a copy of the PolyLine. 
VART::PolyLine & operator=(const VART::PolyLine &polyLine)
Copies all polyLine data to another PolyLine. 
virtual void ComputeBoundingBox()
Computes the bounding box of the PolyLine. 
void Clear()
Clear all vertices in the PolyLine.