public:
/// Constructor
/// \param theParent a parent object
- ModuleBase_IViewer(QObject* theParent)
- : QObject(theParent)
- {
- }
+ ModuleBase_IViewer(QObject* theParent);
//! Returns AIS_InteractiveContext from current OCCViewer
virtual Handle(AIS_InteractiveContext) AISContext() const = 0;
/// \param theX the X projection value
/// \param theY the Y projection value
/// \param theZ the Z projection value
- virtual void setViewProjection(double theX, double theY, double theZ) = 0;
+ /// \param theTwist the twist angle in radians
+ virtual void setViewProjection( double theX, double theY, double theZ,
+ double theTwist ) = 0;
/// Add selection filter to the viewer
/// \param theFilter a selection filter
/// \param theFilter a selection filter
virtual void removeSelectionFilter(const Handle(SelectMgr_Filter)& theFilter) = 0;
+ /// Returns true if the selection filter is set to the viewer
+ /// \param theFilter a selection filter
+ virtual bool hasSelectionFilter(const Handle(SelectMgr_Filter)& theFilter) = 0;
+
/// Remove all selection filters from the viewer
virtual void clearSelectionFilters() = 0;