BALL::VIEW::MultiLine Class Reference
[Geometric Objects]

A line with multiple vertices and colors. More...

#include <multiLine.h>

Inheritance diagram for BALL::VIEW::MultiLine:
Inheritance graph
[legend]

List of all members.


Public Member Functions

MultiLine ()
Default Constructor.
MultiLine (const MultiLine &line)
Copy constructor with cloning facility.
virtual ~MultiLine ()
Destructor.
virtual void clear ()
Explicit default initialization.
void set (const MultiLine &line)
const MultiLine & operator= (const MultiLine &line)
Assignment operator.
virtual bool isValid () const
Internal state and consistency self-validation.
virtual void dump (std::ostream &s=std::cout, Size depth=0) const
Internal value dump.
virtual void getVertices (vector< Vector3 > &vertices) const

Public Attributes

vector< Vector3 > tangents
vector< Vector3 > vertices

Detailed Description

A line with multiple vertices and colors.

Member Function Documentation

virtual void BALL::VIEW::MultiLine::dump ( std::ostream & s = std::cout,
Size depth = 0
) const [virtual]

Internal value dump.

Dump the current value of this line to the output ostream s with dumping depth depth. Calls GeometricObject::dump. Calls Vertex2::dump.

Parameters:
s output stream where to output the value of this line
depth the dumping depth
See also:
GeometricObject::dump

Vertex2::dump

Reimplemented from BALL::VIEW::MultiColorExtension.

virtual bool BALL::VIEW::MultiLine::isValid ( ) const [virtual]

Internal state and consistency self-validation.

Initiate self-validation of the internal state and data structure consistencies of this line. If the internal state of this line is correct (self-validated) and consistent true is returned, false otherwise. Calls GeometricObject::isValid. Calls Vertex2::isValid.

Returns:
bool true if the internal state of this line is correct (self-validated) and consistent, false otherwise
See also:
GeometricObject::isValid

Vertex2::isValid

Reimplemented from BALL::VIEW::GeometricObject.


Generated on Thu Aug 6 18:30:58 2009 for BALL by doxygen 1.5.8