#include <IsoEx/Grids/ImplicitGrid.hh>
Inheritance diagram for IsoEx::ImplicitGrid:
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(). |
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.