- Contour::Pointer projectedContour = FeedbackContourTool::ProjectContourTo2DSlice( slice, feedbackContour, true, false ); // true: actually no idea why this is neccessary, but it works :-(
- // false: don't constrain the contour to the image's inside
- /*
- Contour::Pointer back = FeedbackContourTool::BackProjectContourFrom2DSlice( slice, projectedContour, true ); // true: actually no idea why this is neccessary, but it works :-(
- for (unsigned int idx = 0; idx < back->GetNumberOfPoints(); ++idx)
- {
- Point3D before = feedbackContour->GetPoints()->ElementAt(idx);