tubeFilter_->Update();
vtkNew<vtkTransform> vtkTransform_c;
vtkTransform_c->SetMatrix(cylinderActor_->GetMatrix());
transFilter_->SetInputConnection(tubeFilter_->GetOutputPort());
transFilter_->SetTransform(vtkTransform_c);
cutter_->SetInputConnection(transFilter_->GetOutputPort());
cutPlane_->SetOrigin(planeActor_->GetOrigin());
cutPlane_->SetNormal(1,0,0);
vtkNew<vtkTransform> vtkTransform;
vtkTransform->SetMatrix(planeActor_->GetMatrix());
cutPlane_->SetTransform(vtkTransform);
cutter_->SetCutFunction(cutPlane_);
cutter_->Update();
the cut line is not sync with my vtkplanesource, the cutline is somewhere else, i am using styletrackballactor to manipulate the cylinder and the planesource , please help me