Main Page | Modules | Namespace List | Class Hierarchy | Class List | Namespace Members | Class Members

VIEW::MultiLine Class Reference
[Geometric Objects]

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

#include <multiLine.h>

Inheritance diagram for VIEW::MultiLine:

VIEW::GeometricObject VIEW::MultiColorExtension List of all members.

Public Member Functions

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

Public Attributes

vector< Vector3tangents
vector< Vector3vertices

Detailed Description

A line with multiple vertices and colors.


Member Function Documentation

virtual void VIEW::MultiLine::clear  )  throw () [virtual]
 

Explicit default initialization.

Reimplemented from VIEW::MultiColorExtension.

virtual void VIEW::MultiLine::dump std::ostream &  s = std::cout,
Size  depth = 0
const throw () [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 VIEW::MultiColorExtension.

virtual bool VIEW::MultiLine::isValid  )  const throw () [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 VIEW::GeometricObject.

const MultiLine& VIEW::MultiLine::operator= const MultiLine line  )  throw ()
 

Assignment operator.