7 #ifndef BALL_DATATYPE_CONTOUR_H 8 #define BALL_DATATYPE_CONTOUR_H 10 #ifndef BALL_DATATYPE_REGULARDATA2D_H 14 #ifndef BALL_DATATYPE_CONTOURLINE_H 37 TContour(
Size num_lines=0,
double start=0,
double end=0);
84 std::vector< TContourLine<T> >
lines_;
88 typename std::vector<TContourLine<T> >::const_iterator
it_;
102 template <
typename T>
107 template <
typename T>
112 template <
typename T>
121 template <
typename T>
127 lines_ = std::vector< TContourLine<T> >(0);
131 template <
typename T>
138 template <
typename T>
158 template <
typename T>
172 template <
typename T>
void apply(TRegularData2D< T > &data)
bool operator==(const TContour &contour) const
Equality operator.
TContour< float > Contour
virtual ~TContour()
Destructor.
void createContourLine(TRegularData2D< T > &from)
Creates a contour line from a given data set.
bool getNextContourLine(TContourLine< T > &contour)
Gives access to the next ContourLine. Returns false if we had already returned the last line...
std::vector< TContourLine< T > >::const_iterator it_
void resetCounter()
Reset the ContourLine-counter.
virtual void clear()
Clear method.
TContour & operator=(const TContour &rhs)
Assignment operator.
std::vector< TContourLine< T > > lines_
TContour(Size num_lines=0, double start=0, double end=0)
Default constructor.
#define BALL_CREATE(name)