// Copyright (C) 2014-20xx CEA/DEN, EDF R&D
-// File: ExchangePlugin_Tools.h
+// File: ExchangePlugin_Tools.cpp
// Created: May 15, 2015
// Author: Sergey POKHODENKO
// Copyright (C) 2014-20xx CEA/DEN, EDF R&D
-// File: ExchangePlugin_Validators.h
+// File: ExchangePlugin_Validators.cpp
// Created: Aug 01, 2014
// Author: Sergey BELASH
FeaturesPlugin_Placement.cpp
FeaturesPlugin_CompositeBoolean.cpp
FeaturesPlugin_ExtrusionBoolean.cpp
+ FeaturesPlugin_ExtrusionCut.cpp
+ FeaturesPlugin_ExtrusionFuse.cpp
FeaturesPlugin_RevolutionBoolean.cpp
+ FeaturesPlugin_RevolutionCut.cpp
+ FeaturesPlugin_RevolutionFuse.cpp
)
SET(XML_RESOURCES
// Copyright (C) 2014-20xx CEA/DEN, EDF R&D
-// File: FeaturesPlugin_ExtrusionBoolean.h
+// File: FeaturesPlugin_ExtrusionBoolean.cpp
// Created: 11 June 2015
// Author: Dmitry Bobylev
--- /dev/null
+// Copyright (C) 2014-20xx CEA/DEN, EDF R&D
+
+// File: FeaturesPlugin_ExtrusionCut.cpp
+// Created: 11 June 2015
+// Author: Dmitry Bobylev
+
+#include "FeaturesPlugin_ExtrusionCut.h"
+
+FeaturesPlugin_ExtrusionCut::FeaturesPlugin_ExtrusionCut()
+{
+ myBooleanOperationType = GeomAlgoAPI_Boolean::BOOL_CUT;
+}
}
/// Use plugin manager for features creation.
- FeaturesPlugin_ExtrusionCut()
- {
- myBooleanOperationType = GeomAlgoAPI_Boolean::BOOL_CUT;
- }
+ FeaturesPlugin_ExtrusionCut();
};
#endif
--- /dev/null
+// Copyright (C) 2014-20xx CEA/DEN, EDF R&D
+
+// File: FeaturesPlugin_ExtrusionFuse.cpp
+// Created: 11 June 2015
+// Author: Dmitry Bobylev
+
+#include "FeaturesPlugin_ExtrusionFuse.h"
+
+FeaturesPlugin_ExtrusionFuse::FeaturesPlugin_ExtrusionFuse()
+{
+ myBooleanOperationType = GeomAlgoAPI_Boolean::BOOL_FUSE;
+}
}
/// Use plugin manager for features creation.
- FeaturesPlugin_ExtrusionFuse()
- {
- myBooleanOperationType = GeomAlgoAPI_Boolean::BOOL_FUSE;
- }
+ FeaturesPlugin_ExtrusionFuse();
};
#endif
// Copyright (C) 2014-20xx CEA/DEN, EDF R&D
-// File: FeaturesPlugin_RevolutionBoolean.h
+// File: FeaturesPlugin_RevolutionBoolean.cpp
// Created: 11 June 2015
// Author: Dmitry Bobylev
--- /dev/null
+// Copyright (C) 2014-20xx CEA/DEN, EDF R&D
+
+// File: FeaturesPlugin_RevolutionCut.cpp
+// Created: 11 June 2015
+// Author: Dmitry Bobylev
+
+#include "FeaturesPlugin_RevolutionCut.h"
+
+FeaturesPlugin_RevolutionCut::FeaturesPlugin_RevolutionCut()
+{
+ myBooleanOperationType = GeomAlgoAPI_Boolean::BOOL_CUT;
+}
}
/// Use plugin manager for features creation.
- FeaturesPlugin_RevolutionCut()
- {
- myBooleanOperationType = GeomAlgoAPI_Boolean::BOOL_CUT;
- }
+ FeaturesPlugin_RevolutionCut();
};
#endif
--- /dev/null
+// Copyright (C) 2014-20xx CEA/DEN, EDF R&D
+
+// File: FeaturesPlugin_RevolutionFuse.cpp
+// Created: 11 June 2015
+// Author: Dmitry Bobylev
+
+#include "FeaturesPlugin_RevolutionFuse.h"
+
+FeaturesPlugin_RevolutionFuse::FeaturesPlugin_RevolutionFuse()
+{
+ myBooleanOperationType = GeomAlgoAPI_Boolean::BOOL_FUSE;
+}
}
/// Use plugin manager for features creation.
- FeaturesPlugin_RevolutionFuse()
- {
- myBooleanOperationType = GeomAlgoAPI_Boolean::BOOL_FUSE;
- }
+ FeaturesPlugin_RevolutionFuse();
};
#endif
// Copyright (C) 2014-20xx CEA/DEN, EDF R&D
-// File: GeomAlgoAPI_MakeShapeListList.h
+// File: GeomAlgoAPI_MakeShapeListList.cpp
// Created: 27 May 2015
// Author: Dmitry Bobylev
// Copyright (C) 2014-20xx CEA/DEN, EDF R&D
-// File: GeomValidators_BooleanArguments.h
+// File: GeomValidators_BooleanArguments.cpp
// Created: 30 June 2015
// Author: Dmitry Bobylev
// Copyright (C) 2014-20xx CEA/DEN, EDF R&D
-// File: GeomValidators_ZeroOffset.h
+// File: GeomValidators_ZeroOffset.cpp
// Created: 13 May 2015
// Author: Dmitry Bobylev
// Copyright (C) 2014-20xx CEA/DEN, EDF R&D
-// File: Model_AttributeSelection.h
+// File: Model_AttributeSelection.cpp
// Created: 2 Oct 2014
// Author: Mikhail PONIKAROV
// Copyright (C) 2014-20xx CEA/DEN, EDF R&D
-// File: Model_AttributeSelectionList.h
+// File: Model_AttributeSelectionList.cpp
// Created: 22 Oct 2014
// Author: Mikhail PONIKAROV
ModelAPI_Document.cpp
ModelAPI_Events.cpp
ModelAPI_Feature.cpp
+ ModelAPI_FeatureValidator.cpp
ModelAPI_Object.cpp
ModelAPI_Plugin.cpp
ModelAPI_Result.cpp
// Copyright (C) 2014-20xx CEA/DEN, EDF R&D
-// File: ModelAPI_CompositeFeature.h
+// File: ModelAPI_CompositeFeature.cpp
// Created: 20 Oct 2014
// Author: Mikhail PONIKAROV
--- /dev/null
+// Copyright (C) 2014-20xx CEA/DEN, EDF R&D
+
+// File: ModelAPI_Validator.hxx
+// Created: 2 Jul 2014
+// Author: Mikhail PONIKAROV
+
+#include "ModelAPI_FeatureValidator.h"
+
+ModelAPI_FeatureValidator::ModelAPI_FeatureValidator()
+{
+
+}
+
+ModelAPI_FeatureValidator::~ModelAPI_FeatureValidator()
+{
+
+}
* used: it checks each argument of the feature and if one of it is not valid (and obligatory),
* the hole feature is invalid.
*/
-class ModelAPI_FeatureValidator : public ModelAPI_Validator
+class MODELAPI_EXPORT ModelAPI_FeatureValidator : public ModelAPI_Validator
{
public:
+ /// Default constructor
+ ModelAPI_FeatureValidator();
+ /// Virtual destructor
+ virtual ~ModelAPI_FeatureValidator();
+
/// Returns true if feature and/or attributes are valid
/// \param theFeature the validated feature
/// \param theArguments list of string, feature attribute names: dependent attributes
ModuleBase_WidgetExprEditor.h
ModuleBase_ParamSpinBox.h
ModuleBase_WidgetIntValue.h
- ModuleBase_IDocumentDataModel.h
+ ModuleBase_IDocumentDataModel.h
)
SET(PROJECT_SOURCES
ModuleBase_Tools.cpp
ModuleBase_IModule.cpp
ModuleBase_ISelection.cpp
+ ModuleBase_IViewer.cpp
ModuleBase_IWorkshop.cpp
ModuleBase_Operation.cpp
ModuleBase_OperationDescription.cpp
ModuleBase_WidgetChoice.cpp
ModuleBase_WidgetFileSelector.cpp
ModuleBase_DoubleSpinBox.cpp
+ ModuleBase_IPropertyPanel.cpp
ModuleBase_WidgetLineEdit.cpp
ModuleBase_WidgetMultiSelector.cpp
ModuleBase_ViewerFilters.cpp
ModuleBase_ResultPrs.cpp
+ ModuleBase_IViewWindow.cpp
ModuleBase_WidgetLabel.cpp
+ ModuleBase_IPrefMgr.cpp
ModuleBase_Preferences.cpp
ModuleBase_ActionInfo.cpp
ModuleBase_PageBase.cpp
ModuleBase_WidgetExprEditor.cpp
ModuleBase_ParamSpinBox.cpp
ModuleBase_SelectionValidator.cpp
+ ModuleBase_ViewerPrs.cpp
ModuleBase_WidgetIntValue.cpp
+ ModuleBase_IDocumentDataModel.cpp
)
SET(PROJECT_LIBRARIES
// Copyright (C) 2014-20xx CEA/DEN, EDF R&D
-// File: ModuleBase_FilterFactory.h
+// File: ModuleBase_FilterFactory.cpp
// Created: 10 Dec 2014
// Author: Natalia ERMOLAEVA
// Copyright (C) 2014-20xx CEA/DEN, EDF R&D
-// File: ModuleBase_FilterValidated.h
+// File: ModuleBase_FilterValidated.cpp
// Created: 17 Mar 2015
// Author: Natalia ERMOLAEVA
--- /dev/null
+// Copyright (C) 2014-20xx CEA/DEN, EDF R&D -->
+
+// File: ModuleBase_IDocumentDataModel.cpp
+// Created: 28 Apr 2015
+// Author: Vitaly SMETANNIKOV
+
+#include "ModuleBase_IDocumentDataModel.h"
+
+ModuleBase_IDocumentDataModel::ModuleBase_IDocumentDataModel(QObject* theParent) : QAbstractItemModel(theParent)
+{
+
+}
+
+void ModuleBase_IDocumentDataModel::clear()
+{
+
+}
+
+void ModuleBase_IDocumentDataModel::rebuildDataTree()
+{
+
+}
{
Q_OBJECT
public:
- ModuleBase_IDocumentDataModel(QObject* theParent): QAbstractItemModel(theParent) {}
+ ModuleBase_IDocumentDataModel(QObject* theParent);
//! Returns an object by the given Model index.
//! Returns 0 if the given index is not index of an object
virtual QModelIndex objectIndex(const ObjectPtr theObject) const = 0;
//! Clear internal data
- virtual void clear() {}
+ virtual void clear();
//! Rebuild data tree
- virtual void rebuildDataTree() {}
+ virtual void rebuildDataTree();
};
#endif
\ No newline at end of file
--- /dev/null
+// Copyright (C) 2014-20xx CEA/DEN, EDF R&D
+
+// File: ModuleBase_IPrefMgr.cpp
+// Created: 10 Sept 2014
+// Author: Vitaly SMETANNIKOV
+
+#include "ModuleBase_IPrefMgr.h"
+
+ModuleBase_IPrefMgr::ModuleBase_IPrefMgr()
+{
+
+}
+
+ModuleBase_IPrefMgr::~ModuleBase_IPrefMgr()
+{
+
+}
#ifndef ModuleBase_IPrefMgr_H
#define ModuleBase_IPrefMgr_H
+#include "ModuleBase.h"
+
#include <QString>
#include <SUIT_PreferenceMgr.h>
* It is used in order to make common interface to Preference manager in Salome
* and this application
*/
-class ModuleBase_IPrefMgr
+class MODULEBASE_EXPORT ModuleBase_IPrefMgr
{
public:
+ /// Default constructor
+ ModuleBase_IPrefMgr();
+ /// Virtual destructor
+ virtual ~ModuleBase_IPrefMgr();
/**
* Add preference item into preference dialog box
--- /dev/null
+// Copyright (C) 2014-20xx CEA/DEN, EDF R&D
+
+/*
+ * ModuleBase_IPropertyPanel.cpp
+ *
+ * Created on: Oct 01, 2014
+ * Author: vsv
+ */
+
+#include "ModuleBase_IPropertyPanel.h"
+
+ModuleBase_IPropertyPanel::ModuleBase_IPropertyPanel(QWidget* theParent) : QDockWidget(theParent), myIsEditing(false)
+{
+
+}
public:
/// Constructor
/// \param theParent is a parent of the property panel
- ModuleBase_IPropertyPanel(QWidget* theParent) : QDockWidget(theParent), myIsEditing(false) {}
+ ModuleBase_IPropertyPanel(QWidget* theParent);
/// Returns currently active widget
virtual ModuleBase_ModelWidget* activeWidget() const = 0;
--- /dev/null
+// Copyright (C) 2014-20xx CEA/DEN, EDF R&D
+
+#include "ModuleBase_IViewWindow.h"
+
+ModuleBase_IViewWindow::ModuleBase_IViewWindow()
+{
+
+}
+
+ModuleBase_IViewWindow::~ModuleBase_IViewWindow()
+{
+
+}
// Copyright (C) 2014-20xx CEA/DEN, EDF R&D
-
-
#ifndef ModuleBase_IViewWindow_H
#define ModuleBase_IViewWindow_H
+#include "ModuleBase.h"
+
#include <V3d_View.hxx>
+class QWidget;
/**
* \ingroup GUI
* Interface to ViewWindow object which contains 3d scene
*/
-class ModuleBase_IViewWindow
+class MODULEBASE_EXPORT ModuleBase_IViewWindow
{
public:
+ /// Default constructor
+ ModuleBase_IViewWindow();
+ /// Virtual destructor
+ virtual ~ModuleBase_IViewWindow();
+
/// Returns OCCT object which contains 3d view object
virtual Handle(V3d_View) v3dView() const = 0;
--- /dev/null
+// Copyright (C) 2014-20xx CEA/DEN, EDF R&D
+
+#include "ModuleBase_IViewer.h"
+
+ModuleBase_IViewer::ModuleBase_IViewer(QObject* theParent) : QObject(theParent)
+{
+
+}
public:
/// Constructor
/// \param theParent a parent object
- ModuleBase_IViewer(QObject* theParent)
- : QObject(theParent)
- {
- }
+ ModuleBase_IViewer(QObject* theParent);
//! Returns AIS_InteractiveContext from current OCCViewer
virtual Handle(AIS_InteractiveContext) AISContext() const = 0;
// Copyright (C) 2014-20xx CEA/DEN, EDF R&D
-// File: ModuleBase_ModelWidget.h
+// File: ModuleBase_IWorkshop.cpp
// Created: 25 Apr 2014
// Author: Natalia ERMOLAEVA
// Copyright (C) 2014-20xx CEA/DEN, EDF R&D
-// File: ModuleBase_ModelWidget.h
+// File: ModuleBase_ModelWidget.cpp
// Created: 25 Apr 2014
// Author: Natalia ERMOLAEVA
*/
void ModuleBase_ParamSpinBox::onTextChanged(const QString& text)
{
+ ModuleBase_DoubleSpinBox::onTextChanged(text);
myTextValue = text;
}
virtual void showEvent(QShowEvent*);
protected slots:
- void onTextChanged(const QString&);
+ virtual void onTextChanged(const QString&);
private:
void connectSignalsAndSlots();
--- /dev/null
+// Copyright (C) 2014-20xx CEA/DEN, EDF R&D
+
+// File: ModuleBase_ViewerPrs.cpp
+// Created: 20 Apr 2014
+// Author: Natalia ERMOLAEVA
+
+#include "ModuleBase_ViewerPrs.h"
+
+ModuleBase_ViewerPrs::ModuleBase_ViewerPrs()
+{
+
+}
+
+ModuleBase_ViewerPrs::ModuleBase_ViewerPrs(ObjectPtr theResult,
+ const TopoDS_Shape& theShape,
+ Handle_SelectMgr_EntityOwner theOwner)
+: myResult(theResult),
+ myShape(theShape),
+ myOwner(theOwner)
+{
+
+}
+
+ModuleBase_ViewerPrs::~ModuleBase_ViewerPrs()
+{
+
+}
* \ingroup GUI
* \brief Presentation. Provides container to have feature, shape and/or selection owner.
*/
-class ModuleBase_ViewerPrs
+class MODULEBASE_EXPORT ModuleBase_ViewerPrs
{
public:
/// Constructor
- ModuleBase_ViewerPrs()
- {
- }
+ ModuleBase_ViewerPrs();
/// Constructor
/// \param theResult an object
/// \param theShape a viewer shape
/// \param theOwner a selection owner
ModuleBase_ViewerPrs(ObjectPtr theResult, const TopoDS_Shape& theShape,
- Handle_SelectMgr_EntityOwner theOwner)
- : myResult(theResult),
- myShape(theShape),
- myOwner(theOwner)
- {
- }
+ Handle_SelectMgr_EntityOwner theOwner);
/// Destructor
- virtual ~ModuleBase_ViewerPrs()
- {
- }
+ virtual ~ModuleBase_ViewerPrs();
/// Sets the object.
/// \param theResult an object instance
// Copyright (C) 2014-20xx CEA/DEN, EDF R&D
-// File: ModuleBase_Widgets.h
+// File: ModuleBase_WidgetBoolValue.cpp
// Created: 04 June 2014
// Author: Vitaly Smetannikov
// Copyright (C) 2014-20xx CEA/DEN, EDF R&D
-// File: ModuleBase_Widgets.h
+// File: ModuleBase_WidgetDoubleValue.cpp
// Created: 04 June 2014
// Author: Vitaly Smetannikov
// Copyright (C) 2014-20xx CEA/DEN, EDF R&D
-// File: ModuleBase_Widgets.h
+// File: ModuleBase_WidgetIntValue.cpp
// Created: 04 June 2014
// Author: Vitaly Smetannikov
// Copyright (C) 2014-20xx CEA/DEN, EDF R&D
-// File: ModuleBase_WidgetSelector.h
+// File: ModuleBase_WidgetSelector.cpp
// Created: 19 June 2015
// Author: Natalia ERMOLAEVA
// Copyright (C) 2014-20xx CEA/DEN, EDF R&D
-// File: ModuleBase_WidgetShapeSelector.h
+// File: ModuleBase_WidgetShapeSelector.cpp
// Created: 2 June 2014
// Author: Vitaly Smetannikov
PartSet_MenuMgr.cpp
PartSet_DocumentDataModel.cpp
PartSet_PartDataModel.cpp
+ PartSet_DataTreeModel.cpp
PartSet_WidgetSketchCreator.cpp
PartSet_TopDataModel.cpp
)
--- /dev/null
+// Copyright (C) 2014-20xx CEA/DEN, EDF R&D -->
+
+#include "PartSet_DataTreeModel.h"
+
+PartSet_FeaturesModel::PartSet_FeaturesModel(QObject* theParent)
+: QAbstractItemModel(theParent),
+ myItemsColor(Qt::black)
+{
+
+}
+
+PartSet_PartModel::PartSet_PartModel(QObject* theParent)
+: PartSet_FeaturesModel(theParent)
+{
+
+}
+
+PartSet_PartModel::~PartSet_PartModel()
+{
+ myPart = FeaturePtr();
+}
public:
/// Constructor
/// \param theParent a parent object
- PartSet_FeaturesModel(QObject* theParent)
- : QAbstractItemModel(theParent),
- myItemsColor(Qt::black)
- {
- }
+ PartSet_FeaturesModel(QObject* theParent);
//! Returns Feature object by the given Model index.
//! Returns 0 if the given index is not index of a feature
public:
/// Constructor
/// \param theParent a parent object
- PartSet_PartModel(QObject* theParent)
- : PartSet_FeaturesModel(theParent)
- {
- }
- ~PartSet_PartModel()
- {
- myPart = FeaturePtr();
- }
+ PartSet_PartModel(QObject* theParent);
+ /// Destructor
+ ~PartSet_PartModel();
/// Set part id
/// \param theId a new id
// Copyright (C) 2014-20xx CEA/DEN, EDF R&D
-// File: PartSet_Tools.h
+// File: PartSet_Tools.cpp
// Created: 28 Apr 2014
// Author: Natalia ERMOLAEVA
// Copyright (C) 2014-20xx CEA/DEN, EDF R&D
-// File: PartSet_WidgetPoint2dAngle.h
+// File: PartSet_WidgetPoint2dAngle.cpp
// Created: 23 June 2014
// Author: Vitaly Smetannikov
// Copyright (C) 2014-20xx CEA/DEN, EDF R&D
-// File: PartSet_WidgetPoint2dDistance.h
+// File: PartSet_WidgetPoint2dDistance.cpp
// Created: 23 June 2014
// Author: Vitaly Smetannikov
SketchPlugin_Point.cpp
SketchPlugin_Circle.cpp
SketchPlugin_Arc.cpp
+ SketchPlugin_Constraint.cpp
SketchPlugin_ConstraintBase.cpp
SketchPlugin_ConstraintCoincidence.cpp
SketchPlugin_ConstraintDistance.cpp
--- /dev/null
+// Copyright (C) 2014-20xx CEA/DEN, EDF R&D -->
+
+// File: SketchPlugin_Constraint.cpp
+// Created: 08 May 2014
+// Author: Artem ZHIDKOV
+
+#include "SketchPlugin_Constraint.h"
+
+SketchPlugin_Constraint::SketchPlugin_Constraint()
+{
+
+}
protected:
/// \brief Use plugin manager for features creation
- SketchPlugin_Constraint()
- {
- }
+ SketchPlugin_Constraint();
};
typedef std::shared_ptr<SketchPlugin_Constraint> ConstraintPtr;
XGUI_OperationMgr.cpp
XGUI_PropertyPanel.cpp
XGUI_QtEvents.cpp
+ XGUI_SalomeConnector.cpp
XGUI_Selection.cpp
XGUI_SelectionMgr.cpp
XGUI_Tools.cpp
// Copyright (C) 2014-20xx CEA/DEN, EDF R&D -->
-// File: XGUI_OperationMgr.h
+// File: XGUI_OperationMgr.cpp
// Created: 20 Apr 2014
// Author: Natalia ERMOLAEVA
--- /dev/null
+// Copyright (C) 2014-20xx CEA/DEN, EDF R&D -->
+
+#include "XGUI_SalomeConnector.h"
+
+XGUI_SalomeConnector::XGUI_SalomeConnector()
+{
+
+}
+
+XGUI_SalomeConnector::~XGUI_SalomeConnector()
+{
+
+}
class XGUI_EXPORT XGUI_SalomeConnector
{
public:
+ /// Default constructor
+ XGUI_SalomeConnector();
+ /// Virtual destructor
+ virtual ~XGUI_SalomeConnector();
+
//! Creates a feature (command) in SALOME desktop
//! \param theWBName - a workbench name
//! \param theId - an id of the feature