MCPcopy Create free account
hub / github.com/MITK/MITK / CreatePathFromPoints

Function CreatePathFromPoints

Modules/ImageStatistics/src/mitkIntensityProfile.cpp:217–225  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

215}
216
217static itk::PolyLineParametricPath<3>::Pointer CreatePathFromPoints(BaseGeometry* imageGeometry, const Point3D& startPoint, const Point3D& endPoint)
218{
219 itk::PolyLineParametricPath<3>::Pointer path = itk::PolyLineParametricPath<3>::New();
220
221 AddPointToPath(imageGeometry, startPoint, path);
222 AddPointToPath(imageGeometry, endPoint, path);
223
224 return path;
225}
226
227IntensityProfile::Pointer mitk::ComputeIntensityProfile(Image::Pointer image, PlanarFigure::Pointer planarFigure)
228{

Callers 1

Calls 2

AddPointToPathFunction · 0.85
NewFunction · 0.50

Tested by

no test coverage detected