+
+void wxVtkClipping3DViewVolCntrlPanel::OnRayCastingActive(wxCommandEvent& event){
+ //If Ray Casting is active, others options are disabled. Only RayCasting is true
+ _wxvtkclipping3Dview->SetRayCasting(true);
+ _wxvtkclipping3Dview->SetMIPActive(false);
+
+ wxCommandEvent newevent1(wxEVT_COMMAND_MENU_SELECTED,12121); // Refresh
+
+ _wxvtkclipping3Dview->GetWxvtk3Dbaseview()->GetWxVTKRenderWindowInteractor()->GetParent()->ProcessEvent(newevent1);
+ _wxvtkclipping3Dview->Refresh();
+}
+
+void wxVtkClipping3DViewVolCntrlPanel::OnMIPActive(wxCommandEvent& event){
+ //If MIP is active, others options are disabled. Only MIP is true
+ _wxvtkclipping3Dview->SetMIPActive(true);
+ _wxvtkclipping3Dview->SetRayCasting(false);
+
+ wxCommandEvent newevent1(wxEVT_COMMAND_MENU_SELECTED,12121); // Refresh
+ _wxvtkclipping3Dview->GetWxvtk3Dbaseview()->GetWxVTKRenderWindowInteractor()->GetParent()->ProcessEvent(newevent1);
+
+ _wxvtkclipping3Dview->Refresh();
+}
+
+
+
+void wxVtkClipping3DViewVolCntrlPanel::OnInterpolationActive(wxCommandEvent& event){
+ _wxvtkclipping3Dview->SetInterpolation(event.IsChecked());
+
+ wxCommandEvent newevent1(wxEVT_COMMAND_MENU_SELECTED,12121); // Refresh
+ _wxvtkclipping3Dview->GetWxvtk3Dbaseview()->GetWxVTKRenderWindowInteractor()->GetParent()->ProcessEvent(newevent1);
+ _wxvtkclipping3Dview->Refresh();
+}
+
+void wxVtkClipping3DViewVolCntrlPanel::OnShadeActive(wxCommandEvent& event){
+ _wxvtkclipping3Dview->SetShade(event.IsChecked());
+
+ wxCommandEvent newevent1(wxEVT_COMMAND_MENU_SELECTED,12121); // Refresh
+ _wxvtkclipping3Dview->GetWxvtk3Dbaseview()->GetWxVTKRenderWindowInteractor()->GetParent()->ProcessEvent(newevent1);
+ _wxvtkclipping3Dview->Refresh();
+}
+