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

#include <BALL/DATATYPE/contourLine.h>

List of all members.


Public Types

Type definitions
typedef Vector2 PointType
typedef std::vector< PointTypeVectorType

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 &copyTContourLine)
 

Copy constructor.


virtual ~TContourLine ()
 

Destructor.


Assignment
const TContourLineoperator= (const TContourLine &assigTContourLine)
 

Assignment operator.


virtual void clear ()
 

Clear method.


Predicates
bool operator== (const TContourLine &compTContourLine) const
 

Equality operator.


Accessors
bool getNextPoint (PointType &p)
void resetCounter ()

Public Attributes

height_
VectorType data_
VectorType::iterator it_
Position index_

Detailed Description

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

This class is intended to store a single contour line generated from a RegularData2D - class.


Member Typedef Documentation

template<typename T>
typedef Vector2 BALL::TContourLine< T >::PointType

The point type. This type is used to store points in the 2-d regularData.

template<typename T>
typedef std::vector<PointType> BALL::TContourLine< T >::VectorType

The vector type. This type is used to store the endpoints of the contour-line.


Constructor & Destructor Documentation

template<typename T >
BALL::TContourLine< T >::TContourLine ( height = 0  )  [inline]

Default constructor.

template<typename T>
BALL::TContourLine< T >::TContourLine ( const TContourLine< T > &  copyTContourLine  ) 

Copy constructor.

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

Destructor.


Member Function Documentation

template<typename T >
void BALL::TContourLine< T >::clear (  )  [inline, virtual]
template<typename T >
void BALL::TContourLine< T >::createContourLine ( TRegularData2D< T > &  from  )  [inline]
template<typename T>
bool BALL::TContourLine< T >::getNextPoint ( PointType p  ) 

Return the next endpoint.

template<typename T>
void BALL::TContourLine< T >::interpol12 (  ) 

Internal functions used for the marching cube-algorithm.

template<typename T>
void BALL::TContourLine< T >::interpol18 (  ) 
template<typename T>
void BALL::TContourLine< T >::interpol24 (  ) 
template<typename T>
void BALL::TContourLine< T >::interpol48 (  ) 
template<typename T>
const TContourLine& BALL::TContourLine< T >::operator= ( const TContourLine< T > &  assigTContourLine  ) 

Assignment operator.

template<typename T>
bool BALL::TContourLine< T >::operator== ( const TContourLine< T > &  compTContourLine  )  const

Equality operator.

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

Member Data Documentation

template<typename T>
T BALL::TContourLine< T >::height_