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;
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:
void ClickOnOk();

View File

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

View File

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

View File

@ -6,19 +6,12 @@
#ifndef DLGREF_2SEL3SPIN2RB_H
#define DLGREF_2SEL3SPIN2RB_H
#include "GEOM_DlgRef.hxx"
#include "DlgRef_2Sel3Spin2Rb_QTD.h"
#include "DlgRef_SpinBox.h"
//#if defined WNT
//#include <SALOME_WNT.hxx>
//#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
class GEOM_DLGREF_EXPORT DlgRef_2Sel3Spin2Rb : public DlgRef_2Sel3Spin2Rb_QTD
{
Q_OBJECT

View File

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

View File

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

View File

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