BALL::TContourSurface< T >::TContourSurface::Cube Class Reference

A cube in the grid. More...

#include <contourSurface.h>

List of all members.


Public Member Functions

Cube (const TRegularData3D< T > &grid)
void setTo (Position p)
Vector3 getOrigin () const
const Vector3 & getSpacing () const
Vector3 getCoordinates (Position index) const
Position getIndex (Position corner) const
Return the absolute grid position for a given corner.
void shift ()
Position computeTopology (double threshold)
Compute the topology code for the current cube.

Public Attributes

double values [8]

Protected Attributes

const TRegularData3D< T > * grid_
Position current_position_
Position grid_offset_ [8]
const T * ptr_
Vector3 spacing_

Detailed Description

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

A cube in the grid.

This class is used to extract information from the grid, store the values of the eight corners of a cube, and determine the topology and the triangles in the cube.


Generated on Thu Aug 6 18:30:27 2009 for BALL by doxygen 1.5.8