#include "HYDROGUI_Operation.h"
#include <HYDROData_Stream.h>
+#include <QStringList>
-class OCCViewer_ViewManager;
class HYDROGUI_Shape;
class HYDROGUI_StreamOp : public HYDROGUI_Operation
virtual HYDROGUI_InputPanel* createInputPanel() const;
- virtual bool processApply( int& theUpdateFlags, QString& theErrorMsg );
+ virtual bool processApply( int& theUpdateFlags, QString& theErrorMsg,
+ QStringList& theBrowseObjectsEntries );
-private slots:
- void onCreatePreview();
+ virtual bool isToAbortOnApply() const { return false; }
+private slots:
void onAddProfiles();
void onRemoveProfiles( const QStringList& );
void onAxisChanged( const QString& );
private:
+ void createPreview();
void erasePreview();
- void updatePanel();
+ void updatePanelData();
private:
- OCCViewer_ViewManager* myViewManager;
-
bool myIsEdit;
Handle(HYDROData_Stream) myEditedObject;
HYDROGUI_Shape* myPreviewPrs;
+
+ QString myHydAxis;
+ QStringList myProfiles;
+ QList<double> myProfileParams;
};
#endif