mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2024-12-28 18:30:36 +05:00
Porting to Qt4.
This commit is contained in:
parent
123283fd99
commit
9384e0b64d
@ -34,15 +34,10 @@
|
||||
#include "GEOM_AISShape.ixx"
|
||||
#include "SALOME_InteractiveObject.hxx"
|
||||
|
||||
#include "utilities.h"
|
||||
|
||||
// Open CASCADE Includes
|
||||
#include <AIS_Drawer.hxx>
|
||||
#include <AIS_InteractiveContext.hxx>
|
||||
#include <Graphic3d_AspectFillArea3d.hxx>
|
||||
#include <Prs3d_Drawer.hxx>
|
||||
#include <Prs3d_IsoAspect.hxx>
|
||||
#include <Prs3d_LineAspect.hxx>
|
||||
#include <Prs3d_ShadingAspect.hxx>
|
||||
#include <SelectBasics_SensitiveEntity.hxx>
|
||||
#include <SelectMgr_EntityOwner.hxx>
|
||||
@ -51,7 +46,6 @@
|
||||
#include <SelectMgr_Selection.hxx>
|
||||
#include <StdSelect_DisplayMode.hxx>
|
||||
#include <StdPrs_WFShape.hxx>
|
||||
#include <StdPrs_ShadedShape.hxx>
|
||||
#include <TColStd_IndexedMapOfInteger.hxx>
|
||||
#include <TColStd_ListIteratorOfListOfInteger.hxx>
|
||||
#include <TColStd_ListOfInteger.hxx>
|
||||
|
@ -38,7 +38,6 @@
|
||||
#include <TopoDS.hxx>
|
||||
|
||||
class vtkCamera;
|
||||
class TopoDS_Shape;
|
||||
|
||||
class GEOM_OBJECT_EXPORT GEOM_Actor : public SALOME_Actor {
|
||||
public:
|
||||
|
@ -35,8 +35,11 @@
|
||||
#include "GEOM_Actor.h"
|
||||
|
||||
#include <SUIT_Session.h>
|
||||
#include <SUIT_ResourceMgr.h>
|
||||
|
||||
#include <vtkProperty.h>
|
||||
#include <vtkAssembly.h>
|
||||
#include <vtkActorCollection.h>
|
||||
|
||||
// Open CASCADE Includes
|
||||
#include <TopExp_Explorer.hxx>
|
||||
@ -50,6 +53,9 @@
|
||||
#include <TopTools_ListOfShape.hxx>
|
||||
#include <TopoDS_Iterator.hxx>
|
||||
|
||||
// Qt includes
|
||||
#include <QColor>
|
||||
|
||||
#include "utilities.h"
|
||||
|
||||
using namespace std;
|
||||
|
@ -28,9 +28,9 @@
|
||||
|
||||
#include "GEOM_OBJECT_defs.hxx"
|
||||
|
||||
#include <vtkAssembly.h>
|
||||
#include <vtkPropAssembly.h>
|
||||
#include <vtkActorCollection.h>
|
||||
class vtkProperty;
|
||||
class vtkAssembly;
|
||||
class vtkActorCollection;
|
||||
|
||||
// Open CASCADE Inlcudes
|
||||
#include <TopoDS.hxx>
|
||||
|
@ -46,8 +46,6 @@
|
||||
#ifndef _Handle_SALOME_InteractiveObject_HeaderFile
|
||||
#include "Handle_SALOME_InteractiveObject.hxx"
|
||||
#endif
|
||||
class SALOME_InteractiveObject;
|
||||
|
||||
|
||||
class GEOM_InteractiveObject : public SALOME_InteractiveObject {
|
||||
|
||||
|
@ -34,24 +34,14 @@
|
||||
|
||||
#include <vtkObjectFactory.h>
|
||||
#include <vtkPolyData.h>
|
||||
#include <vtkPolyDataMapper.h>
|
||||
#include <vtkMergePoints.h>
|
||||
|
||||
#include <vtkTransform.h>
|
||||
#include <vtkMatrix4x4.h>
|
||||
|
||||
// OpenCASCADE Includes
|
||||
#include <BRepAdaptor_Surface.hxx>
|
||||
#include <TopExp_Explorer.hxx>
|
||||
#include <BRepMesh_IncrementalMesh.hxx>
|
||||
#include <Poly_Triangulation.hxx>
|
||||
#include <Poly_Polygon3D.hxx>
|
||||
#include <BRep_Tool.hxx>
|
||||
#include <Poly_PolygonOnTriangulation.hxx>
|
||||
#include <TopoDS_Face.hxx>
|
||||
#include <TopoDS_Edge.hxx>
|
||||
#include <TopoDS_Wire.hxx>
|
||||
#include <BRepBndLib.hxx>
|
||||
#include <TopoDS.hxx>
|
||||
#include <TopAbs.hxx>
|
||||
#include <Precision.hxx>
|
||||
#include <BRepTools.hxx>
|
||||
@ -63,12 +53,7 @@
|
||||
#include <Geom2d_Line.hxx>
|
||||
#include <Geom2d_TrimmedCurve.hxx>
|
||||
#include <HatchGen_Domain.hxx>
|
||||
#include <GeomAbs_IsoType.hxx>
|
||||
#include <Precision.hxx>
|
||||
#include <TopAbs_ShapeEnum.hxx>
|
||||
#include <TopExp_Explorer.hxx>
|
||||
#include <TopoDS.hxx>
|
||||
#include <TopoDS_Edge.hxx>
|
||||
#include <gp_Dir2d.hxx>
|
||||
#include <gp_Pnt2d.hxx>
|
||||
#include <TColStd_Array1OfInteger.hxx>
|
||||
|
@ -44,8 +44,6 @@ class vtkCellArray;
|
||||
// OpenCASCADE
|
||||
#include <TopoDS_Shape.hxx>
|
||||
#include <TopoDS.hxx>
|
||||
#include <Poly_Polygon3D.hxx>
|
||||
#include <Poly_PolygonOnTriangulation.hxx>
|
||||
#include <GeomAbs_IsoType.hxx>
|
||||
#include <BRepAdaptor_Surface.hxx>
|
||||
|
||||
|
@ -27,30 +27,19 @@
|
||||
// $Header:
|
||||
|
||||
#include "GEOM_VTKTrihedron.hxx"
|
||||
#include "utilities.h"
|
||||
#include "GEOM_OCCReader.h"
|
||||
|
||||
#include <Geom_Axis2Placement.hxx>
|
||||
#include <gp_Ax2.hxx>
|
||||
#include <gp_Ax3.hxx>
|
||||
#include <gp_Pnt.hxx>
|
||||
#include <BRep_Builder.hxx>
|
||||
#include <BRepBuilderAPI_MakeEdge.hxx>
|
||||
#include <TopoDS_Edge.hxx>
|
||||
#include <TopoDS_Compound.hxx>
|
||||
|
||||
#include <vtkMath.h>
|
||||
#include <vtkMapper.h>
|
||||
#include <vtkDataSet.h>
|
||||
#include <vtkRenderer.h>
|
||||
#include <vtkFollower.h>
|
||||
#include <vtkRenderWindow.h>
|
||||
#include <vtkObjectFactory.h>
|
||||
#include <vtkPolyData.h>
|
||||
#include <vtkActor.h>
|
||||
#include <vtkActorCollection.h>
|
||||
#include <vtkProperty.h>
|
||||
#include <vtkLineSource.h>
|
||||
#include <vtkConeSource.h>
|
||||
#include <vtkPolyDataMapper.h>
|
||||
#include <vtkAppendPolyData.h>
|
||||
#include <vtkMatrix4x4.h>
|
||||
|
@ -35,7 +35,6 @@
|
||||
#include "SALOME_Actor.h"
|
||||
#include "VTKViewer_Trihedron.h"
|
||||
|
||||
class vtkActorCollection;
|
||||
class vtkRenderer;
|
||||
class vtkPolyDataMapper;
|
||||
|
||||
|
@ -62,7 +62,6 @@ libGEOMObject_la_CPPFLAGS = \
|
||||
$(PYTHON_INCLUDES) \
|
||||
$(CAS_CPPFLAGS) \
|
||||
$(VTK_INCLUDES) \
|
||||
$(OGL_INCLUDES) \
|
||||
$(KERNEL_CXXFLAGS) \
|
||||
$(GUI_CXXFLAGS)
|
||||
|
||||
|
59
src/OBJECT/OBJECT.pro
Normal file
59
src/OBJECT/OBJECT.pro
Normal file
@ -0,0 +1,59 @@
|
||||
TEMPLATE = lib
|
||||
TARGET = GEOMObject
|
||||
DESTDIR = ../../lib
|
||||
MOC_DIR = ../../moc
|
||||
OBJECTS_DIR = ../../obj/$$TARGET
|
||||
|
||||
CORBA_INCLUDES = $$(OMNIORBDIR)/include $$(OMNIORBDIR)/include/omniORB4 $$(OMNIORBDIR)/include/COS
|
||||
|
||||
QT_INCLUDES = $$(QTDIR)/include $$(QTDIR)/include/QtCore $$(QTDIR)/include/QtGui $$(QTDIR)/include/QtOpenGL $$(QTDIR)/include/QtXml
|
||||
|
||||
PYTHON_INCLUDES = $$(PYTHONHOME)/include/python2.4
|
||||
|
||||
CASROOT = $$(CASROOT)
|
||||
CAS_CPPFLAGS = $${CASROOT}/inc
|
||||
|
||||
VTK_INCLUDES = $$(VTKHOME)/include/vtk
|
||||
|
||||
KERNEL_CXXFLAGS = $$(KERNEL_ROOT_DIR)/include/salome
|
||||
|
||||
GUI_CXXFLAGS = $$(GUI_ROOT_DIR)/include/salome
|
||||
|
||||
KERNEL_LDFLAGS = -L$$(KERNEL_ROOT_DIR)/lib/salome
|
||||
|
||||
GUI_LDFLAGS = -L$$(GUI_ROOT_DIR)/lib/salome
|
||||
|
||||
INCLUDEPATH += $${CORBA_INCLUDES} $${QT_INCLUDES} $${PYTHON_INCLUDES} $${CAS_CPPFLAGS} $${VTK_INCLUDES} $${KERNEL_CXXFLAGS} $${GUI_CXXFLAGS}
|
||||
|
||||
LIBS += $${KERNEL_LDFLAGS} -lSALOMELocalTrace $${GUI_LDFLAGS} -lqtx -lVTKViewer -lSVTK -lSalomeObject
|
||||
|
||||
CONFIG -= debug release debug_and_release
|
||||
CONFIG += qt thread debug dll shared
|
||||
|
||||
win32:DEFINES += WIN32
|
||||
DEFINES += OBJECT_EXPORTS OCC_VERSION_MAJOR=6 OCC_VERSION_MINOR=1 OCC_VERSION_MAINTENANCE=1 LIN LINTEL CSFDB No_exception HAVE_CONFIG_H HAVE_LIMITS_H HAVE_WOK_CONFIG_H OCC_CONVERT_SIGNALS OMNIORB_VERSION=4 __x86__ __linux__ COMP_CORBA_DOUBLE COMP_CORBA_LONG
|
||||
|
||||
HEADERS = GEOM_Actor.h
|
||||
HEADERS += GEOM_AssemblyBuilder.h
|
||||
HEADERS += GEOM_AISShape.hxx
|
||||
HEADERS += Handle_GEOM_AISShape.hxx
|
||||
HEADERS += GEOM_InteractiveObject.hxx
|
||||
HEADERS += Handle_GEOM_InteractiveObject.hxx
|
||||
HEADERS += GEOM_AISTrihedron.hxx
|
||||
HEADERS += GEOM_VTKTrihedron.hxx
|
||||
HEADERS += GEOM_AISVector.hxx
|
||||
HEADERS += GEOM_OBJECT_defs.hxx
|
||||
|
||||
SOURCES = GEOM_Actor.cxx
|
||||
SOURCES += GEOM_OCCReader.cxx
|
||||
SOURCES += GEOM_AssemblyBuilder.cxx
|
||||
SOURCES += GEOM_AISShape.cxx
|
||||
SOURCES += GEOM_InteractiveObject.cxx
|
||||
SOURCES += GEOM_AISTrihedron.cxx
|
||||
SOURCES += GEOM_VTKTrihedron.cxx
|
||||
SOURCES += GEOM_AISVector.cxx
|
||||
|
||||
includes.files = $$HEADERS
|
||||
includes.path = ../../include
|
||||
|
||||
INSTALLS += includes
|
42
src/src.pro
Normal file
42
src/src.pro
Normal file
@ -0,0 +1,42 @@
|
||||
TEMPLATE = subdirs
|
||||
CONFIG += ordered
|
||||
|
||||
SUBDIRS = OBJECT
|
||||
#SUBDIRS += ARCHIMEDE
|
||||
#SUBDIRS += NMTDS
|
||||
#SUBDIRS += NMTTools
|
||||
#SUBDIRS += NMTAlgo
|
||||
#SUBDIRS += GEOMAlgo
|
||||
#SUBDIRS += SKETCHER
|
||||
#SUBDIRS += GEOM
|
||||
#SUBDIRS += BREPExport
|
||||
#SUBDIRS += BREPImport
|
||||
#SUBDIRS += IGESExport
|
||||
#SUBDIRS += IGESImport
|
||||
#SUBDIRS += STEPExport
|
||||
#SUBDIRS += STEPImport
|
||||
#SUBDIRS += STLExport
|
||||
#SUBDIRS += ShHealOper
|
||||
#SUBDIRS += GEOMImpl
|
||||
#SUBDIRS += GEOM_I
|
||||
#SUBDIRS += GEOMClient
|
||||
#SUBDIRS += DlgRef
|
||||
#SUBDIRS += GEOMFiltersSelection
|
||||
#SUBDIRS += GEOMGUI
|
||||
#SUBDIRS += GEOMBase
|
||||
#SUBDIRS += GEOMToolsGUI
|
||||
#SUBDIRS += DisplayGUI
|
||||
#SUBDIRS += BasicGUI
|
||||
#SUBDIRS += PrimitiveGUI
|
||||
#SUBDIRS += GenerationGUI
|
||||
#SUBDIRS += EntityGUI
|
||||
#SUBDIRS += BuildGUI
|
||||
#SUBDIRS += BooleanGUI
|
||||
#SUBDIRS += TransformationGUI
|
||||
#SUBDIRS += OperationGUI
|
||||
#SUBDIRS += RepairGUI
|
||||
#SUBDIRS += MeasureGUI
|
||||
#SUBDIRS += GroupGUI
|
||||
#SUBDIRS += BlocksGUI
|
||||
#SUBDIRS += GEOM_I_Superv
|
||||
#SUBDIRS += GEOM_SWIG
|
Loading…
Reference in New Issue
Block a user