]> Creatis software - bbtkGEditor.git/blobdiff - lib/EditorGraphicBBS/bbsVtkGUIEditorGraphic/vtkGBlackBoxView.cxx
Implemented deleting of boxes from the scene....
[bbtkGEditor.git] / lib / EditorGraphicBBS / bbsVtkGUIEditorGraphic / vtkGBlackBoxView.cxx
index 34e4f90f1b591ca1b962fdc64dda45fad81a47a0..a4f6965e6cb9485084bac36b4361c6fb548767a7 100644 (file)
@@ -174,6 +174,15 @@ namespace bbtk
 
        //=========================================================================
 
+       void vtkGBlackBoxView::removeVtkActors()//virtual
+       {
+               _baseView->GetRenderer()->RemoveActor(_nameActor);
+               _baseView->GetRenderer()->RemoveActor(_typeActor);
+               vtkGObjectView::removeVtkActors();
+       }
+
+       //=========================================================================
+
        void vtkGBlackBoxView::updatePositionTextActors(double xInic, double yInic, double zInic)
        {
                _nameActor->SetPosition(xInic+4,yInic-5,zInic);