An update will be applied December 9th, between 12PM and 1:00PM EST (UTC -5:00). The site may be slow during that time.

Commit 10e139ec authored by David E. DeMarle's avatar David E. DeMarle Committed by Kitware Robot
Browse files

Merge topic 'fixes-for-clientserver-widgets-in-raytracers'

b8c7929c

 let ray tracers respect server side widget visibility
Acked-by: Kitware Robot's avatarKitware Robot <kwrobot@kitware.com>
Merge-request: !6554
parents 2e5da8de b8c7929c
Pipeline #163435 failed with stage
in 0 seconds
...@@ -1797,3 +1797,18 @@ void vtkImplicitPlaneRepresentation::RegisterPickers() ...@@ -1797,3 +1797,18 @@ void vtkImplicitPlaneRepresentation::RegisterPickers()
} }
pm->AddPicker(this->Picker, this); pm->AddPicker(this->Picker, this);
} }
//----------------------------------------------------------------------
void vtkImplicitPlaneRepresentation::SetVisibility(vtkTypeBool nv)
{
this->Superclass::SetVisibility(nv);
this->OutlineActor->SetVisibility(nv);
this->CutActor->SetVisibility(nv);
this->EdgesActor->SetVisibility(nv);
this->ConeActor->SetVisibility(nv);
this->LineActor->SetVisibility(nv);
this->ConeActor2->SetVisibility(nv);
this->LineActor2->SetVisibility(nv);
this->SphereActor->SetVisibility(nv);
}
...@@ -436,6 +436,11 @@ public: ...@@ -436,6 +436,11 @@ public:
} }
//@} //@}
/**
* Overridden to pass on to internal actors for ray tracers to see.
*/
virtual void SetVisibility(vtkTypeBool) override;
protected: protected:
vtkImplicitPlaneRepresentation(); vtkImplicitPlaneRepresentation();
~vtkImplicitPlaneRepresentation() override; ~vtkImplicitPlaneRepresentation() override;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment