Public Member Functions | List of all members
mirtk::ImplicitSurfaceUtils::MinWidth Struct Reference

Determine minimum of the widths measured in multiple directions. More...

#include <ImplicitSurfaceUtils.h>

Inheritance diagram for mirtk::ImplicitSurfaceUtils::MinWidth:
Inheritance graph
Collaboration diagram for mirtk::ImplicitSurfaceUtils::MinWidth:
Collaboration graph

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.
 

Detailed Description

Determine minimum of the widths measured in multiple directions.

Definition at line 522 of file ImplicitSurfaceUtils.h.

Member Function Documentation

§ Evaluate()

void mirtk::ImplicitSurfaceUtils::MinWidth::Evaluate ( const double  p[3],
const PointSamples dirs,
double  mind,
double  minh,
double  maxd,
const DistanceFunction distance,
double  offset = .0,
double  tol = 1e-3 
)
inlinevirtual

Determine distance value(s) in given directions

Parameters
[in]pCenter point at which to evaluate width of gap.
[in]dirsPoint samples on unit sphere centered at the origin.
[in]mindMinimum implicit surface distance at point p.
[in]minhMinimum step length for bracketing of intersections.
[in]maxdMaximum distance considered for ray casting.
[in]distanceImplicit surface distance function.
[in]offsetIsovalue of implicit surface.
[in]tolTolerance by which distance value may differ from offset.

Implements mirtk::ImplicitSurfaceUtils::DistanceMeasurement.

Definition at line 525 of file ImplicitSurfaceUtils.h.


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