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

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

This is the base class for all grids representing implicit objects, i.e. More...

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

Inheritance diagram for IsoEx::ImplicitGrid:

List of all members.

## Public Member Functions
| ImplicitGrid (const Implicit &_implicit, const OpenMesh::Vec3f &_origin, const OpenMesh::Vec3f &_x_axis, const OpenMesh::Vec3f &_y_axis, const OpenMesh::Vec3f &_z_axis, unsigned int _x_res, unsigned int _y_res, unsigned int _z_res)
| Default constructor.
virtual | ~ImplicitGrid ()
| Destructor.
This function calls will be passed to the implicit object.
virtual bool | is_inside (PointIdx _pidx) const
| See IsoEx::Implicit::is_inside().
virtual float | scalar_distance (PointIdx _pidx) const
| 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
| See IsoEx::Implicit::directed_distance().
Enable caching of inside/outside/distance computations
void | build_is_inside_cache () const
| Cache results of is_inside().
void | build_scalar_distance_cache () const
| Cache results of scalar_distance().

## Detailed Description

This is the base class for all grids representing implicit objects, i.e.

they store a reference to an implicit. All inside/outside tests and distance queries will be passed on to the implicit.

In addition, this grid also provides caching of inside/outside tests and scalar distance queries.

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

- ImplicitGrid.hh