#include <BALL/VIEW/PRIMITIVES/multiLine.h>
Public Member Functions | |
MultiLine () | |
Default Constructor. | |
MultiLine (const MultiLine &line) | |
Copy constructor with cloning facility. | |
virtual | ~MultiLine () |
virtual void | clear () |
void | set (const MultiLine &line) |
const MultiLine & | operator= (const MultiLine &line) |
virtual bool | isValid () const |
virtual void | dump (std::ostream &s=std::cout, Size depth=0) const |
virtual void | getVertices (vector< Vector3 > &vertices) const |
Public Attributes | |
vector< Vector3 > | tangents |
vector< Vector3 > | vertices |
A line with multiple vertices and colors.
Definition at line 30 of file multiLine.h.
BALL::VIEW::MultiLine::MultiLine | ( | ) |
Default Constructor.
BALL::VIEW::MultiLine::MultiLine | ( | const MultiLine & | line | ) |
Copy constructor with cloning facility.
virtual BALL::VIEW::MultiLine::~MultiLine | ( | ) | [virtual] |
Destructor
virtual void BALL::VIEW::MultiLine::clear | ( | ) | [virtual] |
Explicit default initialization.
Reimplemented from BALL::VIEW::MultiColorExtension.
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.
s | output stream where to output the value of this line | |
depth | the dumping depth |
Reimplemented from BALL::VIEW::MultiColorExtension.
virtual void BALL::VIEW::MultiLine::getVertices | ( | vector< Vector3 > & | vertices | ) | const [virtual] |
Reimplemented from BALL::VIEW::GeometricObject.
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.
true
if the internal state of this line is correct (self-validated) and consistent, false
otherwise Reimplemented from BALL::VIEW::GeometricObject.
void BALL::VIEW::MultiLine::set | ( | const MultiLine & | line | ) |
Definition at line 89 of file multiLine.h.
Definition at line 90 of file multiLine.h.