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

#include <BALL/DATATYPE/contourSurface.h>

Inheritance diagram for BALL::TContourSurface< T >:
Inheritance graph
[legend]

List of all members.

Classes

class  Cube

Public Types

Type definitions

typedef std::pair< Position,
Position
KeyType
typedef Vector3 PointType
typedef std::vector< std::pair
< PointType, std::pair
< Position, Position > > > 
VectorType

Public Member Functions

Constructors and Destructors.

 TContourSurface ()
 Default constructor.
 TContourSurface (T threshold)
 Constructor with threshold.
 TContourSurface (const TContourSurface &surface)
 Copy constructor.
 TContourSurface (const TRegularData3D< T > &data, T threshold=0.0)
 Constructor for TRegularData3D.
virtual ~TContourSurface ()
 Destructor.
Assignment

const TContourSurfaceoperator= (const TContourSurface< T > &surface)
 Assignment operator.
const TContourSurface< T > & operator<< (const TRegularData3D< T > &data)
 Create a contour surface from a given data set.
virtual void clear ()
 Clear method.
Predicates

bool operator== (const TContourSurface< T > &surface) const
 Equality operator.

Protected Member Functions

void addTriangles_ (Cube &cube, const FacetArray &facet_data)
void computeTriangles (Size topology, const TRegularData3D< T > &data)

Protected Attributes

threshold_
 The threshold separating inside and outside.
HashMap< std::pair< Position,
Position >, Position
cut_hash_map_

Detailed Description

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

This class contains a contour surface. Contour surfaces are created from 3D (volume) data sets, in general from data sets store in RegularData3D using a marching cube algorithm.

Definition at line 57 of file contourSurface.h.


Member Typedef Documentation

template<typename T>
typedef std::pair<Position, Position> BALL::TContourSurface< T >::KeyType

Definition at line 68 of file contourSurface.h.

template<typename T>
typedef Vector3 BALL::TContourSurface< T >::PointType

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

Definition at line 73 of file contourSurface.h.

template<typename T>
typedef std::vector<std::pair<PointType, std::pair<Position, Position> > > BALL::TContourSurface< T >::VectorType

The vector type. This type is used to store the edge points of the contour-Surface.

Definition at line 78 of file contourSurface.h.


Constructor & Destructor Documentation

template<typename T >
BALL::TContourSurface< T >::TContourSurface (  )  [inline]

Default constructor.

Definition at line 266 of file contourSurface.h.

template<typename T >
BALL::TContourSurface< T >::TContourSurface ( threshold  )  [inline]

Constructor with threshold.

Definition at line 272 of file contourSurface.h.

template<typename T >
BALL::TContourSurface< T >::TContourSurface ( const TContourSurface< T > &  surface  )  [inline]

Copy constructor.

Definition at line 290 of file contourSurface.h.

template<typename T >
BALL::TContourSurface< T >::TContourSurface ( const TRegularData3D< T > &  data,
threshold = 0.0 
) [inline]

Constructor for TRegularData3D.

Definition at line 278 of file contourSurface.h.

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

Destructor.

Definition at line 285 of file contourSurface.h.


Member Function Documentation

template<typename T>
void BALL::TContourSurface< T >::addTriangles_ ( Cube cube,
const FacetArray facet_data 
) [protected]
template<typename T >
void BALL::TContourSurface< T >::clear (  )  [inline, virtual]

Clear method.

Reimplemented from BALL::TSurface< T >.

Definition at line 296 of file contourSurface.h.

template<typename T>
void BALL::TContourSurface< T >::computeTriangles ( Size  topology,
const TRegularData3D< T > &  data 
) [protected]
template<typename T >
const TContourSurface< T > & BALL::TContourSurface< T >::operator<< ( const TRegularData3D< T > &  data  )  [inline]

Create a contour surface from a given data set.

Definition at line 322 of file contourSurface.h.

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

Assignment operator.

Definition at line 303 of file contourSurface.h.

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

Equality operator.

Definition at line 315 of file contourSurface.h.


Member Data Documentation

template<typename T>
HashMap<std::pair<Position, Position>, Position> BALL::TContourSurface< T >::cut_hash_map_ [protected]

Definition at line 259 of file contourSurface.h.

template<typename T>
T BALL::TContourSurface< T >::threshold_ [protected]

The threshold separating inside and outside.

Definition at line 256 of file contourSurface.h.

Generated by  doxygen 1.6.3