first executable version

This commit is contained in:
abd 2008-04-09 08:28:48 +00:00
parent 3e266f6b54
commit e0d9c97d8a
7 changed files with 83 additions and 84 deletions

View File

@ -63,7 +63,7 @@ private :
DlgRef_1Sel_QTD* GroupPoints; DlgRef_1Sel_QTD* GroupPoints;
GEOM::ListOfGO_var myPoints; GEOM::ListOfGO_var myPoints;
list<GEOM::GEOM_Object_var> myOrderedSel;//!< This list used for managing orderes selection std::list<GEOM::GEOM_Object_var> myOrderedSel;//!< This list used for managing orderes selection
private slots: private slots:
void ClickOnOk(); void ClickOnOk();

View File

@ -10,6 +10,8 @@
#ifndef DLGREF_1SEL5SPIN1CHECK_QTD_H #ifndef DLGREF_1SEL5SPIN1CHECK_QTD_H
#define DLGREF_1SEL5SPIN1CHECK_QTD_H #define DLGREF_1SEL5SPIN1CHECK_QTD_H
#include "GEOM_DlgRef.hxx"
#include <qvariant.h> #include <qvariant.h>
#include <qwidget.h> #include <qwidget.h>
@ -24,7 +26,7 @@ class QSpinBox;
class QCheckBox; class QCheckBox;
class QLineEdit; class QLineEdit;
class DlgRef_1Sel5Spin1Check_QTD : public QWidget class GEOM_DLGREF_EXPORT DlgRef_1Sel5Spin1Check_QTD : public QWidget
{ {
Q_OBJECT Q_OBJECT

View File

@ -4,7 +4,7 @@
// $Header: // $Header:
#include "DlgRef_2Sel3Spin2Rb.h" #include "DlgRef_2Sel3Spin2Rb.h"
#include <iostream.h> #include <iostream>
#include <qlayout.h> #include <qlayout.h>
#include <qspinbox.h> #include <qspinbox.h>

View File

@ -6,19 +6,12 @@
#ifndef DLGREF_2SEL3SPIN2RB_H #ifndef DLGREF_2SEL3SPIN2RB_H
#define DLGREF_2SEL3SPIN2RB_H #define DLGREF_2SEL3SPIN2RB_H
#include "GEOM_DlgRef.hxx"
#include "DlgRef_2Sel3Spin2Rb_QTD.h" #include "DlgRef_2Sel3Spin2Rb_QTD.h"
#include "DlgRef_SpinBox.h" #include "DlgRef_SpinBox.h"
//#if defined WNT
//#include <SALOME_WNT.hxx> class GEOM_DLGREF_EXPORT DlgRef_2Sel3Spin2Rb : public DlgRef_2Sel3Spin2Rb_QTD
//#else
//#define SALOME_WNT_EXPORT
//#endif
#if defined WNT && defined WIN32 && defined SALOME_WNT_EXPORTS
#define DLGREF_WNT_EXPORT __declspec( dllexport )
#else
#define DLGREF_WNT_EXPORT
#endif
class DLGREF_WNT_EXPORT DlgRef_2Sel3Spin2Rb : public DlgRef_2Sel3Spin2Rb_QTD
{ {
Q_OBJECT Q_OBJECT

View File

@ -10,6 +10,8 @@
#ifndef DLGREF_2SEL3SPIN2RB_QTD_H #ifndef DLGREF_2SEL3SPIN2RB_QTD_H
#define DLGREF_2SEL3SPIN2RB_QTD_H #define DLGREF_2SEL3SPIN2RB_QTD_H
#include "GEOM_DlgRef.hxx"
#include <qvariant.h> #include <qvariant.h>
#include <qwidget.h> #include <qwidget.h>
@ -24,7 +26,7 @@ class QLabel;
class QRadioButton; class QRadioButton;
class QSpinBox; class QSpinBox;
class DlgRef_2Sel3Spin2Rb_QTD : public QWidget class GEOM_DLGREF_EXPORT DlgRef_2Sel3Spin2Rb_QTD : public QWidget
{ {
Q_OBJECT Q_OBJECT

View File

@ -58,8 +58,11 @@
#include <Standard_Failure.hxx> #include <Standard_Failure.hxx>
#include <Standard_ErrorHandler.hxx> // CAREFUL ! position of this file is critic : see Lucien PIGNOLONI / OCC #include <Standard_ErrorHandler.hxx> // CAREFUL ! position of this file is critic : see Lucien PIGNOLONI / OCC
using namespace std;
static GEOM_Engine* TheEngine = NULL; static GEOM_Engine* TheEngine = NULL;
static TCollection_AsciiString BuildIDFromObject(Handle(GEOM_Object)& theObject) static TCollection_AsciiString BuildIDFromObject(Handle(GEOM_Object)& theObject)
{ {
TCollection_AsciiString anID(theObject->GetDocID()), anEntry; TCollection_AsciiString anID(theObject->GetDocID()), anEntry;

View File

@ -32,7 +32,6 @@
#include <vector> #include <vector>
class GEOMAlgo_FinderShapeOnQuad: public GEOMAlgo_FinderShapeOn1 class GEOMAlgo_FinderShapeOnQuad: public GEOMAlgo_FinderShapeOn1
{ {
public: public:
@ -52,9 +51,9 @@ protected:
private: private:
bool myConcaveQuad; bool myConcaveQuad;
vector<bool> myConcaveSide; std::vector<bool> myConcaveSide;
vector<gp_Pnt> myPoints; std::vector<gp_Pnt> myPoints;
vector<GeomAdaptor_Surface> myPlanes; std::vector<GeomAdaptor_Surface> myPlanes;
gp_Vec myQuadNormal; gp_Vec myQuadNormal;
}; };
#endif #endif