#ifndef __DOCUMENT_H_
#define __DOCUMENT_H_
+#include "Hex_defines.hxx"
#include "HexEltBase.hxx"
+#ifdef WIN32
+ #ifdef max
+ #undef max
+#endif
+#endif
+
BEGIN_NAMESPACE_HEXA
-class HexaExport NewShape;
+class NewShape;
-class Document : public EltBase
+class HexaExport Document : public EltBase
{
// Fonctions utilisateur
public :
extern "C"
{
- HexaExport CAM_Module* createModule()
+ HEXABLOCK_EXPORT CAM_Module* createModule()
{
return new HEXABLOCKGUI();
}
- HexaExport char* getModuleVersion()
+ HEXABLOCK_EXPORT char* getModuleVersion()
{
return (char*)HEXABLOCK_VERSION_STR;
}
#ifndef _HEXABLOCKGUI_HXX_
#define _HEXABLOCKGUI_HXX_
+#include "HEXABLOCKGUI_Export.hxx"
+
#include <iostream>
#include <map>
#include <set>
class LightApp_VTKSelector;
-class HexaExport HEXABLOCKGUI : public SalomeApp_Module
+class HEXABLOCK_EXPORT HEXABLOCKGUI : public SalomeApp_Module
{
Q_OBJECT
#ifndef __HEXABLOCKGUI_DOCUMENTDELEGATE_HXX_
#define __HEXABLOCKGUI_DOCUMENTDELEGATE_HXX_
-
+#include "HEXABLOCKGUI_Export.hxx"
// QEvent * event, QAbstractItemModel
#include <QEvent>
#include <QDockWidget>
-
#include "HEXABLOCKGUI_DocumentModel.hxx"
#include "HEXABLOCKGUI_DocumentSelectionModel.hxx"
#include "HEXABLOCKGUI_DocumentItem.hxx"
#include "HEXABLOCKGUI_DocumentPanel.hxx"
-#include "hexa_base.hxx"
-
namespace HEXABLOCK
{
namespace GUI
{
- class HexaExport DocumentDelegate : public QItemDelegate
+ class HEXABLOCK_EXPORT DocumentDelegate : public QItemDelegate
{
Q_OBJECT
QDockWidget* _dw; // creator's container
private slots:
- void commitEditor();
+ // void commitEditor();
};
}
#ifndef _HEXABLOCKGUI_DOCUMENTITEM_HXX_
#define _HEXABLOCKGUI_DOCUMENTITEM_HXX_
+#include "HEXABLOCKGUI_Export.hxx"
#include <QStandardItem>
// QVariant::UserType
//===================================================================================
- class HexaExport ElementItem : public QStandardItem
+ class HEXABLOCK_EXPORT ElementItem : public QStandardItem
{
public:
ElementItem( HEXA_NS::EltBase* docElement, QString entry, HexaType ttype, HexaTreeRole treeRole);
};
//===================================================================================
- class HexaExport GraphicElementItem : public ElementItem
+ class HEXABLOCK_EXPORT GraphicElementItem : public ElementItem
{
public:
GraphicElementItem( HEXA_NS::EltBase* docElement, QString entry, HexaType ttype, HexaTreeRole treeRole):
int IDinActor;
};
- class HexaExport StandardElementItem : public ElementItem
+ class HEXABLOCK_EXPORT StandardElementItem : public ElementItem
{
public:
StandardElementItem( HEXA_NS::EltBase* docElement, QString entry, HexaType ttype, HexaTreeRole treeRole):
}
};
- class HexaExport VertexItem : public GraphicElementItem
+ class HEXABLOCK_EXPORT VertexItem : public GraphicElementItem
{
public:
VertexItem( HEXA_NS::Vertex* hexaVertex, QString entry = "");
};
- class HexaExport EdgeItem : public GraphicElementItem
+ class HEXABLOCK_EXPORT EdgeItem : public GraphicElementItem
{
public:
EdgeItem( HEXA_NS::Edge* hexaEdge, QString entry = "");
};
//-----------------------------------------
- class HexaExport QuadItem : public GraphicElementItem
+ class HEXABLOCK_EXPORT QuadItem : public GraphicElementItem
{
public:
QuadItem( HEXA_NS::Quad* hexaQuad, QString entry = "");
};
//-----------------------------------------
- class HexaExport HexaItem : public GraphicElementItem
+ class HEXABLOCK_EXPORT HexaItem : public GraphicElementItem
{
public:
HexaItem( HEXA_NS::Hexa* hexaHexa, QString entry = "");
};
//-----------------------------------------
- class HexaExport VectorItem : public StandardElementItem
+ class HEXABLOCK_EXPORT VectorItem : public StandardElementItem
{
public:
VectorItem( HEXA_NS::Vector* hexaVector, QString entry = "");
};
//-----------------------------------------
-// class HexaExport CylinderItem : public StandardElementItem
+// class HEXABLOCK_EXPORT CylinderItem : public StandardElementItem
// {
// public:
// CylinderItem( HEXA_NS::Cylinder* hexaCyl, QString entry = "");
// };
//-----------------------------------------
- class HexaExport ElementsItem : public StandardElementItem
+ class HEXABLOCK_EXPORT ElementsItem : public StandardElementItem
{
public:
ElementsItem( HEXA_NS::Elements* hexaElements, QString entry = "" );
// };
//------------------------------------------------
- class HexaExport GeomItem: public StandardElementItem
+ class HEXABLOCK_EXPORT GeomItem: public StandardElementItem
{
public:
GeomItem( HEXA_NS::EltBase* geomShape, QString entry, HexaType ttype, HexaTreeRole treeRole, HEXA_NS::EltBase* assoc = NULL );
};
//------------------------------------------------
- class HexaExport GeomShapeItem: public GeomItem
+ class HEXABLOCK_EXPORT GeomShapeItem: public GeomItem
{
public:
GeomShapeItem( HEXA_NS::NewShape* shape, HEXA_NS::EltBase* assoc = NULL);
};
//------------------------------------------------
- class HexaExport GeomPointItem: public GeomItem
+ class HEXABLOCK_EXPORT GeomPointItem: public GeomItem
{
public:
GeomPointItem( HEXA_NS::VertexShape* geomPoint, HEXA_NS::Vertex* associatedVertex = NULL);
};
//------------------------------------------------
- class HexaExport GeomEdgeItem: public GeomItem
+ class HEXABLOCK_EXPORT GeomEdgeItem: public GeomItem
{
public:
GeomEdgeItem( HEXA_NS::EdgeShape* geomEdge, HEXA_NS::Edge* associatedEdge = NULL);
};
//------------------------------------------------
- class HexaExport GeomFaceItem: public GeomItem
+ class HEXABLOCK_EXPORT GeomFaceItem: public GeomItem
{
public:
GeomFaceItem( HEXA_NS::FaceShape* geomFace, HEXA_NS::Quad* associatedQuad = NULL);
};
//-----------------------------------------
- class HexaExport GroupItem : public QStandardItem
+ class HEXABLOCK_EXPORT GroupItem : public QStandardItem
{
public:
GroupItem( HEXA_NS::Group* hexaGroup );
};
- class HexaExport LawItem : public QStandardItem
+ class HEXABLOCK_EXPORT LawItem : public QStandardItem
{
public:
LawItem( HEXA_NS::Law* hexaLaw );
};
- class HexaExport PropagationItem : public QStandardItem
+ class HEXABLOCK_EXPORT PropagationItem : public QStandardItem
{
public:
PropagationItem( HEXA_NS::Propagation* hexaPropagation );
HEXA_NS::Vertex* hv2 = getHexaPtr<HEXA_NS::Vertex*>(i_v2);
HEXA_NS::Vertex* hv3 = getHexaPtr<HEXA_NS::Vertex*>(i_v3);
- if ( hv0 and hv1 and hv2 and hv3 ){
+ if ( hv0 && hv1 && hv2 && hv3 ){
HEXA_NS::Quad* hq = _hexaDocument->addQuadVertices( hv0, hv1, hv2, hv3 );
if ( BadElement(hq) ) return quadIndex;
HEXA_NS::Edge* he2 = getHexaPtr<HEXA_NS::Edge*>(e2);
HEXA_NS::Edge* he3 = getHexaPtr<HEXA_NS::Edge*>(e3);
- if ( he0 and he1 and he2 and he3 ){
+ if ( he0 && he1 && he2 && he3 ){
HEXA_NS::Quad* hq = _hexaDocument->addQuad( he0, he1, he2, he3 );
if ( BadElement(hq) ) return quadIndex;
QVariant PatternDataModel::headerData ( int section, Qt::Orientation orientation, int role ) const
{
- if ( section == 0 and orientation == Qt::Horizontal and role == Qt::DisplayRole ){
+ if ( section == 0 && orientation == Qt::Horizontal && role == Qt::DisplayRole ){
return QVariant( "Data" );
} else {
return QSortFilterProxyModel::headerData ( section, orientation, role );
QVariant PatternGeomModel::headerData ( int section, Qt::Orientation orientation, int role ) const
{
- if ( section == 0 and orientation == Qt::Horizontal and role == Qt::DisplayRole ){
+ if ( section == 0 && orientation == Qt::Horizontal && role == Qt::DisplayRole ){
return QVariant( "Geometry" );
} else {
return QSortFilterProxyModel::headerData ( section, orientation, role );
QVariant AssociationsModel::headerData ( int section, Qt::Orientation orientation, int role ) const
{
- if ( section == 0 and orientation == Qt::Horizontal and role == Qt::DisplayRole ){
+ if ( section == 0 && orientation == Qt::Horizontal && role == Qt::DisplayRole ){
return QVariant( "Associations" );
} else {
return QSortFilterProxyModel::headerData ( section, orientation, role );
QVariant GroupsModel::headerData ( int section, Qt::Orientation orientation, int role ) const
{
- if ( section == 0 and orientation == Qt::Horizontal and role == Qt::DisplayRole ){
+ if ( section == 0 && orientation == Qt::Horizontal && role == Qt::DisplayRole ){
return QVariant( "Groups" );
} else {
return QSortFilterProxyModel::headerData ( section, orientation, role );
QVariant MeshModel::headerData ( int section, Qt::Orientation orientation, int role ) const
{
- if ( section == 0 and orientation == Qt::Horizontal and role == Qt::DisplayRole ){
+ if ( section == 0 && orientation == Qt::Horizontal && role == Qt::DisplayRole ){
return QVariant( "Mesh" );
} else {
return QSortFilterProxyModel::headerData ( section, orientation, role );
#ifndef _HEXABLOCKGUI_DOCUMENTMODEL_HXX_
#define _HEXABLOCKGUI_DOCUMENTMODEL_HXX_
+#include "HEXABLOCKGUI_Export.hxx"
#include <QTemporaryFile>
#include <QStandardItemModel>
{
namespace GUI
{
- class HexaExport DocumentModel : public QStandardItemModel
+ class HEXABLOCK_EXPORT DocumentModel : public QStandardItemModel
{
Q_OBJECT
public:
}
nbItems = iElts.count();
- if ( quads_rb->isChecked() and (nbItems>=2 and nbItems<=6) ){ // build from quads iElts.count() should be between [2,6]
+ if ( quads_rb->isChecked() && (nbItems>=2 && nbItems<=6) ){ // build from quads iElts.count() should be between [2,6]
iHexa = getDocumentModel()->addHexaQuads( iElts );
- } else if ( vertices_rb->isChecked() and nbItems== 8 ){ // build from vertices
+ } else if ( vertices_rb->isChecked() && nbItems== 8 ){ // build from vertices
iHexa = getDocumentModel()->addHexaVertices( iElts[0], iElts[1], iElts[2], iElts[3],
iElts[4], iElts[5], iElts[6], iElts[7] );
}
#ifndef __HEXABLOCKGUI_DOCUMENTPANEL_HXX_
#define __HEXABLOCKGUI_DOCUMENTPANEL_HXX_
+#include "HEXABLOCKGUI_Export.hxx"
+
#define MAX_WIDTH 16777215
#define MAX_HEIGHT 16777215
#define MIN_WIDTH 5
{
namespace GUI
{
- class HexaExport HexaBaseDialog : public QDialog
+ class HEXABLOCK_EXPORT HexaBaseDialog : public QDialog
{
Q_OBJECT
- class HexaExport VertexDialog : public HexaBaseDialog,
+ class HEXABLOCK_EXPORT VertexDialog : public HexaBaseDialog,
public Ui::VertexDialog
{
Q_OBJECT
};
- class HexaExport EdgeDialog : public HexaBaseDialog,
+ class HEXABLOCK_EXPORT EdgeDialog : public HexaBaseDialog,
public Ui::EdgeDialog
{
Q_OBJECT
};
- class HexaExport QuadDialog : public HexaBaseDialog,
+ class HEXABLOCK_EXPORT QuadDialog : public HexaBaseDialog,
public Ui::QuadDialog
{
Q_OBJECT
- class HexaExport HexaDialog : public HexaBaseDialog,
+ class HEXABLOCK_EXPORT HexaDialog : public HexaBaseDialog,
public Ui::HexaDialog
{
Q_OBJECT
};
- class HexaExport VectorDialog : public HexaBaseDialog,
+ class HEXABLOCK_EXPORT VectorDialog : public HexaBaseDialog,
public Ui::VectorDialog
{
Q_OBJECT
QModelIndex _ivalue;
};
- class HexaExport MakeGridDialog : public HexaBaseDialog,
+ class HEXABLOCK_EXPORT MakeGridDialog : public HexaBaseDialog,
public Ui::MakeGridDialog
{
Q_OBJECT
};
- class HexaExport MakeCylinderDialog : public HexaBaseDialog,
+ class HEXABLOCK_EXPORT MakeCylinderDialog : public HexaBaseDialog,
public Ui::MakeCylinderDialog
{
Q_OBJECT
};
- class HexaExport MakePipeDialog : public HexaBaseDialog,
+ class HEXABLOCK_EXPORT MakePipeDialog : public HexaBaseDialog,
public Ui::MakePipeDialog
{
Q_OBJECT
};
- class HexaExport MakeCylindersDialog : public HexaBaseDialog,
+ class HEXABLOCK_EXPORT MakeCylindersDialog : public HexaBaseDialog,
public Ui::MakeCylindersDialog
{
Q_OBJECT
};
- class HexaExport MakePipesDialog : public HexaBaseDialog,
+ class HEXABLOCK_EXPORT MakePipesDialog : public HexaBaseDialog,
public Ui::MakePipesDialog
{
Q_OBJECT
- class HexaExport RemoveHexaDialog : public HexaBaseDialog,
+ class HEXABLOCK_EXPORT RemoveHexaDialog : public HexaBaseDialog,
public Ui::RemoveHexaDialog
{
Q_OBJECT
};
- class HexaExport PrismQuadDialog : public HexaBaseDialog,
+ class HEXABLOCK_EXPORT PrismQuadDialog : public HexaBaseDialog,
public Ui::PrismQuadDialog
{
Q_OBJECT
void updateHelpFileName();
private slots:
- void addQuad();
+ //void addQuad();
void removeQuad();
- void clearQuads();
+ //void clearQuads();
};
- class HexaExport JoinQuadDialog : public HexaBaseDialog,
+ class HEXABLOCK_EXPORT JoinQuadDialog : public HexaBaseDialog,
public Ui::JoinQuadDialog
{
Q_OBJECT
void updateHelpFileName();
private slots:
- void addQuad();
+ //void addQuad();
void removeQuad();
- void clearQuads();
+ //void clearQuads();
};
- class HexaExport MergeDialog : public HexaBaseDialog,
+ class HEXABLOCK_EXPORT MergeDialog : public HexaBaseDialog,
public Ui::MergeDialog
{
Q_OBJECT
};
- class HexaExport DisconnectDialog : public HexaBaseDialog,
+ class HEXABLOCK_EXPORT DisconnectDialog : public HexaBaseDialog,
public Ui::DisconnectDialog
{
Q_OBJECT
- class HexaExport CutEdgeDialog : public HexaBaseDialog,
+ class HEXABLOCK_EXPORT CutEdgeDialog : public HexaBaseDialog,
public Ui::CutEdgeDialog
{
Q_OBJECT
};
- class HexaExport MakeTransformationDialog : public HexaBaseDialog,
+ class HEXABLOCK_EXPORT MakeTransformationDialog : public HexaBaseDialog,
public Ui::TransformationDialog
{
Q_OBJECT
};
- class HexaExport MakeSymmetryDialog : public HexaBaseDialog,
+ class HEXABLOCK_EXPORT MakeSymmetryDialog : public HexaBaseDialog,
public Ui::SymmetryDialog
{
Q_OBJECT
- class HexaExport PerformTransformationDialog : public HexaBaseDialog,
+ class HEXABLOCK_EXPORT PerformTransformationDialog : public HexaBaseDialog,
public Ui::TransformationDialog
{
Q_OBJECT
};
- class HexaExport PerformSymmetryDialog : public HexaBaseDialog,
+ class HEXABLOCK_EXPORT PerformSymmetryDialog : public HexaBaseDialog,
public Ui::SymmetryDialog
{
Q_OBJECT
void updateHelpFileName();
};
-class HexaExport EdgeAssocDialog : public HexaBaseDialog,
+class HEXABLOCK_EXPORT EdgeAssocDialog : public HexaBaseDialog,
public Ui::EdgeAssocDialog
{
Q_OBJECT
};
- class HexaExport QuadAssocDialog : public HexaBaseDialog,
+ class HEXABLOCK_EXPORT QuadAssocDialog : public HexaBaseDialog,
public Ui::QuadAssocDialog
{
Q_OBJECT
- class HexaExport GroupDialog : public HexaBaseDialog,
+ class HEXABLOCK_EXPORT GroupDialog : public HexaBaseDialog,
public Ui::GroupDialog
{
Q_OBJECT
- class HexaExport LawDialog : public HexaBaseDialog,
+ class HEXABLOCK_EXPORT LawDialog : public HexaBaseDialog,
public Ui::LawDialog
{
Q_OBJECT
- class HexaExport PropagationDialog : public HexaBaseDialog,
+ class HEXABLOCK_EXPORT PropagationDialog : public HexaBaseDialog,
public Ui::PropagationDialog
{
Q_OBJECT
void _initInputWidget( Mode editmode );
protected slots:
- void updateHelpFileName();
+ //void updateHelpFileName();
void deletePropagationItem();
virtual void selectElementOfModel();
// Define the compute mesh dialog box
// ----------------------------------
- class HexaExport ComputeMeshDialog : public HexaBaseDialog,
+ class HEXABLOCK_EXPORT ComputeMeshDialog : public HexaBaseDialog,
public Ui::ComputeMeshDialog
{
Q_OBJECT
- class HexaExport ReplaceHexaDialog : public HexaBaseDialog,
+ class HEXABLOCK_EXPORT ReplaceHexaDialog : public HexaBaseDialog,
public Ui::ReplaceHexaDialog
{
Q_OBJECT
- class HexaExport QuadRevolutionDialog : public HexaBaseDialog,
+ class HEXABLOCK_EXPORT QuadRevolutionDialog : public HexaBaseDialog,
public Ui::QuadRevolutionDialog
{
Q_OBJECT
- class HexaExport MakeHemiSphereDialog : public HexaBaseDialog,
+ class HEXABLOCK_EXPORT MakeHemiSphereDialog : public HexaBaseDialog,
public Ui::MakeHemiSphereDialog
{
Q_OBJECT
HEXA_NS::Elements *_value;
};
- class HexaExport ModelInfoDialog : public HexaBaseDialog,
+ class HEXABLOCK_EXPORT ModelInfoDialog : public HexaBaseDialog,
public Ui::ModelInfoDialog
{
Q_OBJECT
virtual void _initInputWidget( Mode editmode ){}
};
- class HexaExport AddShapeDialog : public HexaBaseDialog,
+ class HEXABLOCK_EXPORT AddShapeDialog : public HexaBaseDialog,
public Ui::AddShapeDialog
{
Q_OBJECT
#ifndef _HEXABLOCKGUI_DOCUMENTSELECTIONMODEL_HXX_
#define _HEXABLOCKGUI_DOCUMENTSELECTIONMODEL_HXX_
-#include "hexa_base.hxx"
+#include "HEXABLOCKGUI_Export.hxx"
#include <QItemSelectionModel>
#include <LightApp_SelectionMgr.h>
namespace GUI
{
- class HexaExport SelectionModel: public QItemSelectionModel
+ class HEXABLOCK_EXPORT SelectionModel: public QItemSelectionModel
{
Q_OBJECT
// }
// };
- class HexaExport PatternDataSelectionModel : public SelectionModel
+ class HEXABLOCK_EXPORT PatternDataSelectionModel : public SelectionModel
{
Q_OBJECT
};
- class HexaExport PatternGeomSelectionModel : public SelectionModel
+ class HEXABLOCK_EXPORT PatternGeomSelectionModel : public SelectionModel
{
Q_OBJECT
};
- class HexaExport GroupsSelectionModel : public SelectionModel
+ class HEXABLOCK_EXPORT GroupsSelectionModel : public SelectionModel
{
Q_OBJECT
};
- class HexaExport MeshSelectionModel : public SelectionModel
+ class HEXABLOCK_EXPORT MeshSelectionModel : public SelectionModel
{
Q_OBJECT
#ifndef __HEXABLOCKGUI_EXCEPTION_HXX__
#define __HEXABLOCKGUI_EXCEPTION_HXX__
-#include "hexa_base.hxx"
+#include "HEXABLOCKGUI_Export.hxx"
#include <string>
#include <exception>
{
namespace GUI
{
- class HexaExport Exception : public std::exception
+ class HEXABLOCK_EXPORT Exception : public std::exception
{
protected:
std::string _what;
#include <QMap>
//HEXABLOCK Includes
-#include "hexa_base.hxx"
+#include "HEXABLOCKGUI_Export.hxx"
#include "HEXABLOCKGUI_VtkDocumentGraphicView.hxx"
namespace HEXABLOCK
namespace GUI
{
- class HexaExport GraphicViewsHandler
+ class HEXABLOCK_EXPORT GraphicViewsHandler
{
public:
#ifndef HEXABLOCKGUI_OCCSELECTOR_H
#define HEXABLOCKGUI_OCCSELECTOR_H
+#include "HEXABLOCKGUI_Export.hxx"
#include <LightApp_OCCSelector.h>
-#include "hexa_base.hxx"
-class HexaExport HEXABLOCKGUI_OCCSelector : public LightApp_OCCSelector
+class HEXABLOCK_EXPORT HEXABLOCKGUI_OCCSelector : public LightApp_OCCSelector
{
public:
HEXABLOCKGUI_OCCSelector( OCCViewer_Viewer*, SUIT_SelectionMgr* );
#ifndef _HEXABLOCKGUI_OCCGRAPHICVIEW_HXX_
#define _HEXABLOCKGUI_OCCGRAPHICVIEW_HXX_
+#include "HEXABLOCKGUI_Export.hxx"
+
#include <OCCViewer_ViewWindow.h>
#include "HEXABLOCKGUI_SalomeTools.hxx"
#include <QModelIndex>
#include <QModelIndexList>
-#include "hexa_base.hxx"
-
namespace HEXABLOCK
{
* OccGraphicView
********************************************************************************/
- class HexaExport OccGraphicView
+ class HEXABLOCK_EXPORT OccGraphicView
{
public:
#ifndef _HEXABLOCKGUI_RESOURCE_HXX_
#define _HEXABLOCKGUI_RESOURCE_HXX_
-#include "hexa_base.hxx"
+#include "HEXABLOCKGUI_Export.hxx"
#include <QtGui>
-class HexaExport HEXABLOCKGUI_Resource
+class HEXABLOCK_EXPORT HEXABLOCKGUI_Resource
{
public:
HEXABLOCKGUI_Resource(SUIT_ResourceMgr* r);
#ifndef _HEXABLOCKGUI_SALOMETOOLS_HXX_
#define _HEXABLOCKGUI_SALOMETOOLS_HXX_
-#include "hexa_base.hxx"
+#include "HEXABLOCKGUI_Export.hxx"
#include <SalomeApp_Application.h>
#include <SALOME_Actor.h>
namespace GUI
{
-HexaExport SALOME_Actor* findActorByEntry( SVTK_ViewWindow *theVtkViewWindow, const char* theEntry );
+HEXABLOCK_EXPORT SALOME_Actor* findActorByEntry( SVTK_ViewWindow *theVtkViewWindow, const char* theEntry );
_PTR(Study) GetActiveStudyDocument();
-HexaExport int GetNameOfSelectedElements( SVTK_ViewWindow *theWindow,/* SVTK_Selector* theSelector,*/
+HEXABLOCK_EXPORT int GetNameOfSelectedElements( SVTK_ViewWindow *theWindow,/* SVTK_Selector* theSelector,*/
const Handle(SALOME_InteractiveObject)& theIO,
QString& theName );
-HexaExport std::string shape2string( const TopoDS_Shape& aShape );
+HEXABLOCK_EXPORT std::string shape2string( const TopoDS_Shape& aShape );
-HexaExport void getEntityOwners( const Handle(AIS_InteractiveObject)& theObj,
+HEXABLOCK_EXPORT void getEntityOwners( const Handle(AIS_InteractiveObject)& theObj,
const Handle(AIS_InteractiveContext)& theIC,
SelectMgr_IndexedMapOfOwner& theMap );
-HexaExport void indicesToOwners( const TColStd_IndexedMapOfInteger& aIndexMap,
+HEXABLOCK_EXPORT void indicesToOwners( const TColStd_IndexedMapOfInteger& aIndexMap,
const TopoDS_Shape& aMainShape,
const SelectMgr_IndexedMapOfOwner& anAllMap,
SelectMgr_IndexedMapOfOwner& aToHiliteMap );
-HexaExport TopoDS_Shape getSubShape(const TopoDS_Shape& theShape, const int theIndex);
-HexaExport int getSubId(const TopoDS_Shape& theShape, const TopoDS_Shape& theSubShape);
+HEXABLOCK_EXPORT TopoDS_Shape getSubShape(const TopoDS_Shape& theShape, const int theIndex);
+HEXABLOCK_EXPORT int getSubId(const TopoDS_Shape& theShape, const TopoDS_Shape& theSubShape);
-HexaExport Standard_Boolean getExtremaSolution(const gp_Pnt& theInitPnt,
+HEXABLOCK_EXPORT Standard_Boolean getExtremaSolution(const gp_Pnt& theInitPnt,
const TopoDS_Shape& theRefShape,
gp_Pnt& thePnt);
-HexaExport TopoDS_Vertex makePoint(const double x, const double y, const double z);
+HEXABLOCK_EXPORT TopoDS_Vertex makePoint(const double x, const double y, const double z);
-HexaExport TopoDS_Vertex makePointWithReference(const TopoDS_Shape& point, const double dx,
+HEXABLOCK_EXPORT TopoDS_Vertex makePointWithReference(const TopoDS_Shape& point, const double dx,
const double dy,
const double dz);
-HexaExport TopoDS_Vertex makePointOnCurve(const TopoDS_Shape& edge, const double param);
+HEXABLOCK_EXPORT TopoDS_Vertex makePointOnCurve(const TopoDS_Shape& edge, const double param);
-HexaExport TopoDS_Vertex makePointOnCurveByLength(const TopoDS_Shape& edge, const TopoDS_Shape& point, const double length);
+HEXABLOCK_EXPORT TopoDS_Vertex makePointOnCurveByLength(const TopoDS_Shape& edge, const TopoDS_Shape& point, const double length);
-HexaExport TopoDS_Vertex makePointOnCurveByCoord(const TopoDS_Shape& edge, const double x, const double y, const double z);
+HEXABLOCK_EXPORT TopoDS_Vertex makePointOnCurveByCoord(const TopoDS_Shape& edge, const double x, const double y, const double z);
TopoDS_Vertex makePointOnLinesIntersection(const TopoDS_Shape& line1, const TopoDS_Shape& line2);
-HexaExport TopoDS_Vertex makePointOnSurface(const TopoDS_Shape& face, const double param_u, const double param_v);
+HEXABLOCK_EXPORT TopoDS_Vertex makePointOnSurface(const TopoDS_Shape& face, const double param_u, const double param_v);
-HexaExport TopoDS_Vertex makePointOnSurfaceByCoord(const TopoDS_Shape& face, const double x, const double y, const double z);
+HEXABLOCK_EXPORT TopoDS_Vertex makePointOnSurfaceByCoord(const TopoDS_Shape& face, const double x, const double y, const double z);
}
}
#include <iostream>
#include <sstream>
-#include "hexa_base.hxx"
+#include "HEXABLOCKGUI_Export.hxx"
#include "HEXABLOCKGUI_Exception.hxx"
#ifdef _DEVDEBUG_
namespace HEXABLOCK {
namespace GUI {
- extern HexaExport int traceLevel;
+ extern HEXABLOCK_EXPORT int traceLevel;
}
}
#ifndef _HEXABLOCKGUI_VTKDOCUMENTGRAPHICVIEW_HXX_
#define _HEXABLOCKGUI_VTKDOCUMENTGRAPHICVIEW_HXX_
+#include "HEXABLOCKGUI_Export.hxx"\r
+\r
// SALOME GUI includes
#include <LightApp_Displayer.h>
#include <SUIT_ViewWindow.h>
namespace GUI
{
- class HexaExport Document_Actor : public SALOME_Actor
+ class HEXABLOCK_EXPORT Document_Actor : public SALOME_Actor
{
public:
Document_Actor(HEXA_NS::Document* doc, const QString& entry);
};
// Abu
- class HexaExport Associate_Actor : public SALOME_Actor
+ class HEXABLOCK_EXPORT Associate_Actor : public SALOME_Actor
{
public:
Associate_Actor(HEXA_NS::Document* doc, const QString& entry);
/********************************************************************************
* VtkDocumentGraphicView
********************************************************************************/
- class HexaExport VtkDocumentGraphicView : public QAbstractItemView
+ class HEXABLOCK_EXPORT VtkDocumentGraphicView : public QAbstractItemView
{
Q_OBJECT
#ifndef MYBASICGUI_POINTDLG_H
#define MYBASICGUI_POINTDLG_H
-
-
+#include "HEXABLOCKGUI_Export.hxx"\r
#include "MyGEOMBase_Skeleton.hxx"
#include <QMap>
// class : MyBasicGUI_PointDlg
// purpose :
//=================================================================================
-#include "hexa_base.hxx"
-typedef class HexaExport MyBasicGUI_PointDlg : public MyGEOMBase_Skeleton
+typedef class HEXABLOCK_EXPORT MyBasicGUI_PointDlg : public MyGEOMBase_Skeleton
{
Q_OBJECT
void ClickParamCoord( int );
void onBtnPopup( QAction* );
void updateSize();
- void onRefPointChanged(const QString& pointName);
- void onStartPointSelected(const QString& pointName);
+ // void onRefPointChanged(const QString& pointName);
+ // void onStartPointSelected(const QString& pointName);
void onParamValueChanged(double newValue);
void onXCoordChanged(double newValue);
void onYCoordChanged(double newValue);
#ifndef MYGEOMBASE_SKELETON_H
#define MYGEOMBASE_SKELETON_H
-
-
+#include "HEXABLOCKGUI_Export.hxx"\r
+\r
#include "HEXABLOCKGUI_OccGraphicView.hxx"
#include "HEXABLOCKGUI.hxx"
#include "HEXABLOCKGUI_DocumentPanel.hxx"
# define DBL_DIGITS_DISPLAY 13
#endif // COORD_MIN
-#include "hexa_base.hxx"
-
namespace HEXABLOCK
{
namespace GUI
{
-class HexaExport MyGEOMBase_Skeleton : public HexaBaseDialog
+class HEXABLOCK_EXPORT MyGEOMBase_Skeleton : public HexaBaseDialog
{
Q_OBJECT
#ifndef _RESOURCE_HXX_
#define _RESOURCE_HXX_
-#include "hexa_base.hxx"
+#include "HEXABLOCKGUI_Export.hxx"
#include <QColor>
#include <QFont>
namespace HEXABLOCK {
namespace GUI {
- class HexaExport Resource {
+ class HEXABLOCK_EXPORT Resource {
public:
Resource();
#ifndef KLINKITEMSELECTIONMODEL_H
#define KLINKITEMSELECTIONMODEL_H
+#include "HEXABLOCKGUI_Export.hxx"\r
+
#include <QtCore/QObject>
#include <QtGui/QItemSelectionModel>
#include <QtGui/QAbstractProxyModel>
class KLinkItemSelectionModelPrivate;
-class HexaExport KLinkItemSelectionModel : public QItemSelectionModel
+class HEXABLOCK_EXPORT KLinkItemSelectionModel : public QItemSelectionModel
{
Q_OBJECT
public:
#ifndef KMODELINDEXPROXYMAPPER_H
#define KMODELINDEXPROXYMAPPER_H
-#include <QObject>
+#include "HEXABLOCKGUI_Export.hxx"\r
-#include "hexa_base.hxx"
+#include <QObject>
// #include "kdeui_export.h"
class QItemSelection;
class KModelIndexProxyMapperPrivate;
-class HexaExport KModelIndexProxyMapper : public QObject
+class HEXABLOCK_EXPORT KModelIndexProxyMapper : public QObject
{
Q_OBJECT
public: