#include "XGUI.h"
#include <ModuleBase_IViewer.h>
#include <ModelAPI_Feature.h>
+#include <ModelAPI_Result.h>
#include <AIS_Trihedron.hxx>
#include <AIS_ListOfInteractive.hxx>
/// by mouse drugging. If this is impossible thet it has to return False.
virtual bool canDragByMouse() const;
+ virtual void updateHighlight();
+
// Fit all along Z (perpendicular to display)
//virtual void Zfitall();
void onKeyRelease(AppElements_ViewWindow*, QKeyEvent*);
void onViewTransformed(AppElements_ViewWindow::OperationType);
+#else
+ void onMouseMove(ModuleBase_IViewWindow*, QMouseEvent*);
#endif
private:
void eraseHighlight();
XGUI_Workshop* myWorkshop;
- FeaturePtr myFeature;
+ ResultPtr myResult;
AIS_ListOfInteractive myHighlights;
};