} // fi
}
+// -------------------------------------------------------------------------
+bool cpPlugins::BaseWidget::
+IsInteractive( )
+{
+ return( true );
+}
+
+// -------------------------------------------------------------------------
+void cpPlugins::BaseWidget::
+SetInteractionObjects( const std::vector< void* >& objs )
+{
+ if( objs.size( ) > 0 )
+ {
+ vtkRenderWindowInteractor* rwi =
+ reinterpret_cast< vtkRenderWindowInteractor* >( objs[ 0 ] );
+ this->SetSingleInteractor( rwi );
+ }
+ if( objs.size( ) > 1 )
+ {
+ TMPRWidget* wdg = reinterpret_cast< TMPRWidget* >( objs[ 1 ] );
+ this->SetMPRViewer( wdg );
+
+ } // fi
+}
+
// -------------------------------------------------------------------------
cpPlugins::BaseWidget::
BaseWidget( )