#include <contourSurface.h>
Inheritance diagram for TContourSurface< T >:
Public Types | |
Type definitions | |
typedef std::pair< Position, Position > | KeyType |
typedef Vector3 | PointType |
The point type. | |
typedef std::vector< std::pair< PointType, std::pair< Position, Position > > > | VectorType |
The vector type. | |
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 () throw () |
Destructor. | |
Assignment | |
const TContourSurface & | operator= (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) throw () |
void | computeTriangles (Size topology, const TRegularData3D< T > &data) |
Protected Attributes | |
T | threshold_ |
The threshold separating inside and outside. | |
HashMap< std::pair< Position, Position >, Position > | cut_hash_map_ |
Contour surfaces are created from 3D (volume) data sets, in general from data sets store in RegularData3D using a marching cube algorithm.
|
The point type. This type is used to store points in the 3-d regularData. |
|
The vector type. This type is used to store the edge points of the contour-Surface. |