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.

Definition at line 27 of file contour.h.


Constructor & Destructor Documentation

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

Default constructor.

Definition at line 98 of file contour.h.

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

Copy constructor.

Definition at line 103 of file contour.h.

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

Destructor.

Definition at line 108 of file contour.h.


Member Function Documentation

template<typename T >
void BALL::TContour< T >::apply ( TRegularData2D< T > &  data  )  [inline]

Definition at line 139 of file contour.h.

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

Clear method.

Definition at line 122 of file contour.h.

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.

Definition at line 159 of file contour.h.

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

Assignment operator.

Definition at line 113 of file contour.h.

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

Equality operator.

Definition at line 132 of file contour.h.

template<typename T >
void BALL::TContour< T >::resetCounter (  )  [inline]

Reset the ContourLine-counter.

Definition at line 173 of file contour.h.


Member Data Documentation

template<typename T >
double BALL::TContour< T >::end_ [protected]

Definition at line 87 of file contour.h.

template<typename T >
Position BALL::TContour< T >::index_ [protected]

Definition at line 89 of file contour.h.

template<typename T >
std::vector<TContourLine<T> >::const_iterator BALL::TContour< T >::it_ [protected]

Definition at line 88 of file contour.h.

template<typename T >
std::vector< TContourLine<T> > BALL::TContour< T >::lines_ [protected]

Definition at line 84 of file contour.h.

template<typename T >
Size BALL::TContour< T >::num_lines_ [protected]

Definition at line 85 of file contour.h.

template<typename T >
double BALL::TContour< T >::start_ [protected]

Definition at line 86 of file contour.h.

Generated by  doxygen 1.6.3