#include <contourLine.h>
Public Types | |
Type definitions | |
typedef Vector2 | PointType |
The point type. | |
typedef std::vector< PointType > | VectorType |
The vector type. | |
Public Member Functions | |
void | createContourLine (TRegularData2D< T > &from) |
Creates a contour line from a given data set. | |
void | interpol12 () |
Internal functions used for the marching cube-algorithm. | |
void | interpol18 () |
void | interpol24 () |
void | interpol48 () |
Constructors and Destructors. | |
TContourLine (T height=0) | |
Default constructor. | |
TContourLine (const TContourLine ©TContourLine) | |
Copy constructor. | |
virtual | ~TContourLine () |
Destructor. | |
Assignment | |
const TContourLine & | operator= (const TContourLine &assigTContourLine) |
Assignment operator. | |
virtual void | clear () |
Clear method. | |
Predicates | |
bool | operator== (const TContourLine &compTContourLine) const |
Equality operator. | |
Accessors | |
bool | getNextPoint (PointType &p) |
Return the next endpoint. | |
void | resetCounter () |
Reset the counter. | |
Public Attributes | |
T | height_ |
VectorType | data_ |
VectorType::iterator | it_ |
Position | index_ |
|
The point type. This type is used to store points in the 2-d regularData. |
|
The vector type. This type is used to store the endpoints of the contour-line. |