Salome HOME
projects
/
modules
/
geom.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
EDF 2281 : small fixes
[modules/geom.git]
/
src
/
EntityGUI
/
EntityGUI_FeatureDetectorDlg.h
diff --git
a/src/EntityGUI/EntityGUI_FeatureDetectorDlg.h
b/src/EntityGUI/EntityGUI_FeatureDetectorDlg.h
index 5d6e457ae9dda5876d306033eb3d5f0e38db0ada..2595142b943edc57d2b626a2dc85aab2dc6c7a14 100644
(file)
--- a/
src/EntityGUI/EntityGUI_FeatureDetectorDlg.h
+++ b/
src/EntityGUI/EntityGUI_FeatureDetectorDlg.h
@@
-1,3
+1,8
@@
+// Copyright (C) 2007-2012 CEA/DEN, EDF R&D, OPEN CASCADE
+//
+// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
+// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
+//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
@@
-22,6
+27,7
@@
#include <GEOMBase_Skeleton.h>
#include <gp_Ax3.hxx>
#include <GEOMBase_Skeleton.h>
#include <gp_Ax3.hxx>
+#include <QBitmap>
class QLineEdit;
class QCheckBox;
class QLineEdit;
class QCheckBox;
@@
-31,8
+37,10
@@
class QLabel;
class QPoint;
class DlgRef_3Radio;
class DlgRef_1Sel;
class QPoint;
class DlgRef_3Radio;
class DlgRef_1Sel;
+class DlgRef_1Sel1Frame;
class gp_Pnt;
class gp_Pnt;
+class ShapeRec_FeatureDetector;
//=================================================================================
// class : EntityGUI_Dlg
//=================================================================================
// class : EntityGUI_Dlg
@@
-47,9
+55,8
@@
public:
~EntityGUI_FeatureDetectorDlg();
bool acceptMouseEvent() const;
~EntityGUI_FeatureDetectorDlg();
bool acceptMouseEvent() const;
-// void OnPointSelected( const gp_Pnt& );
- void setStartPnt ( const gp_Pnt& );
- void setEndPnt ( const gp_Pnt& );
+ void setStartPnt ( const gp_Pnt& );
+ void setEndPnt ( const gp_Pnt& );
int getConstructorId() {return myConstructorId;};
protected:
int getConstructorId() {return myConstructorId;};
protected:
@@
-59,41
+66,43
@@
protected:
private:
void Init();
private:
void Init();
+ bool setSelectionRect();
+ void showImageSample();
private slots:
private slots:
- void SetEditCurrentArgument();
void SelectionIntoArgument();
void ConstructorsClicked( int );
// void onViewClicked( int );
void SelectionIntoArgument();
void ConstructorsClicked( int );
// void onViewClicked( int );
- void onButton
Toggled( bool
);
+ void onButton
Clicked(
);
void ClickOnOk();
bool ClickOnApply();
private:
void ClickOnOk();
bool ClickOnApply();
private:
+ ShapeRec_FeatureDetector* aDetector;
+
+ gp_Ax3 myWPlane;
+ gp_Ax3 aGlobalCS;
+
GEOM::GeomObjPtr myFace;
QString myFaceEntry;
int myConstructorId;
GEOM::GeomObjPtr myFace;
QString myFaceEntry;
int myConstructorId;
- QGroupBox* mySelectionGroup;
-
- QLabel* mySnapshotLabel;
-
+ DlgRef_1Sel1Frame* mySelectionGroup;
DlgRef_1Sel* mySelWidget;
DlgRef_1Sel* mySelWidget;
+ // Output typeselection widget
+ DlgRef_3Radio* myOutputGroup;;
+
gp_Pnt myStartPnt;
gp_Pnt myEndPnt;
gp_Pnt myStartPnt;
gp_Pnt myEndPnt;
+ QRect myRect;
- gp_Ax3 myWPlane;
- gp_Ax3 aGlobalCS;
-
- QPushButton* myPushButton;
- QPushButton* mySelButton;
-
- QLineEdit* myLineEdit;
-
- DlgRef_3Radio* myOutputGroup;;
-
+ // Picture dimensions and position
+ int height;
+ int width;
+ double pictureLeft;
+ double pictureTop;
};
};