#include <AIS_Shape.hxx>
+#include <QPair>
+#include <QList>
+
+class HYDROData_IProfilesInterpolator;
+
class HYDROGUI_ProfileInterpolateOp : public HYDROGUI_Operation
{
Q_OBJECT
HYDROGUI_ProfileInterpolateOp( HYDROGUI_Module* theModule );
virtual ~HYDROGUI_ProfileInterpolateOp();
+protected:
+ typedef QList< QPair<QString, QString> > ParamsList;
+
protected:
virtual void startOperation();
virtual void abortOperation();
QStringList& theBrowseObjectsEntries );
QStringList interpolators() const;
+ HYDROData_IProfilesInterpolator* interpolator( const QString& ) const;
+ void updateInterpolator( HYDROData_IProfilesInterpolator* );
+ HYDROData_Profile::ProfilePoints profile( const QString& ) const;
+ ParamsList parameters( const QString& ) const;
+ QString parameters( const ParamsList& ) const;
+
+ TopoDS_Shape previewShape( HYDROData_IProfilesInterpolator* ) const;
private slots:
void updatePreview();