Hello everyone,
I am using the vtkImplicitPlaneWidget2.
But, I need to remove the arrow handle. How do I remove the arrow handle?
I could not find any single method in the vtkImplicitPlaneWidget2 and vtkImplicitPlaneRepresentation either.
You may create a widget representation the looks exactly like you want it or modify the existing widget representation (for example, options to show/hide certain parts).
One way, You set opacities of an arrow handle to 0.0.
auto widget = vtkSmartPointer<vtkImplicitPlaneWidget2>::New();
auto representation = vtkSmartPointer<vtkImplicitPlaneRepresentation>::New();
auto normal_property = representation->GetNormalProperty();
normal_property->SetOpacity(0.0);
auto selected_normal_property = representation->GetSelectedNormalProperty();
selected_normal_property->SetOpacity(0.0);
widget->SetRepresentation(representation);