Main Page | Modules | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members

# IsoEx::Grid Class Reference
[3D Grids]

This is the abstract base class for all grid objects. More...

`#include <IsoEx/Grids/Grid.hh>`

Inheritance diagram for IsoEx::Grid:

List of all members.

## Public Types
typedef unsigned int | CubeIdx
| CubeIdx can be used to refer to cubes.
typedef unsigned int | PointIdx
| The grid points can be refered to by PointIdx.
## Public Member Functions
| Grid ()
| Default constructor.
virtual | ~Grid ()
| Destructor.
Iterate over all cubes
CubeIterator | begin () const
| Returns begin iterator for the grid's cubes.
CubeIterator | end () const
| Returns end iterator for the grid's cubes.
Abstract interface of grids
virtual unsigned int | n_cubes () const=0
| Number of cubes in the grid.
virtual unsigned int | n_points () const=0
| Number of cubes in the grid.
virtual PointIdx | point_idx (CubeIdx _idx, unsigned char _corner) const=0
| Return the PointIdx of the _corners'th corner of the cube _idx.
virtual OpenMesh::Vec3f | point (PointIdx _idx) const=0
| Return the 3D point refered to by _idx.
virtual bool | is_inside (PointIdx _pidx) const=0
| See IsoEx::Implicit::is_inside().
virtual float | scalar_distance (PointIdx _pidx) const=0
| See IsoEx::Implicit::scalar_distance().
virtual bool | directed_distance (const OpenMesh::Vec3f &_p0, const OpenMesh::Vec3f &_p1, OpenMesh::Vec3f &_point, OpenMesh::Vec3f &_normal, float &_distance) const=0
| See IsoEx::Implicit::directed_distance().

## Detailed Description

This is the abstract base class for all grid objects.

The documentation for this class was generated from the following file:

- Grid.hh