Determine average of the widths measured in multiple directions. More...
#include <ImplicitSurfaceUtils.h>
Public Member Functions | |
void | Evaluate (const double p[3], const PointSamples &dirs, double mind, double minh, double maxw, const DistanceFunction &distance, double offset=.0, double tol=1e-3) |
Public Member Functions inherited from mirtk::ImplicitSurfaceUtils::DistanceMeasurement | |
virtual void | Evaluate (const double p[3], const PointSamples &dirs, double minh, double maxd, const DistanceFunction &distance, double offset=.0, double tol=1e-3) |
double | Get (int i=0) const |
Get i-th distance measurement. | |
int | NumberOfValues () const |
Get number of distance measurements. | |
void | Set (double v) |
Set distance value(s) | |
void | Set (int i, double v) |
Set distance value(s) | |
Additional Inherited Members | |
Protected Member Functions inherited from mirtk::ImplicitSurfaceUtils::DistanceMeasurement | |
DistanceMeasurement (int nvalues=1) | |
Construct distance measurement for given number of values. | |
virtual | ~DistanceMeasurement () |
Destructor. | |
Determine average of the widths measured in multiple directions.
Definition at line 616 of file ImplicitSurfaceUtils.h.
|
inlinevirtual |
Determine distance value(s) in given directions
[in] | p | Center point at which to evaluate width of gap. |
[in] | dirs | Point samples on unit sphere centered at the origin. |
[in] | mind | Minimum implicit surface distance at point p . |
[in] | minh | Minimum step length for bracketing of intersections. |
[in] | maxd | Maximum distance considered for ray casting. |
[in] | distance | Implicit surface distance function. |
[in] | offset | Isovalue of implicit surface. |
[in] | tol | Tolerance by which distance value may differ from offset . |
Implements mirtk::ImplicitSurfaceUtils::DistanceMeasurement.
Definition at line 619 of file ImplicitSurfaceUtils.h.