| 204 | } |
| 205 | |
| 206 | static void AddPointToPath(const BaseGeometry* imageGeometry, const Point3D& point, itk::PolyLineParametricPath<3>::Pointer path) |
| 207 | { |
| 208 | Point3D continuousIndexPoint; |
| 209 | imageGeometry->WorldToIndex(point, continuousIndexPoint); |
| 210 | |
| 211 | itk::PolyLineParametricPath<3>::ContinuousIndexType vertex; |
| 212 | vertex.CastFrom(continuousIndexPoint); |
| 213 | |
| 214 | path->AddVertex(vertex); |
| 215 | } |
| 216 | |
| 217 | static itk::PolyLineParametricPath<3>::Pointer CreatePathFromPoints(BaseGeometry* imageGeometry, const Point3D& startPoint, const Point3D& endPoint) |
| 218 | { |
no test coverage detected