<p>Hello everyone,</p><p><br></p><p> I'm wondring if I can get the four points the vtkCutter intersected with the bounding box in vtkImplicitPlaneWidget.cxx.</p><p><br></p><p> Here is the source codes:</p><p><br></p><p> this->Plane = vtkPlane::New();</p><p> this->Plane->SetNormal(0,0,1);</p><p> this->Plane->SetOrigin(0,0,0);</p><p><br></p><p> this->Box = vtkImageData::New();</p><p> this->Box->SetDimensions(2,2,2);</p><p> this->Outline = vtkOutlineFilter::New();</p><p> this->Outline->SetInputData(this->Box);</p><p> this->OutlineMapper = vtkPolyDataMapper::New();</p><p> this->OutlineMapper->SetInputConnection(</p><p> this->Outline->GetOutputPort());</p><p> this->OutlineActor = vtkActor::New();</p><p> this->OutlineActor->SetMapper(this->OutlineMapper);</p><p> this->OutlineTranslation = 1;</p><p> this->ScaleEnabled = 1;</p><p> this->OutsideBounds = 1;</p><p><br></p><p> this->Cutter = vtkCutter::New();</p><p> this->Cutter->SetInputData(this->Box);</p><p> this->Cutter->SetCutFunction(this->Plane);</p><p> this->CutMapper = vtkPolyDataMapper::New();</p><p> this->CutMapper->SetInputConnection(</p><p> this->Cutter->GetOutputPort());</p><p> this->CutActor = vtkActor::New();</p><p> this->CutActor->SetMapper(this->CutMapper);</p><p> this->DrawPlane = 1;</p><p><br></p><p> this->Edges = vtkFeatureEdges::New();</p><p> this->Edges->SetInputConnection(</p><p> this->Cutter->GetOutputPort());</p><p> this->EdgesTuber = vtkTubeFilter::New();</p><p> this->EdgesTuber->SetInputConnection(</p><p> this->Edges->GetOutputPort());</p><p> this->EdgesTuber->SetNumberOfSides(12);</p><p> this->EdgesMapper = vtkPolyDataMapper::New();</p><p> this->EdgesMapper->SetInputConnection(</p><p> this->EdgesTuber->GetOutputPort());</p><p> this->EdgesActor = vtkActor::New();</p><p> this->EdgesActor->SetMapper(this->EdgesMapper);</p><p><br></p><p>Thanks alot.</p><p> </p><p><br></p>