BALL::TContour< T > Class Template Reference
[Miscellaneous]

#include <BALL/DATATYPE/contour.h>

List of all members.


Public Member Functions

Constructors and Destructors
 TContour (Size num_lines=0, double start=0, double end=0)
 

Default constructor.


 TContour (const TContour &contour)
 

Copy constructor.


virtual ~TContour ()
 

Destructor.


Accessors
bool getNextContourLine (TContourLine< T > &contour)
 

Gives access to the next ContourLine. Returns false if we had already returned the last line.


Assignment
TContouroperator= (const TContour &rhs)
 

Assignment operator.


void apply (TRegularData2D< T > &data)
virtual void clear ()
 

Clear method.


void resetCounter ()
 

Reset the ContourLine-counter.


Predicates
bool operator== (const TContour &contour) const
 

Equality operator.



Protected Attributes

std::vector< TContourLine< T > > lines_
Size num_lines_
double start_
double end_
std::vector< TContourLine< T >
>::const_iterator 
it_
Position index_

Detailed Description

template<typename T>
class BALL::TContour< T >

This class is intended to create and store ContourLines belonging to the same data-set.


Constructor & Destructor Documentation

template<typename T >
BALL::TContour< T >::TContour ( Size  num_lines = 0,
double  start = 0,
double  end = 0 
) [inline]

Default constructor.

template<typename T >
BALL::TContour< T >::TContour ( const TContour< T > &  contour  )  [inline]

Copy constructor.

template<typename T >
BALL::TContour< T >::~TContour (  )  [inline, virtual]

Destructor.


Member Function Documentation

template<typename T >
void BALL::TContour< T >::clear (  )  [inline, virtual]
template<typename T >
bool BALL::TContour< T >::getNextContourLine ( TContourLine< T > &  contour  )  [inline]

Gives access to the next ContourLine. Returns false if we had already returned the last line.

References BALL::TContour< T >::index_, BALL::TContour< T >::it_, and BALL::TContour< T >::num_lines_.

template<typename T >
TContour< T > & BALL::TContour< T >::operator= ( const TContour< T > &  rhs  )  [inline]
template<typename T >
bool BALL::TContour< T >::operator== ( const TContour< T > &  contour  )  const [inline]
template<typename T >
void BALL::TContour< T >::resetCounter (  )  [inline]

Reset the ContourLine-counter.

References BALL::TContour< T >::index_, BALL::TContour< T >::it_, and BALL::TContour< T >::lines_.


Member Data Documentation