- ClearIndex();
-
-private:
- typedef NCollection_DataMap<Handle(SALOME_InteractiveObject),
- vtkSmartPointer<SALOME_Actor> > TIO2Actors;
- TIO2Actors myIO2Actors;
- Selection_Mode mySelectionMode;
- SALOME_ListIO myIObjects;
- SALOME_DataMapOfIOMapOfInteger myMapIOSubIndex;
+ SetFilter(const Handle(VTKViewer_Filter)& theFilter) = 0;
+
+ //! To get a section filter by its number
+ virtual
+ Handle(VTKViewer_Filter)
+ GetFilter(const TFilterID theId) const = 0;
+
+ //! Check, if a filter with given number is applyed
+ virtual
+ bool
+ IsFilterPresent(const TFilterID theId) const = 0;
+
+ //! To remove a filter from the selection
+ virtual
+ void
+ RemoveFilter(const TFilterID theId) = 0;
+
+ //! Check, if the index satisfy to the installed filters
+ virtual
+ bool
+ IsValid(SALOME_Actor* theActor,
+ const int theId,
+ const bool theIsNode = false) const = 0;
+
+ //----------------------------------------------------------------------------
+ virtual
+ void
+ StartPickCallback() = 0;
+
+ //! To invoke selectionChanged signals
+ virtual
+ void
+ EndPickCallback() = 0;
+
+ //----------------------------------------------------------------------------
+ virtual
+ vtkActorCollection*
+ Pick(const SVTK_SelectionEvent* theEvent, vtkRenderer* theRenderer) const = 0;
+
+ virtual
+ void
+ SetTolerance(const double& theTolerance) = 0;
+
+ virtual
+ void
+ SetDynamicPreSelection( bool theIsDynPreselect ) = 0;
+
+ virtual
+ bool
+ GetDynamicPreSelection() const = 0;
+
+ virtual
+ void
+ SetPreSelectionEnabled( bool theEnabled ) = 0;
+
+ virtual
+ bool
+ IsPreSelectionEnabled() const = 0;
+
+ virtual
+ void
+ SetSelectionEnabled( bool theEnabled ) = 0;
+
+ virtual
+ bool
+ IsSelectionEnabled() const = 0;