#include "SalomeApp_VTKSelector.h"
#include "SalomeApp_DataOwner.h"
-#include "SVTK_ViewModel.h"
+#include "SVTK_ViewModelBase.h"
#include "SVTK_Selector.h"
#include "SVTK_ViewWindow.h"
#include "SVTK_Functor.h"
Constructor.
*/
SalomeApp_VTKSelector
-::SalomeApp_VTKSelector( SVTK_Viewer* viewer,
+::SalomeApp_VTKSelector( SVTK_ViewModelBase* viewer,
SUIT_SelectionMgr* mgr ):
SUIT_Selector( mgr, viewer ),
myViewer( viewer )
/*!
Gets viewer.
*/
-SVTK_Viewer*
+SVTK_ViewModelBase*
SalomeApp_VTKSelector
::viewer() const
{
SalomeApp_VTKSelector
::type() const
{
- return SVTK_Viewer::Type();
+ return myViewer->getType();
}
/*!
#include "SALOME_InteractiveObject.hxx"
class SALOME_Actor;
-class SVTK_Viewer;
+class SVTK_ViewModelBase;
/*!
Provide salome vtk data owner list.
Q_OBJECT;
public:
- SalomeApp_VTKSelector( SVTK_Viewer*, SUIT_SelectionMgr* );
+ SalomeApp_VTKSelector( SVTK_ViewModelBase*, SUIT_SelectionMgr* );
virtual ~SalomeApp_VTKSelector();
- SVTK_Viewer* viewer() const;
+ SVTK_ViewModelBase* viewer() const;
virtual QString type() const;
virtual void setSelection( const SUIT_DataOwnerPtrList& );
private:
- SVTK_Viewer* myViewer;
+ SVTK_ViewModelBase* myViewer;
};
#endif