Bazaar/OCE : OpenCascade Community Edition 3d modeling kernel added

git-svn-id: svn://ultimatepp.org/upp/trunk@4424 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
micio 2012-01-15 15:51:31 +00:00
parent a07b9bbbe2
commit 537d62fdb7
21 changed files with 21128 additions and 0 deletions

File diff suppressed because it is too large Load diff

945
bazaar/OCE/Draw/Draw.upp Normal file
View file

@ -0,0 +1,945 @@
noblitz;
uses
OCE/ModelingAlgorithms,
OCE/Visualization;
options
-I../,
-I../oce/inc,
-DHAVE_FTGL_NEWER212,
-DOCE_BUILD_STATIC_LIB;
options(POSIX) -DHAVE_DIRENT_H;
options(POSIX) -DHAVE_DLFCN_H;
options(POSIX) -DOCE_HAVE_FSTREAM;
options(POSIX) -DHAVE_NETDB_H;
options(POSIX) -DOCE_HAVE_IOSTREAM;
options(POSIX) -DOCE_HAVE_IOMANIP;
options(POSIX) -DOCE_HAVE_LIMITS_H;
options(POSIX) -DHAVE_PWD_H;
options(POSIX) -DHAVE_SIGNAL_H;
options(POSIX) -DHAVE_STATFS;
options(POSIX) -DHAVE_STDLIB_H;
options(POSIX) -DHAVE_STRING_H;
options(POSIX) -DHAVE_SYS_IPC_H;
options(POSIX) -DHAVE_SYS_MMAN_H;
options(POSIX) -DHAVE_SYS_PARAM_H;
options(POSIX) -DHAVE_SYS_SEM_H;
options(POSIX) -DHAVE_SYS_SOCKET_H;
options(POSIX) -DHAVE_SYS_STAT_H;
options(POSIX) -DHAVE_SYS_TIME_H;
options(POSIX) -DHAVE_SYS_TIMES_H;
options(POSIX) -DHAVE_SYS_TYPES_H;
options(POSIX) -DHAVE_SYS_UNISTD_H;
options(POSIX) -DHAVE_SYS_UTSNAME_H;
options(POSIX) -DHAVE_SYS_VFS_H;
options(POSIX) -DHAVE_UNISTD_H;
options(WIN32) -DWNT;
options(WIN32) -DHAVE_NO_DLL;
include
../oce/inc;
file
../oce/src/DDF/DDF.cxx
options() -I../oce/src/DDF
options() -I../oce/drv/DDF,
../oce/src/DDF/DDF_AttributeBrowser.cxx
options() -I../oce/src/DDF
options() -I../oce/drv/DDF,
../oce/src/DDF/DDF_BasicCommands.cxx
options() -I../oce/src/DDF
options() -I../oce/drv/DDF,
../oce/src/DDF/DDF_Browser.cxx
options() -I../oce/src/DDF
options() -I../oce/drv/DDF,
../oce/src/DDF/DDF_BrowserCommands.cxx
options() -I../oce/src/DDF
options() -I../oce/drv/DDF,
../oce/src/DDF/DDF_Data.cxx
options() -I../oce/src/DDF
options() -I../oce/drv/DDF,
../oce/src/DDF/DDF_DataCommands.cxx
options() -I../oce/src/DDF
options() -I../oce/drv/DDF,
../oce/src/DDF/DDF_IOStream.cxx
options() -I../oce/src/DDF
options() -I../oce/drv/DDF,
../oce/src/DDF/DDF_Transaction.cxx
options() -I../oce/src/DDF
options() -I../oce/drv/DDF,
../oce/src/DDF/DDF_TransactionCommands.cxx
options() -I../oce/src/DDF
options() -I../oce/drv/DDF,
../oce/drv/DDF/DDF_StackIteratorOfTransactionStack_0.cxx
options() -I../oce/src/DDF
options() -I../oce/drv/DDF,
../oce/drv/DDF/DDF_StackNodeOfTransactionStack_0.cxx
options() -I../oce/src/DDF
options() -I../oce/drv/DDF,
../oce/drv/DDF/DDF_TransactionStack_0.cxx
options() -I../oce/src/DDF
options() -I../oce/drv/DDF,
../oce/src/DDocStd/DDocStd.cxx
options() -I../oce/src/DDocStd
options() -I../oce/drv/DDocStd,
../oce/src/DDocStd/DDocStd_ApplicationCommands.cxx
options() -I../oce/src/DDocStd
options() -I../oce/drv/DDocStd,
../oce/src/DDocStd/DDocStd_DocumentCommands.cxx
options() -I../oce/src/DDocStd
options() -I../oce/drv/DDocStd,
../oce/src/DDocStd/DDocStd_DrawDocument.cxx
options() -I../oce/src/DDocStd
options() -I../oce/drv/DDocStd,
../oce/src/DDocStd/DDocStd_MTMCommands.cxx
options() -I../oce/src/DDocStd
options() -I../oce/drv/DDocStd,
../oce/src/DDocStd/DDocStd_Sample.cxx
options() -I../oce/src/DDocStd
options() -I../oce/drv/DDocStd,
../oce/src/DDocStd/DDocStd_ToolsCommands.cxx
options() -I../oce/src/DDocStd
options() -I../oce/drv/DDocStd,
../oce/src/DNaming/DNaming.cxx
options() -I../oce/src/DNaming
options() -I../oce/drv/DNaming,
../oce/src/DNaming/DNaming_BasicCommands.cxx
options() -I../oce/src/DNaming
options() -I../oce/drv/DNaming,
../oce/src/DNaming/DNaming_BooleanOperationDriver.cxx
options() -I../oce/src/DNaming
options() -I../oce/drv/DNaming,
../oce/src/DNaming/DNaming_BoxDriver.cxx
options() -I../oce/src/DNaming
options() -I../oce/drv/DNaming,
../oce/src/DNaming/DNaming_CylinderDriver.cxx
options() -I../oce/src/DNaming
options() -I../oce/drv/DNaming,
../oce/src/DNaming/DNaming_FilletDriver.cxx
options() -I../oce/src/DNaming
options() -I../oce/drv/DNaming,
../oce/src/DNaming/DNaming_Line3DDriver.cxx
options() -I../oce/src/DNaming
options() -I../oce/drv/DNaming,
../oce/src/DNaming/DNaming_ModelingCommands.cxx
options() -I../oce/src/DNaming
options() -I../oce/drv/DNaming,
../oce/src/DNaming/DNaming_PointDriver.cxx
options() -I../oce/src/DNaming
options() -I../oce/drv/DNaming,
../oce/src/DNaming/DNaming_PrismDriver.cxx
options() -I../oce/src/DNaming
options() -I../oce/drv/DNaming,
../oce/src/DNaming/DNaming_RevolutionDriver.cxx
options() -I../oce/src/DNaming
options() -I../oce/drv/DNaming,
../oce/src/DNaming/DNaming_SelectionCommands.cxx
options() -I../oce/src/DNaming
options() -I../oce/drv/DNaming,
../oce/src/DNaming/DNaming_SelectionDriver.cxx
options() -I../oce/src/DNaming
options() -I../oce/drv/DNaming,
../oce/src/DNaming/DNaming_SphereDriver.cxx
options() -I../oce/src/DNaming
options() -I../oce/drv/DNaming,
../oce/src/DNaming/DNaming_ToolsCommands.cxx
options() -I../oce/src/DNaming
options() -I../oce/drv/DNaming,
../oce/src/DNaming/DNaming_TransformationDriver.cxx
options() -I../oce/src/DNaming
options() -I../oce/drv/DNaming,
../oce/drv/DNaming/DNaming_DataMapIteratorOfDataMapOfShapeOfName_0.cxx
options() -I../oce/src/DNaming
options() -I../oce/drv/DNaming,
../oce/drv/DNaming/DNaming_DataMapNodeOfDataMapOfShapeOfName_0.cxx
options() -I../oce/src/DNaming
options() -I../oce/drv/DNaming,
../oce/drv/DNaming/DNaming_DataMapOfShapeOfName_0.cxx
options() -I../oce/src/DNaming
options() -I../oce/drv/DNaming,
../oce/src/DDataStd/DDataStd.cxx
options() -I../oce/src/DDataStd
options() -I../oce/drv/DDataStd,
../oce/src/DDataStd/DDataStd_BasicCommands.cxx
options() -I../oce/src/DDataStd
options() -I../oce/drv/DDataStd,
../oce/src/DDataStd/DDataStd_ConstraintCommands.cxx
options() -I../oce/src/DDataStd
options() -I../oce/drv/DDataStd,
../oce/src/DDataStd/DDataStd_DatumCommands.cxx
options() -I../oce/src/DDataStd
options() -I../oce/drv/DDataStd,
../oce/src/DDataStd/DDataStd_DrawDisplayCommands.cxx
options() -I../oce/src/DDataStd
options() -I../oce/drv/DDataStd,
../oce/src/DDataStd/DDataStd_DrawDriver.cxx
options() -I../oce/src/DDataStd
options() -I../oce/drv/DDataStd,
../oce/src/DDataStd/DDataStd_DrawPresentation.cxx
options() -I../oce/src/DDataStd
options() -I../oce/drv/DDataStd,
../oce/src/DDataStd/DDataStd_NameCommands.cxx
options() -I../oce/src/DDataStd
options() -I../oce/drv/DDataStd,
../oce/src/DDataStd/DDataStd_NamedShapeCommands.cxx
options() -I../oce/src/DDataStd
options() -I../oce/drv/DDataStd,
../oce/src/DDataStd/DDataStd_ObjectCommands.cxx
options() -I../oce/src/DDataStd
options() -I../oce/drv/DDataStd,
../oce/src/DDataStd/DDataStd_Sample.cxx
options() -I../oce/src/DDataStd
options() -I../oce/drv/DDataStd,
../oce/src/DDataStd/DDataStd_TreeBrowser.cxx
options() -I../oce/src/DDataStd
options() -I../oce/drv/DDataStd,
../oce/src/DDataStd/DDataStd_TreeCommands.cxx
options() -I../oce/src/DDataStd
options() -I../oce/drv/DDataStd,
../oce/src/DPrsStd/DPrsStd.cxx
options() -I../oce/src/DPrsStd
options() -I../oce/drv/DPrsStd,
../oce/src/DPrsStd/DPrsStd_AISPresentationCommands.cxx
options() -I../oce/src/DPrsStd
options() -I../oce/drv/DPrsStd,
../oce/src/DPrsStd/DPrsStd_AISViewerCommands.cxx
options() -I../oce/src/DPrsStd
options() -I../oce/drv/DPrsStd,
../oce/src/DPrsStd/DPrsStd_Sample.cxx
options() -I../oce/src/DPrsStd
options() -I../oce/drv/DPrsStd,
../oce/src/DrawDim/DrawDim.cxx
options() -I../oce/src/DrawDim
options() -I../oce/drv/DrawDim,
../oce/src/DrawDim/DrawDim_Angle.cxx
options() -I../oce/src/DrawDim
options() -I../oce/drv/DrawDim,
../oce/src/DrawDim/DrawDim_Dimension.cxx
options() -I../oce/src/DrawDim
options() -I../oce/drv/DrawDim,
../oce/src/DrawDim/DrawDim_Distance.cxx
options() -I../oce/src/DrawDim
options() -I../oce/drv/DrawDim,
../oce/src/DrawDim/DrawDim_PlanarAngle.cxx
options() -I../oce/src/DrawDim
options() -I../oce/drv/DrawDim,
../oce/src/DrawDim/DrawDim_PlanarDiameter.cxx
options() -I../oce/src/DrawDim
options() -I../oce/drv/DrawDim,
../oce/src/DrawDim/DrawDim_PlanarDimension.cxx
options() -I../oce/src/DrawDim
options() -I../oce/drv/DrawDim,
../oce/src/DrawDim/DrawDim_PlanarDimensionCommands.cxx
options() -I../oce/src/DrawDim
options() -I../oce/drv/DrawDim,
../oce/src/DrawDim/DrawDim_PlanarDistance.cxx
options() -I../oce/src/DrawDim
options() -I../oce/drv/DrawDim,
../oce/src/DrawDim/DrawDim_PlanarRadius.cxx
options() -I../oce/src/DrawDim
options() -I../oce/drv/DrawDim,
../oce/src/DrawDim/DrawDim_Radius.cxx
options() -I../oce/src/DrawDim
options() -I../oce/drv/DrawDim,
../oce/src/Draw/CommandWindow.cxx
options() -I../oce/src/Draw
options() -I../oce/drv/Draw,
../oce/src/Draw/Draw.cxx
options() -I../oce/src/Draw
options() -I../oce/drv/Draw,
../oce/src/Draw/Draw_Axis2D.cxx
options() -I../oce/src/Draw
options() -I../oce/drv/Draw,
../oce/src/Draw/Draw_Axis3D.cxx
options() -I../oce/src/Draw
options() -I../oce/drv/Draw,
../oce/src/Draw/Draw_BasicCommands.cxx
options() -I../oce/src/Draw
options() -I../oce/drv/Draw,
../oce/src/Draw/Draw_Box.cxx
options() -I../oce/src/Draw
options() -I../oce/drv/Draw,
../oce/src/Draw/Draw_Chronometer.cxx
options() -I../oce/src/Draw
options() -I../oce/drv/Draw,
../oce/src/Draw/Draw_Circle2D.cxx
options() -I../oce/src/Draw
options() -I../oce/drv/Draw,
../oce/src/Draw/Draw_Circle3D.cxx
options() -I../oce/src/Draw
options() -I../oce/drv/Draw,
../oce/src/Draw/Draw_Color.cxx
options() -I../oce/src/Draw
options() -I../oce/drv/Draw,
../oce/src/Draw/Draw_Commands.cxx
options() -I../oce/src/Draw
options() -I../oce/drv/Draw,
../oce/src/Draw/Draw_Display.cxx
options() -I../oce/src/Draw
options() -I../oce/drv/Draw,
../oce/src/Draw/Draw_Drawable2D.cxx
options() -I../oce/src/Draw
options() -I../oce/drv/Draw,
../oce/src/Draw/Draw_Drawable3D.cxx
options() -I../oce/src/Draw
options() -I../oce/drv/Draw,
../oce/src/Draw/Draw_GraphicCommands.cxx
options() -I../oce/src/Draw
options() -I../oce/drv/Draw,
../oce/src/Draw/Draw_Grid.cxx
options() -I../oce/src/Draw
options() -I../oce/drv/Draw,
../oce/src/Draw/Draw_Interpretor.cxx
options() -I../oce/src/Draw
options() -I../oce/drv/Draw,
../oce/src/Draw/Draw_Main.cxx
options() -I../oce/src/Draw
options() -I../oce/drv/Draw,
../oce/src/Draw/Draw_Marker2D.cxx
options() -I../oce/src/Draw
options() -I../oce/drv/Draw,
../oce/src/Draw/Draw_Marker3D.cxx
options() -I../oce/src/Draw
options() -I../oce/drv/Draw,
../oce/src/Draw/Draw_Number.cxx
options() -I../oce/src/Draw
options() -I../oce/drv/Draw,
../oce/src/Draw/Draw_PloadCommands.cxx
options() -I../oce/src/Draw
options() -I../oce/drv/Draw,
../oce/src/Draw/Draw_Printer.cxx
options() -I../oce/src/Draw
options() -I../oce/drv/Draw,
../oce/src/Draw/Draw_ProgressIndicator.cxx
options() -I../oce/src/Draw
options() -I../oce/drv/Draw,
../oce/src/Draw/Draw_Segment2D.cxx
options() -I../oce/src/Draw
options() -I../oce/drv/Draw,
../oce/src/Draw/Draw_Segment3D.cxx
options() -I../oce/src/Draw
options() -I../oce/drv/Draw,
../oce/src/Draw/Draw_Text2D.cxx
options() -I../oce/src/Draw
options() -I../oce/drv/Draw,
../oce/src/Draw/Draw_Text3D.cxx
options() -I../oce/src/Draw
options() -I../oce/drv/Draw,
../oce/src/Draw/Draw_UnitCommands.cxx
options() -I../oce/src/Draw
options() -I../oce/drv/Draw,
../oce/src/Draw/Draw_VariableCommands.cxx
options() -I../oce/src/Draw
options() -I../oce/drv/Draw,
../oce/src/Draw/Draw_Viewer.cxx
options() -I../oce/src/Draw
options() -I../oce/drv/Draw,
../oce/src/Draw/Draw_Window.cxx
options() -I../oce/src/Draw
options() -I../oce/drv/Draw,
../oce/src/Draw/MainWindow.cxx
options() -I../oce/src/Draw
options() -I../oce/drv/Draw,
../oce/src/Draw/init.cxx
options() -I../oce/src/Draw
options() -I../oce/drv/Draw,
../oce/drv/Draw/Draw_DataMapIteratorOfMapOfFunctions_0.cxx
options() -I../oce/src/Draw
options() -I../oce/drv/Draw,
../oce/drv/Draw/Draw_DataMapIteratorOfVMap_0.cxx
options() -I../oce/src/Draw
options() -I../oce/drv/Draw,
../oce/drv/Draw/Draw_DataMapNodeOfMapOfFunctions_0.cxx
options() -I../oce/src/Draw
options() -I../oce/drv/Draw,
../oce/drv/Draw/Draw_DataMapNodeOfVMap_0.cxx
options() -I../oce/src/Draw
options() -I../oce/drv/Draw,
../oce/drv/Draw/Draw_Failure_0.cxx
options() -I../oce/src/Draw
options() -I../oce/drv/Draw,
../oce/drv/Draw/Draw_IndexedMapNodeOfMapOfAsciiString_0.cxx
options() -I../oce/src/Draw
options() -I../oce/drv/Draw,
../oce/drv/Draw/Draw_MapOfAsciiString_0.cxx
options() -I../oce/src/Draw
options() -I../oce/drv/Draw,
../oce/drv/Draw/Draw_MapOfFunctions_0.cxx
options() -I../oce/src/Draw
options() -I../oce/drv/Draw,
../oce/drv/Draw/Draw_SequenceNodeOfSequenceOfDrawable3D_0.cxx
options() -I../oce/src/Draw
options() -I../oce/drv/Draw,
../oce/drv/Draw/Draw_SequenceOfDrawable3D_0.cxx
options() -I../oce/src/Draw
options() -I../oce/drv/Draw,
../oce/drv/Draw/Draw_VMap_0.cxx
options() -I../oce/src/Draw
options() -I../oce/drv/Draw,
../oce/src/DBRep/DBRep.cxx
options() -I../oce/src/DBRep
options() -I../oce/drv/DBRep,
../oce/src/DBRep/DBRep_Debug.cxx
options() -I../oce/src/DBRep
options() -I../oce/drv/DBRep,
../oce/src/DBRep/DBRep_DrawableShape.cxx
options() -I../oce/src/DBRep
options() -I../oce/drv/DBRep,
../oce/src/DBRep/DBRep_Edge.cxx
options() -I../oce/src/DBRep
options() -I../oce/drv/DBRep,
../oce/src/DBRep/DBRep_Face.cxx
options() -I../oce/src/DBRep
options() -I../oce/drv/DBRep,
../oce/src/DBRep/DBRep_HideData.cxx
options() -I../oce/src/DBRep
options() -I../oce/drv/DBRep,
../oce/src/DBRep/DBRep_IsoBuilder.cxx
options() -I../oce/src/DBRep
options() -I../oce/drv/DBRep,
../oce/drv/DBRep/DBRep_ListIteratorOfListOfEdge_0.cxx
options() -I../oce/src/DBRep
options() -I../oce/drv/DBRep,
../oce/drv/DBRep/DBRep_ListIteratorOfListOfFace_0.cxx
options() -I../oce/src/DBRep
options() -I../oce/drv/DBRep,
../oce/drv/DBRep/DBRep_ListIteratorOfListOfHideData_0.cxx
options() -I../oce/src/DBRep
options() -I../oce/drv/DBRep,
../oce/drv/DBRep/DBRep_ListNodeOfListOfEdge_0.cxx
options() -I../oce/src/DBRep
options() -I../oce/drv/DBRep,
../oce/drv/DBRep/DBRep_ListNodeOfListOfFace_0.cxx
options() -I../oce/src/DBRep
options() -I../oce/drv/DBRep,
../oce/drv/DBRep/DBRep_ListNodeOfListOfHideData_0.cxx
options() -I../oce/src/DBRep
options() -I../oce/drv/DBRep,
../oce/drv/DBRep/DBRep_ListOfEdge_0.cxx
options() -I../oce/src/DBRep
options() -I../oce/drv/DBRep,
../oce/drv/DBRep/DBRep_ListOfFace_0.cxx
options() -I../oce/src/DBRep
options() -I../oce/drv/DBRep,
../oce/drv/DBRep/DBRep_ListOfHideData_0.cxx
options() -I../oce/src/DBRep
options() -I../oce/drv/DBRep,
../oce/src/DrawTrSurf/DrawTrSurf.cxx
options() -I../oce/src/DrawTrSurf
options() -I../oce/drv/DrawTrSurf,
../oce/src/DrawTrSurf/DrawTrSurf_BSplineCurve.cxx
options() -I../oce/src/DrawTrSurf
options() -I../oce/drv/DrawTrSurf,
../oce/src/DrawTrSurf/DrawTrSurf_BSplineCurve2d.cxx
options() -I../oce/src/DrawTrSurf
options() -I../oce/drv/DrawTrSurf,
../oce/src/DrawTrSurf/DrawTrSurf_BSplineSurface.cxx
options() -I../oce/src/DrawTrSurf
options() -I../oce/drv/DrawTrSurf,
../oce/src/DrawTrSurf/DrawTrSurf_BezierCurve.cxx
options() -I../oce/src/DrawTrSurf
options() -I../oce/drv/DrawTrSurf,
../oce/src/DrawTrSurf/DrawTrSurf_BezierCurve2d.cxx
options() -I../oce/src/DrawTrSurf
options() -I../oce/drv/DrawTrSurf,
../oce/src/DrawTrSurf/DrawTrSurf_BezierSurface.cxx
options() -I../oce/src/DrawTrSurf
options() -I../oce/drv/DrawTrSurf,
../oce/src/DrawTrSurf/DrawTrSurf_Curve.cxx
options() -I../oce/src/DrawTrSurf
options() -I../oce/drv/DrawTrSurf,
../oce/src/DrawTrSurf/DrawTrSurf_Curve2d.cxx
options() -I../oce/src/DrawTrSurf
options() -I../oce/drv/DrawTrSurf,
../oce/src/DrawTrSurf/DrawTrSurf_Debug.cxx
options() -I../oce/src/DrawTrSurf
options() -I../oce/drv/DrawTrSurf,
../oce/src/DrawTrSurf/DrawTrSurf_Drawable.cxx
options() -I../oce/src/DrawTrSurf
options() -I../oce/drv/DrawTrSurf,
../oce/src/DrawTrSurf/DrawTrSurf_Point.cxx
options() -I../oce/src/DrawTrSurf
options() -I../oce/drv/DrawTrSurf,
../oce/src/DrawTrSurf/DrawTrSurf_Polygon2D.cxx
options() -I../oce/src/DrawTrSurf
options() -I../oce/drv/DrawTrSurf,
../oce/src/DrawTrSurf/DrawTrSurf_Polygon3D.cxx
options() -I../oce/src/DrawTrSurf
options() -I../oce/drv/DrawTrSurf,
../oce/src/DrawTrSurf/DrawTrSurf_Surface.cxx
options() -I../oce/src/DrawTrSurf
options() -I../oce/drv/DrawTrSurf,
../oce/src/DrawTrSurf/DrawTrSurf_Triangulation.cxx
options() -I../oce/src/DrawTrSurf
options() -I../oce/drv/DrawTrSurf,
../oce/src/DrawTrSurf/DrawTrSurf_Triangulation2D.cxx
options() -I../oce/src/DrawTrSurf
options() -I../oce/drv/DrawTrSurf,
../oce/src/TObjDRAW/TObjDRAW.cxx
options() -I../oce/src/TObjDRAW
options() -I../oce/drv/TObjDRAW,
../oce/src/TestTopOpeDraw/TestTopOpeDraw.cxx
options() -I../oce/src/TestTopOpeDraw
options() -I../oce/drv/TestTopOpeDraw,
../oce/src/TestTopOpeDraw/TestTopOpeDraw_Displayer.cxx
options() -I../oce/src/TestTopOpeDraw
options() -I../oce/drv/TestTopOpeDraw,
../oce/src/TestTopOpeDraw/TestTopOpeDraw_DrawableC2D.cxx
options() -I../oce/src/TestTopOpeDraw
options() -I../oce/drv/TestTopOpeDraw,
../oce/src/TestTopOpeDraw/TestTopOpeDraw_DrawableC3D.cxx
options() -I../oce/src/TestTopOpeDraw
options() -I../oce/drv/TestTopOpeDraw,
../oce/src/TestTopOpeDraw/TestTopOpeDraw_DrawableMesure.cxx
options() -I../oce/src/TestTopOpeDraw
options() -I../oce/drv/TestTopOpeDraw,
../oce/src/TestTopOpeDraw/TestTopOpeDraw_DrawableP2D.cxx
options() -I../oce/src/TestTopOpeDraw
options() -I../oce/drv/TestTopOpeDraw,
../oce/src/TestTopOpeDraw/TestTopOpeDraw_DrawableP3D.cxx
options() -I../oce/src/TestTopOpeDraw
options() -I../oce/drv/TestTopOpeDraw,
../oce/src/TestTopOpeDraw/TestTopOpeDraw_DrawableSHA.cxx
options() -I../oce/src/TestTopOpeDraw
options() -I../oce/drv/TestTopOpeDraw,
../oce/src/TestTopOpeDraw/TestTopOpeDraw_DrawableSUR.cxx
options() -I../oce/src/TestTopOpeDraw
options() -I../oce/drv/TestTopOpeDraw,
../oce/src/TestTopOpeDraw/TestTopOpeDraw_OtherCommands.cxx
options() -I../oce/src/TestTopOpeDraw
options() -I../oce/drv/TestTopOpeDraw,
../oce/src/TestTopOpeDraw/TestTopOpeDraw_SaveRestore.cxx
options() -I../oce/src/TestTopOpeDraw
options() -I../oce/drv/TestTopOpeDraw,
../oce/src/TestTopOpeDraw/TestTopOpeDraw_TTOT.cxx
options() -I../oce/src/TestTopOpeDraw
options() -I../oce/drv/TestTopOpeDraw,
../oce/drv/TestTopOpeDraw/TestTopOpeDraw_Array1OfDrawableMesure_0.cxx
options() -I../oce/src/TestTopOpeDraw
options() -I../oce/drv/TestTopOpeDraw,
../oce/drv/TestTopOpeDraw/TestTopOpeDraw_Array1OfDrawableP3D_0.cxx
options() -I../oce/src/TestTopOpeDraw
options() -I../oce/drv/TestTopOpeDraw,
../oce/drv/TestTopOpeDraw/TestTopOpeDraw_HArray1OfDrawableMesure_0.cxx
options() -I../oce/src/TestTopOpeDraw
options() -I../oce/drv/TestTopOpeDraw,
../oce/drv/TestTopOpeDraw/TestTopOpeDraw_HArray1OfDrawableP3D_0.cxx
options() -I../oce/src/TestTopOpeDraw
options() -I../oce/drv/TestTopOpeDraw,
../oce/drv/TestTopOpeDraw/TestTopOpeDraw_ListIteratorOfListOfPnt2d_0.cxx
options() -I../oce/src/TestTopOpeDraw
options() -I../oce/drv/TestTopOpeDraw,
../oce/drv/TestTopOpeDraw/TestTopOpeDraw_ListNodeOfListOfPnt2d_0.cxx
options() -I../oce/src/TestTopOpeDraw
options() -I../oce/drv/TestTopOpeDraw,
../oce/drv/TestTopOpeDraw/TestTopOpeDraw_ListOfPnt2d_0.cxx
options() -I../oce/src/TestTopOpeDraw
options() -I../oce/drv/TestTopOpeDraw,
../oce/src/TestTopOpeTools/TestTopOpeTools.cxx
options() -I../oce/src/TestTopOpeTools
options() -I../oce/drv/TestTopOpeTools,
../oce/src/TestTopOpeTools/TestTopOpeTools_Mesure.cxx
options() -I../oce/src/TestTopOpeTools
options() -I../oce/drv/TestTopOpeTools,
../oce/src/TestTopOpeTools/TestTopOpeTools_OtherCommands.cxx
options() -I../oce/src/TestTopOpeTools
options() -I../oce/drv/TestTopOpeTools,
../oce/src/TestTopOpeTools/TestTopOpeTools_Trace.cxx
options() -I../oce/src/TestTopOpeTools
options() -I../oce/drv/TestTopOpeTools,
../oce/src/TestTopOpeTools/TestTopOpeTools_TraceCommands.cxx
options() -I../oce/src/TestTopOpeTools
options() -I../oce/drv/TestTopOpeTools,
../oce/drv/TestTopOpeTools/TestTopOpeTools_Array1OfMesure_0.cxx
options() -I../oce/src/TestTopOpeTools
options() -I../oce/drv/TestTopOpeTools,
../oce/drv/TestTopOpeTools/TestTopOpeTools_HArray1OfMesure_0.cxx
options() -I../oce/src/TestTopOpeTools
options() -I../oce/drv/TestTopOpeTools,
../oce/src/TestTopOpe/TestTopOpe.cxx
options() -I../oce/src/TestTopOpe
options() -I../oce/drv/TestTopOpe,
../oce/src/TestTopOpe/TestTopOpe_BOOP.cxx
options() -I../oce/src/TestTopOpe
options() -I../oce/drv/TestTopOpe,
../oce/src/TestTopOpe/TestTopOpe_BOOPCommands.cxx
options() -I../oce/src/TestTopOpe
options() -I../oce/drv/TestTopOpe,
../oce/src/TestTopOpe/TestTopOpe_CORCommands.cxx
options() -I../oce/src/TestTopOpe
options() -I../oce/drv/TestTopOpe,
../oce/src/TestTopOpe/TestTopOpe_DSACommands.cxx
options() -I../oce/src/TestTopOpe
options() -I../oce/drv/TestTopOpe,
../oce/src/TestTopOpe/TestTopOpe_DSF.cxx
options() -I../oce/src/TestTopOpe
options() -I../oce/drv/TestTopOpe,
../oce/src/TestTopOpe/TestTopOpe_EditBOOP.cxx
options() -I../oce/src/TestTopOpe
options() -I../oce/drv/TestTopOpe,
../oce/src/TestTopOpe/TestTopOpe_HDSCommands.cxx
options() -I../oce/src/TestTopOpe
options() -I../oce/drv/TestTopOpe,
../oce/src/TestTopOpe/TestTopOpe_HDSDisplayer.cxx
options() -I../oce/src/TestTopOpe
options() -I../oce/drv/TestTopOpe,
../oce/src/TestTopOpe/TestTopOpe_KroBOOP.cxx
options() -I../oce/src/TestTopOpe
options() -I../oce/drv/TestTopOpe,
../oce/src/TestTopOpe/TestTopOpe_MesureCommands.cxx
options() -I../oce/src/TestTopOpe
options() -I../oce/drv/TestTopOpe,
../oce/src/TestTopOpe/TestTopOpe_MiscBOOP.cxx
options() -I../oce/src/TestTopOpe
options() -I../oce/drv/TestTopOpe,
../oce/src/TestTopOpe/TestTopOpe_OtherCommands.cxx
options() -I../oce/src/TestTopOpe
options() -I../oce/drv/TestTopOpe,
../oce/src/TestTopOpe/TestTopOpe_VarsTopo.cxx
options() -I../oce/src/TestTopOpe
options() -I../oce/drv/TestTopOpe,
../oce/src/BRepTest/BRepTest.cxx
options() -I../oce/src/BRepTest
options() -I../oce/drv/BRepTest,
../oce/src/BRepTest/BRepTest_BasicCommands.cxx
options() -I../oce/src/BRepTest
options() -I../oce/drv/BRepTest,
../oce/src/BRepTest/BRepTest_ChamferCommands.cxx
options() -I../oce/src/BRepTest
options() -I../oce/drv/BRepTest,
../oce/src/BRepTest/BRepTest_CheckCommands.cxx
options() -I../oce/src/BRepTest
options() -I../oce/drv/BRepTest,
../oce/src/BRepTest/BRepTest_CurveCommands.cxx
options() -I../oce/src/BRepTest
options() -I../oce/drv/BRepTest,
../oce/src/BRepTest/BRepTest_DraftAngleCommands.cxx
options() -I../oce/src/BRepTest
options() -I../oce/drv/BRepTest,
../oce/src/BRepTest/BRepTest_ExtremaCommands.cxx
options() -I../oce/src/BRepTest
options() -I../oce/drv/BRepTest,
../oce/src/BRepTest/BRepTest_FeatureCommands.cxx
options() -I../oce/src/BRepTest
options() -I../oce/drv/BRepTest,
../oce/src/BRepTest/BRepTest_Fillet2DCommands.cxx
options() -I../oce/src/BRepTest
options() -I../oce/drv/BRepTest,
../oce/src/BRepTest/BRepTest_FilletCommands.cxx
options() -I../oce/src/BRepTest
options() -I../oce/drv/BRepTest,
../oce/src/BRepTest/BRepTest_FillingCommands.cxx
options() -I../oce/src/BRepTest
options() -I../oce/drv/BRepTest,
../oce/src/BRepTest/BRepTest_GPropCommands.cxx
options() -I../oce/src/BRepTest
options() -I../oce/drv/BRepTest,
../oce/src/BRepTest/BRepTest_MatCommands.cxx
options() -I../oce/src/BRepTest
options() -I../oce/drv/BRepTest,
../oce/src/BRepTest/BRepTest_OtherCommands.cxx
options() -I../oce/src/BRepTest
options() -I../oce/drv/BRepTest,
../oce/src/BRepTest/BRepTest_PrimitiveCommands.cxx
options() -I../oce/src/BRepTest
options() -I../oce/drv/BRepTest,
../oce/src/BRepTest/BRepTest_ProjectionCommands.cxx
options() -I../oce/src/BRepTest
options() -I../oce/drv/BRepTest,
../oce/src/BRepTest/BRepTest_ShellCommands.cxx
options() -I../oce/src/BRepTest
options() -I../oce/drv/BRepTest,
../oce/src/BRepTest/BRepTest_SurfaceCommands.cxx
options() -I../oce/src/BRepTest
options() -I../oce/drv/BRepTest,
../oce/src/BRepTest/BRepTest_SweepCommands.cxx
options() -I../oce/src/BRepTest
options() -I../oce/drv/BRepTest,
../oce/src/BRepTest/BRepTest_TopologyCommands.cxx
options() -I../oce/src/BRepTest
options() -I../oce/drv/BRepTest,
../oce/src/GeometryTest/GeometryTest.cxx
options() -I../oce/src/GeometryTest
options() -I../oce/drv/GeometryTest,
../oce/src/GeometryTest/GeometryTest_API2dCommands.cxx
options() -I../oce/src/GeometryTest
options() -I../oce/drv/GeometryTest,
../oce/src/GeometryTest/GeometryTest_APICommands.cxx
options() -I../oce/src/GeometryTest
options() -I../oce/drv/GeometryTest,
../oce/src/GeometryTest/GeometryTest_ConstraintCommands.cxx
options() -I../oce/src/GeometryTest
options() -I../oce/drv/GeometryTest,
../oce/src/GeometryTest/GeometryTest_ContinuityCommands.cxx
options() -I../oce/src/GeometryTest
options() -I../oce/drv/GeometryTest,
../oce/src/GeometryTest/GeometryTest_CurveCommands.cxx
options() -I../oce/src/GeometryTest
options() -I../oce/drv/GeometryTest,
../oce/src/GeometryTest/GeometryTest_FairCurveCommands.cxx
options() -I../oce/src/GeometryTest
options() -I../oce/drv/GeometryTest,
../oce/src/GeometryTest/GeometryTest_PolyCommands.cxx
options() -I../oce/src/GeometryTest
options() -I../oce/drv/GeometryTest,
../oce/src/GeometryTest/GeometryTest_SurfaceCommands.cxx
options() -I../oce/src/GeometryTest
options() -I../oce/drv/GeometryTest,
../oce/src/GeometryTest/GeometryTest_TestProjCommands.cxx
options() -I../oce/src/GeometryTest
options() -I../oce/drv/GeometryTest,
../oce/src/HLRTest/HLRTest.cxx
options() -I../oce/src/HLRTest
options() -I../oce/drv/HLRTest,
../oce/src/HLRTest/HLRTest_DrawableEdgeTool.cxx
options() -I../oce/src/HLRTest
options() -I../oce/drv/HLRTest,
../oce/src/HLRTest/HLRTest_DrawablePolyEdgeTool.cxx
options() -I../oce/src/HLRTest
options() -I../oce/drv/HLRTest,
../oce/src/HLRTest/HLRTest_OutLiner.cxx
options() -I../oce/src/HLRTest
options() -I../oce/drv/HLRTest,
../oce/src/HLRTest/HLRTest_Projector.cxx
options() -I../oce/src/HLRTest
options() -I../oce/drv/HLRTest,
../oce/src/HLRTest/HLRTest_ShapeData.cxx
options() -I../oce/src/HLRTest
options() -I../oce/drv/HLRTest,
../oce/src/MeshTest/MeshTest.cxx
options() -I../oce/src/MeshTest
options() -I../oce/drv/MeshTest,
../oce/src/MeshTest/MeshTest_CheckTopology.cxx
options() -I../oce/src/MeshTest
options() -I../oce/drv/MeshTest,
../oce/src/MeshTest/MeshTest_DrawableMesh.cxx
options() -I../oce/src/MeshTest
options() -I../oce/drv/MeshTest,
../oce/src/MeshTest/MeshTest_PluginCommands.cxx
options() -I../oce/src/MeshTest
options() -I../oce/drv/MeshTest,
../oce/src/GeomliteTest/GeomliteTest.cxx
options() -I../oce/src/GeomliteTest
options() -I../oce/drv/GeomliteTest,
../oce/src/GeomliteTest/GeomliteTest_API2dCommands.cxx
options() -I../oce/src/GeomliteTest
options() -I../oce/drv/GeomliteTest,
../oce/src/GeomliteTest/GeomliteTest_ApproxCommands.cxx
options() -I../oce/src/GeomliteTest
options() -I../oce/drv/GeomliteTest,
../oce/src/GeomliteTest/GeomliteTest_CurveCommands.cxx
options() -I../oce/src/GeomliteTest
options() -I../oce/drv/GeomliteTest,
../oce/src/GeomliteTest/GeomliteTest_ModificationCommands.cxx
options() -I../oce/src/GeomliteTest
options() -I../oce/drv/GeomliteTest,
../oce/src/GeomliteTest/GeomliteTest_SurfaceCommands.cxx
options() -I../oce/src/GeomliteTest
options() -I../oce/drv/GeomliteTest,
../oce/src/DrawFairCurve/DrawFairCurve_Batten.cxx
options() -I../oce/src/DrawFairCurve
options() -I../oce/drv/DrawFairCurve,
../oce/src/DrawFairCurve/DrawFairCurve_MinimalVariation.cxx
options() -I../oce/src/DrawFairCurve
options() -I../oce/drv/DrawFairCurve,
../oce/src/BOPTest/BOPTest.cxx
options() -I../oce/src/BOPTest
options() -I../oce/drv/BOPTest,
../oce/src/BOPTest/BOPTest_BOPCommands.cxx
options() -I../oce/src/BOPTest
options() -I../oce/drv/BOPTest,
../oce/src/BOPTest/BOPTest_CheckCommands.cxx
options() -I../oce/src/BOPTest
options() -I../oce/drv/BOPTest,
../oce/src/BOPTest/BOPTest_CurveCommands.cxx
options() -I../oce/src/BOPTest
options() -I../oce/drv/BOPTest,
../oce/src/BOPTest/BOPTest_DrawableShape.cxx
options() -I../oce/src/BOPTest
options() -I../oce/drv/BOPTest,
../oce/src/BOPTest/BOPTest_EFCommands.cxx
options() -I../oce/src/BOPTest
options() -I../oce/drv/BOPTest,
../oce/src/BOPTest/BOPTest_LowCommands.cxx
options() -I../oce/src/BOPTest
options() -I../oce/drv/BOPTest,
../oce/src/BOPTest/BOPTest_MTestCommands.cxx
options() -I../oce/src/BOPTest
options() -I../oce/drv/BOPTest,
../oce/src/BOPTest/BOPTest_TSTCommands.cxx
options() -I../oce/src/BOPTest
options() -I../oce/drv/BOPTest,
../oce/src/BOPTest/BOPTest_TolerCommands.cxx
options() -I../oce/src/BOPTest
options() -I../oce/drv/BOPTest,
../oce/src/BOPTest/BOPTest_WSplitCommands.cxx
options() -I../oce/src/BOPTest
options() -I../oce/drv/BOPTest,
../oce/src/Viewer2dTest/Viewer2dTest.cxx
options() -I../oce/src/Viewer2dTest
options() -I../oce/drv/Viewer2dTest,
../oce/src/Viewer2dTest/Viewer2dTest_DisplayCommands.cxx
options() -I../oce/src/Viewer2dTest
options() -I../oce/drv/Viewer2dTest,
../oce/src/Viewer2dTest/Viewer2dTest_EventManager.cxx
options() -I../oce/src/Viewer2dTest
options() -I../oce/drv/Viewer2dTest,
../oce/src/Viewer2dTest/Viewer2dTest_GeneralCommands.cxx
options() -I../oce/src/Viewer2dTest
options() -I../oce/drv/Viewer2dTest,
../oce/src/Viewer2dTest/Viewer2dTest_ObjectCommands.cxx
options() -I../oce/src/Viewer2dTest
options() -I../oce/drv/Viewer2dTest,
../oce/src/Viewer2dTest/Viewer2dTest_ViewerCommands.cxx
options() -I../oce/src/Viewer2dTest
options() -I../oce/drv/Viewer2dTest,
../oce/drv/Viewer2dTest/Viewer2dTest_DataMapIteratorOfDataMapOfText_0.cxx
options() -I../oce/src/Viewer2dTest
options() -I../oce/drv/Viewer2dTest,
../oce/drv/Viewer2dTest/Viewer2dTest_DataMapNodeOfDataMapOfText_0.cxx
options() -I../oce/src/Viewer2dTest
options() -I../oce/drv/Viewer2dTest,
../oce/drv/Viewer2dTest/Viewer2dTest_DataMapOfText_0.cxx
options() -I../oce/src/Viewer2dTest
options() -I../oce/drv/Viewer2dTest,
../oce/drv/Viewer2dTest/Viewer2dTest_DoubleMapIteratorOfDoubleMapOfInteractiveAndName_0.cxx
options() -I../oce/src/Viewer2dTest
options() -I../oce/drv/Viewer2dTest,
../oce/drv/Viewer2dTest/Viewer2dTest_DoubleMapNodeOfDoubleMapOfInteractiveAndName_0.cxx
options() -I../oce/src/Viewer2dTest
options() -I../oce/drv/Viewer2dTest,
../oce/drv/Viewer2dTest/Viewer2dTest_DoubleMapOfInteractiveAndName_0.cxx
options() -I../oce/src/Viewer2dTest
options() -I../oce/drv/Viewer2dTest,
../oce/src/ViewerTest/ViewerTest.cxx
options() -I../oce/src/ViewerTest
options() -I../oce/drv/ViewerTest,
../oce/src/ViewerTest/ViewerTest_AviCommands.cxx
options() -I../oce/src/ViewerTest
options() -I../oce/drv/ViewerTest,
../oce/src/ViewerTest/ViewerTest_EventManager.cxx
options() -I../oce/src/ViewerTest
options() -I../oce/drv/ViewerTest,
../oce/src/ViewerTest/ViewerTest_FilletCommands.cxx
options() -I../oce/src/ViewerTest
options() -I../oce/drv/ViewerTest,
../oce/src/ViewerTest/ViewerTest_ObjectCommands.cxx
options() -I../oce/src/ViewerTest
options() -I../oce/drv/ViewerTest,
../oce/src/ViewerTest/ViewerTest_RelationCommands.cxx
options() -I../oce/src/ViewerTest
options() -I../oce/drv/ViewerTest,
../oce/src/ViewerTest/ViewerTest_Tool.cxx
options() -I../oce/src/ViewerTest
options() -I../oce/drv/ViewerTest,
../oce/src/ViewerTest/ViewerTest_ViewerCommands.cxx
options() -I../oce/src/ViewerTest
options() -I../oce/drv/ViewerTest,
../oce/src/ViewerTest/ViewerTest_VoxelCommands.cxx
options() -I../oce/src/ViewerTest
options() -I../oce/drv/ViewerTest,
../oce/drv/ViewerTest/ViewerTest_DoubleMapIteratorOfDoubleMapOfInteractiveAndName_0.cxx
options() -I../oce/src/ViewerTest
options() -I../oce/drv/ViewerTest,
../oce/drv/ViewerTest/ViewerTest_DoubleMapNodeOfDoubleMapOfInteractiveAndName_0.cxx
options() -I../oce/src/ViewerTest
options() -I../oce/drv/ViewerTest,
../oce/drv/ViewerTest/ViewerTest_DoubleMapOfInteractiveAndName_0.cxx
options() -I../oce/src/ViewerTest
options() -I../oce/drv/ViewerTest,
../oce/src/XDEDRAW/XDEDRAW.cxx
options() -I../oce/src/XDEDRAW
options() -I../oce/drv/XDEDRAW,
../oce/src/XDEDRAW/XDEDRAW_Colors.cxx
options() -I../oce/src/XDEDRAW
options() -I../oce/drv/XDEDRAW,
../oce/src/XDEDRAW/XDEDRAW_Common.cxx
options() -I../oce/src/XDEDRAW
options() -I../oce/drv/XDEDRAW,
../oce/src/XDEDRAW/XDEDRAW_Layers.cxx
options() -I../oce/src/XDEDRAW
options() -I../oce/drv/XDEDRAW,
../oce/src/XDEDRAW/XDEDRAW_Props.cxx
options() -I../oce/src/XDEDRAW
options() -I../oce/drv/XDEDRAW,
../oce/src/XDEDRAW/XDEDRAW_Shapes.cxx
options() -I../oce/src/XDEDRAW
options() -I../oce/drv/XDEDRAW,
../oce/src/SWDRAW/SWDRAW.cxx
options() -I../oce/src/SWDRAW
options() -I../oce/drv/SWDRAW,
../oce/src/SWDRAW/SWDRAW_ShapeAnalysis.cxx
options() -I../oce/src/SWDRAW
options() -I../oce/drv/SWDRAW,
../oce/src/SWDRAW/SWDRAW_ShapeBuild.cxx
options() -I../oce/src/SWDRAW
options() -I../oce/drv/SWDRAW,
../oce/src/SWDRAW/SWDRAW_ShapeConstruct.cxx
options() -I../oce/src/SWDRAW
options() -I../oce/drv/SWDRAW,
../oce/src/SWDRAW/SWDRAW_ShapeCustom.cxx
options() -I../oce/src/SWDRAW
options() -I../oce/drv/SWDRAW,
../oce/src/SWDRAW/SWDRAW_ShapeExtend.cxx
options() -I../oce/src/SWDRAW
options() -I../oce/drv/SWDRAW,
../oce/src/SWDRAW/SWDRAW_ShapeFix.cxx
options() -I../oce/src/SWDRAW
options() -I../oce/drv/SWDRAW,
../oce/src/SWDRAW/SWDRAW_ShapeProcess.cxx
options() -I../oce/src/SWDRAW
options() -I../oce/drv/SWDRAW,
../oce/src/SWDRAW/SWDRAW_ShapeProcessAPI.cxx
options() -I../oce/src/SWDRAW
options() -I../oce/drv/SWDRAW,
../oce/src/SWDRAW/SWDRAW_ShapeTool.cxx
options() -I../oce/src/SWDRAW
options() -I../oce/drv/SWDRAW,
../oce/src/SWDRAW/SWDRAW_ShapeUpgrade.cxx
options() -I../oce/src/SWDRAW
options() -I../oce/drv/SWDRAW,
../oce/src/SWDRAW/SWDRAW_ToVRML.cxx
options() -I../oce/src/SWDRAW
options() -I../oce/drv/SWDRAW,
../oce/src/XSDRAW/XSDRAW.cxx
options() -I../oce/src/XSDRAW
options() -I../oce/drv/XSDRAW,
../oce/src/XSDRAW/XSDRAW_Functions.cxx
options() -I../oce/src/XSDRAW
options() -I../oce/drv/XSDRAW,
../oce/src/XSDRAW/XSDRAW_Shape.cxx
options() -I../oce/src/XSDRAW
options() -I../oce/drv/XSDRAW,
../oce/src/XSDRAW/XSDRAW_Vars.cxx
options() -I../oce/src/XSDRAW
options() -I../oce/drv/XSDRAW,
../oce/src/XSDRAWIGES/XSDRAWIGES.cxx
options() -I../oce/src/XSDRAWIGES
options() -I../oce/drv/XSDRAWIGES,
../oce/src/XSDRAWSTEP/XSDRAWSTEP.cxx
options() -I../oce/src/XSDRAWSTEP
options() -I../oce/drv/XSDRAWSTEP,
../oce/src/XSDRAWSTLVRML/XSDRAWSTLVRML.cxx
options() -I../oce/src/XSDRAWSTLVRML
options() -I../oce/drv/XSDRAWSTLVRML,
../oce/src/XSDRAWSTLVRML/XSDRAWSTLVRML_DataSource.cxx
options() -I../oce/src/XSDRAWSTLVRML
options() -I../oce/drv/XSDRAWSTLVRML,
../oce/src/XSDRAWSTLVRML/XSDRAWSTLVRML_DrawableMesh.cxx
options() -I../oce/src/XSDRAWSTLVRML
options() -I../oce/drv/XSDRAWSTLVRML,
../oce/drv/XSDRAWSTLVRML/XSDRAWSTLVRML_CoordsMap_0.cxx
options() -I../oce/src/XSDRAWSTLVRML
options() -I../oce/drv/XSDRAWSTLVRML,
../oce/drv/XSDRAWSTLVRML/XSDRAWSTLVRML_DataMapIteratorOfCoordsMap_0.cxx
options() -I../oce/src/XSDRAWSTLVRML
options() -I../oce/drv/XSDRAWSTLVRML,
../oce/drv/XSDRAWSTLVRML/XSDRAWSTLVRML_DataMapIteratorOfElemNodesMap_0.cxx
options() -I../oce/src/XSDRAWSTLVRML
options() -I../oce/drv/XSDRAWSTLVRML,
../oce/drv/XSDRAWSTLVRML/XSDRAWSTLVRML_DataMapNodeOfCoordsMap_0.cxx
options() -I../oce/src/XSDRAWSTLVRML
options() -I../oce/drv/XSDRAWSTLVRML,
../oce/drv/XSDRAWSTLVRML/XSDRAWSTLVRML_DataMapNodeOfElemNodesMap_0.cxx
options() -I../oce/src/XSDRAWSTLVRML
options() -I../oce/drv/XSDRAWSTLVRML,
../oce/drv/XSDRAWSTLVRML/XSDRAWSTLVRML_ElemNodesMap_0.cxx
options() -I../oce/src/XSDRAWSTLVRML
options() -I../oce/drv/XSDRAWSTLVRML;

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,72 @@
#ifndef __INTERFACE_GRAPHIC_WNT_HXX
# define __INTERFACE_GRAPHIC_WNT_HXX
#ifdef WNT
# include <windows.h>
# ifdef DrawText
# undef DrawText
# endif /* DrawText */
//for common type naming
# define DISPLAY char
# define WINDOW HWND
# define GLCONTEXT HGLRC
# define GLDRAWABLE HDC
# define GET_GL_CONTEXT() wglGetCurrentContext ()
# define GET_GLDEV_CONTEXT() wglGetCurrentDC()
# define GL_MAKE_CURRENT(a,b,c) wglMakeCurrent(b,c)
#ifdef DrawText
# undef DrawText
#endif /* DrawText */
#define WDF_NOERASEBKGRND 0x00000001
#define WDF_FOREIGN 0x00000002
typedef struct window_data {
void* WNT_Window_Ptr; // pointer to WNT_Window
void* WNT_WDriver_Ptr; // pointer to WNT_WDriver or Visual3d_View
void* WNT_VMgr; // pointer to Visual3d_ViewManager
HPALETTE hPal; // palette handle or NULL
HBITMAP hBmp; // double buffer bitmap handle or NULL
DWORD dwFlags; // additional information
} WINDOW_DATA;
#define faUnderlined 0x00000001
#define faItalic 0x00000002
#define faStrikeOut 0x00000004
#define faBold 0x00000008
#define faHeight 0x00000010
#define faAngle 0x00000020
#define faWidth 0x00000040
#define faSlant 0x00000080
typedef struct font_data {
BOOL fdUnderlined;
BOOL fdItalic;
BOOL fdStrikeOut;
LONG fdBold;
LONG fdHeight;
LONG fdOrientation;
LONG fdWidth;
LONG fdSlant;
} FONT_DATA;
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
long InterfaceGraphic_RealizePalette ( HDC, HPALETTE, BOOL, BOOL );
#ifdef __cplusplus
}
#endif /* __cplusplus */
#endif //WNT
#endif /* __INTERFACE_GRAPHIC_WNT_HXX */

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

7
bazaar/OCE/OCE.h Normal file
View file

@ -0,0 +1,7 @@
#ifndef _OCE_H
#define _OCE_H
#define OCE_HAVE_FSTREAM
#define OCE_HAVE_IOSTREAM
#define OCE_HAVE_IOMANIP
#define OCE_HAVE_LIMITS_H
#endif

View file

@ -0,0 +1,30 @@
OCE -- OpenCascade Community Edition
BEWARE -- THIS PACKAGE REQUIRES (TO DATE 15/01/2012) A PATCHED IDE TO WORK !
Up to the time they'll applied, you can find the patches on forum.
This package MUST be completed with OCE git repository in 'oce' folder, as
sources are too big for Bazaar.
OCE can be fetched with git as following :
cd into OCE package main folder (the one that containe OCE.h file)
issue following command :
git clone git://github.com/tpaviot/oce.git
As an alternative, sources can be fetched as a zip file here :
https://github.com/tpaviot/oce/zipball/master
The important is that after fetching/unpacking the source tree a
folder named 'oce' inside the main Upp OCE folder appears.
Once done, the package is ready for compiling
NOTES :
- by now, for OCE you'll need USEMALLOC flag; OCE still has many memory allocation problems
- The bazaar OCETest package shows some very basic usage
- be *very* patient; compilation must be done without Blitz, so is quite slow !
Max

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,144 @@
noblitz;
library
"glu32 opengl32";
options
-I../../,
-I../../oce/inc,
-DHAVE_FTGL_NEWER212,
-DOCE_BUILD_STATIC_LIB;
options(POSIX) -DHAVE_DIRENT_H;
options(POSIX) -DHAVE_DLFCN_H;
options(POSIX) -DOCE_HAVE_FSTREAM;
options(POSIX) -DHAVE_NETDB_H;
options(POSIX) -DOCE_HAVE_IOSTREAM;
options(POSIX) -DOCE_HAVE_IOMANIP;
options(POSIX) -DOCE_HAVE_LIMITS_H;
options(POSIX) -DHAVE_PWD_H;
options(POSIX) -DHAVE_SIGNAL_H;
options(POSIX) -DHAVE_STATFS;
options(POSIX) -DHAVE_STDLIB_H;
options(POSIX) -DHAVE_STRING_H;
options(POSIX) -DHAVE_SYS_IPC_H;
options(POSIX) -DHAVE_SYS_MMAN_H;
options(POSIX) -DHAVE_SYS_PARAM_H;
options(POSIX) -DHAVE_SYS_SEM_H;
options(POSIX) -DHAVE_SYS_SOCKET_H;
options(POSIX) -DHAVE_SYS_STAT_H;
options(POSIX) -DHAVE_SYS_TIME_H;
options(POSIX) -DHAVE_SYS_TIMES_H;
options(POSIX) -DHAVE_SYS_TYPES_H;
options(POSIX) -DHAVE_SYS_UNISTD_H;
options(POSIX) -DHAVE_SYS_UTSNAME_H;
options(POSIX) -DHAVE_SYS_VFS_H;
options(POSIX) -DHAVE_UNISTD_H;
options(WIN32) -DWNT;
options(WIN32) -DHAVE_NO_DLL;
file
../../oce/src/WNT/EHDC.cxx
options() -I../../oce/src/WNT
options() -I../../oce/drv/WNT,
../../oce/src/WNT/W32_Allocator.cxx
options() -I../../oce/src/WNT
options() -I../../oce/drv/WNT,
../../oce/src/WNT/W95_Allocator.cxx
options() -I../../oce/src/WNT
options() -I../../oce/drv/WNT,
../../oce/src/WNT/WNT_Allocator.cxx
options() -I../../oce/src/WNT
options() -I../../oce/drv/WNT,
../../oce/src/WNT/WNT_ColorRef.cxx
options() -I../../oce/src/WNT
options() -I../../oce/drv/WNT,
../../oce/src/WNT/WNT_DDriver.cxx
options() -I../../oce/src/WNT
options() -I../../oce/drv/WNT,
../../oce/src/WNT/WNT_Dword.cxx
options() -I../../oce/src/WNT
options() -I../../oce/drv/WNT,
../../oce/src/WNT/WNT_FontMapEntry.cxx
options() -I../../oce/src/WNT
options() -I../../oce/drv/WNT,
../../oce/src/WNT/WNT_GraphicDevice.cxx
options() -I../../oce/src/WNT
options() -I../../oce/drv/WNT,
../../oce/src/WNT/WNT_Icon.cxx
options() -I../../oce/src/WNT
options() -I../../oce/drv/WNT,
../../oce/src/WNT/WNT_IconBox.cxx
options() -I../../oce/src/WNT
options() -I../../oce/drv/WNT,
../../oce/src/WNT/WNT_IconBox_1.cxx
options() -I../../oce/src/WNT
options() -I../../oce/drv/WNT,
../../oce/src/WNT/WNT_Image.cxx
options() -I../../oce/src/WNT
options() -I../../oce/drv/WNT,
../../oce/src/WNT/WNT_ImageManager.cxx
options() -I../../oce/src/WNT
options() -I../../oce/drv/WNT,
../../oce/src/WNT/WNT_ImageProcessor.cxx
options() -I../../oce/src/WNT
options() -I../../oce/drv/WNT,
../../oce/src/WNT/WNT_LogFont.cxx
options() -I../../oce/src/WNT
options() -I../../oce/drv/WNT,
../../oce/src/WNT/WNT_Long.cxx
options() -I../../oce/src/WNT
options() -I../../oce/drv/WNT,
../../oce/src/WNT/WNT_MFTDraw.cxx
options() -I../../oce/src/WNT
options() -I../../oce/drv/WNT,
../../oce/src/WNT/WNT_PixMap.cxx
options() -I../../oce/src/WNT
options() -I../../oce/drv/WNT,
../../oce/src/WNT/WNT_TextManager.cxx
options() -I../../oce/src/WNT
options() -I../../oce/drv/WNT,
../../oce/src/WNT/WNT_Uint.cxx
options() -I../../oce/src/WNT
options() -I../../oce/drv/WNT,
../../oce/src/WNT/WNT_WClass.cxx
options() -I../../oce/src/WNT
options() -I../../oce/drv/WNT,
../../oce/src/WNT/WNT_WDriver.cxx
options() -I../../oce/src/WNT
options() -I../../oce/drv/WNT,
../../oce/src/WNT/WNT_Window.cxx
options() -I../../oce/src/WNT
options() -I../../oce/drv/WNT,
../../oce/src/WNT/WNT_WindowData.cxx
options() -I../../oce/src/WNT
options() -I../../oce/drv/WNT,
../../oce/src/WNT/WNT_WndProc.cxx
options() -I../../oce/src/WNT
options() -I../../oce/drv/WNT,
../../oce/drv/WNT/WNT_ClassDefinitionError_0.cxx
options() -I../../oce/src/WNT
options() -I../../oce/drv/WNT,
../../oce/drv/WNT/WNT_ColorTable_0.cxx
options() -I../../oce/src/WNT
options() -I../../oce/drv/WNT,
../../oce/drv/WNT/WNT_FontMapEntryDefinitionError_0.cxx
options() -I../../oce/src/WNT
options() -I../../oce/drv/WNT,
../../oce/drv/WNT/WNT_FontTable_0.cxx
options() -I../../oce/src/WNT
options() -I../../oce/drv/WNT,
../../oce/drv/WNT/WNT_HColorTable_0.cxx
options() -I../../oce/src/WNT
options() -I../../oce/drv/WNT,
../../oce/drv/WNT/WNT_HFontTable_0.cxx
options() -I../../oce/src/WNT
options() -I../../oce/drv/WNT,
../../oce/drv/WNT/WNT_HListOfMFTFonts_0.cxx
options() -I../../oce/src/WNT
options() -I../../oce/drv/WNT,
../../oce/drv/WNT/WNT_ListOfMFTFonts_0.cxx
options() -I../../oce/src/WNT
options() -I../../oce/drv/WNT,
../../oce/drv/WNT/WNT_SequenceNodeOfSequenceOfImage_0.cxx
options() -I../../oce/src/WNT
options() -I../../oce/drv/WNT,
../../oce/drv/WNT/WNT_SequenceOfImage_0.cxx
options() -I../../oce/src/WNT
options() -I../../oce/drv/WNT;

View file

@ -0,0 +1,516 @@
noblitz;
library
"GL GLU Xmu";
options
-I../../,
-I../../oce/inc,
-DHAVE_FTGL_NEWER212,
-DOCE_BUILD_STATIC_LIB;
options(POSIX) -DHAVE_DIRENT_H;
options(POSIX) -DHAVE_DLFCN_H;
options(POSIX) -DOCE_HAVE_FSTREAM;
options(POSIX) -DHAVE_NETDB_H;
options(POSIX) -DOCE_HAVE_IOSTREAM;
options(POSIX) -DOCE_HAVE_IOMANIP;
options(POSIX) -DOCE_HAVE_LIMITS_H;
options(POSIX) -DHAVE_PWD_H;
options(POSIX) -DHAVE_SIGNAL_H;
options(POSIX) -DHAVE_STATFS;
options(POSIX) -DHAVE_STDLIB_H;
options(POSIX) -DHAVE_STRING_H;
options(POSIX) -DHAVE_SYS_IPC_H;
options(POSIX) -DHAVE_SYS_MMAN_H;
options(POSIX) -DHAVE_SYS_PARAM_H;
options(POSIX) -DHAVE_SYS_SEM_H;
options(POSIX) -DHAVE_SYS_SOCKET_H;
options(POSIX) -DHAVE_SYS_STAT_H;
options(POSIX) -DHAVE_SYS_TIME_H;
options(POSIX) -DHAVE_SYS_TIMES_H;
options(POSIX) -DHAVE_SYS_TYPES_H;
options(POSIX) -DHAVE_SYS_UNISTD_H;
options(POSIX) -DHAVE_SYS_UTSNAME_H;
options(POSIX) -DHAVE_SYS_VFS_H;
options(POSIX) -DHAVE_UNISTD_H;
options(WIN32) -DWNT;
options(WIN32) -DHAVE_NO_DLL;
file
../../oce/src/Xw/Xw.cxx
options() -I../../oce/src/Xw
options() -I../../oce/drv/Xw,
../../oce/src/Xw/Xw_ColorMap.cxx
options() -I../../oce/src/Xw
options() -I../../oce/drv/Xw,
../../oce/src/Xw/Xw_Driver.cxx
options() -I../../oce/src/Xw
options() -I../../oce/drv/Xw,
../../oce/src/Xw/Xw_FontMap.cxx
options() -I../../oce/src/Xw
options() -I../../oce/drv/Xw,
../../oce/src/Xw/Xw_GraphicDevice.cxx
options() -I../../oce/src/Xw
options() -I../../oce/drv/Xw,
../../oce/src/Xw/Xw_IconBox.cxx
options() -I../../oce/src/Xw
options() -I../../oce/drv/Xw,
../../oce/src/Xw/Xw_MarkMap.cxx
options() -I../../oce/src/Xw
options() -I../../oce/drv/Xw,
../../oce/src/Xw/Xw_PixMap.cxx
options() -I../../oce/src/Xw
options() -I../../oce/drv/Xw,
../../oce/src/Xw/Xw_TextManager.cxx
options() -I../../oce/src/Xw
options() -I../../oce/drv/Xw,
../../oce/src/Xw/Xw_TypeMap.cxx
options() -I../../oce/src/Xw
options() -I../../oce/drv/Xw,
../../oce/src/Xw/Xw_WidthMap.cxx
options() -I../../oce/src/Xw
options() -I../../oce/drv/Xw,
../../oce/src/Xw/Xw_Window.cxx
options() -I../../oce/src/Xw
options() -I../../oce/drv/Xw,
../../oce/src/Xw/Xw_alloc_color.cxx
options() -I../../oce/src/Xw
options() -I../../oce/drv/Xw,
../../oce/src/Xw/Xw_alloc_pixel.cxx
options() -I../../oce/src/Xw
options() -I../../oce/drv/Xw,
../../oce/src/Xw/Xw_calc_points.cxx
options() -I../../oce/src/Xw
options() -I../../oce/drv/Xw,
../../oce/src/Xw/Xw_convert_image.cxx
options() -I../../oce/src/Xw
options() -I../../oce/drv/Xw,
../../oce/src/Xw/Xw_def_background_color.cxx
options() -I../../oce/src/Xw
options() -I../../oce/drv/Xw,
../../oce/src/Xw/Xw_def_color.cxx
options() -I../../oce/src/Xw
options() -I../../oce/drv/Xw,
../../oce/src/Xw/Xw_def_colormap.cxx
options() -I../../oce/src/Xw
options() -I../../oce/drv/Xw,
../../oce/src/Xw/Xw_def_font.cxx
options() -I../../oce/src/Xw
options() -I../../oce/drv/Xw,
../../oce/src/Xw/Xw_def_fontmap.cxx
options() -I../../oce/src/Xw
options() -I../../oce/drv/Xw,
../../oce/src/Xw/Xw_def_highlight_color.cxx
options() -I../../oce/src/Xw
options() -I../../oce/drv/Xw,
../../oce/src/Xw/Xw_def_marker.cxx
options() -I../../oce/src/Xw
options() -I../../oce/drv/Xw,
../../oce/src/Xw/Xw_def_markmap.cxx
options() -I../../oce/src/Xw
options() -I../../oce/drv/Xw,
../../oce/src/Xw/Xw_def_tile.cxx
options() -I../../oce/src/Xw
options() -I../../oce/drv/Xw,
../../oce/src/Xw/Xw_def_tilemap.cxx
options() -I../../oce/src/Xw
options() -I../../oce/drv/Xw,
../../oce/src/Xw/Xw_def_type.cxx
options() -I../../oce/src/Xw
options() -I../../oce/drv/Xw,
../../oce/src/Xw/Xw_def_typemap.cxx
options() -I../../oce/src/Xw
options() -I../../oce/drv/Xw,
../../oce/src/Xw/Xw_def_width.cxx
options() -I../../oce/src/Xw
options() -I../../oce/drv/Xw,
../../oce/src/Xw/Xw_def_widthmap.cxx
options() -I../../oce/src/Xw
options() -I../../oce/drv/Xw,
../../oce/src/Xw/Xw_def_window.cxx
options() -I../../oce/src/Xw
options() -I../../oce/drv/Xw,
../../oce/src/Xw/Xw_draw_arc.cxx
options() -I../../oce/src/Xw
options() -I../../oce/drv/Xw,
../../oce/src/Xw/Xw_draw_buffer.cxx
options() -I../../oce/src/Xw
options() -I../../oce/drv/Xw,
../../oce/src/Xw/Xw_draw_image.cxx
options() -I../../oce/src/Xw
options() -I../../oce/drv/Xw,
../../oce/src/Xw/Xw_draw_line.cxx
options() -I../../oce/src/Xw
options() -I../../oce/drv/Xw,
../../oce/src/Xw/Xw_draw_marker.cxx
options() -I../../oce/src/Xw
options() -I../../oce/drv/Xw,
../../oce/src/Xw/Xw_draw_point.cxx
options() -I../../oce/src/Xw
options() -I../../oce/drv/Xw,
../../oce/src/Xw/Xw_draw_poly.cxx
options() -I../../oce/src/Xw
options() -I../../oce/drv/Xw,
../../oce/src/Xw/Xw_draw_polyarc.cxx
options() -I../../oce/src/Xw
options() -I../../oce/drv/Xw,
../../oce/src/Xw/Xw_draw_polytext.cxx
options() -I../../oce/src/Xw
options() -I../../oce/drv/Xw,
../../oce/src/Xw/Xw_draw_segment.cxx
options() -I../../oce/src/Xw
options() -I../../oce/drv/Xw,
../../oce/src/Xw/Xw_draw_text.cxx
options() -I../../oce/src/Xw
options() -I../../oce/drv/Xw,
../../oce/src/Xw/Xw_draw_zoomed_image.cxx
options() -I../../oce/src/Xw
options() -I../../oce/drv/Xw,
../../oce/src/Xw/Xw_erase_area.cxx
options() -I../../oce/src/Xw
options() -I../../oce/drv/Xw,
../../oce/src/Xw/Xw_erase_window.cxx
options() -I../../oce/src/Xw
options() -I../../oce/drv/Xw,
../../oce/src/Xw/Xw_flush.cxx
options() -I../../oce/src/Xw
options() -I../../oce/drv/Xw,
../../oce/src/Xw/Xw_gamma_image.cxx
options() -I../../oce/src/Xw
options() -I../../oce/drv/Xw,
../../oce/src/Xw/Xw_get_background_color.cxx
options() -I../../oce/src/Xw
options() -I../../oce/drv/Xw,
../../oce/src/Xw/Xw_get_background_image.cxx
options() -I../../oce/src/Xw
options() -I../../oce/drv/Xw,
../../oce/src/Xw/Xw_get_background_index.cxx
options() -I../../oce/src/Xw
options() -I../../oce/drv/Xw,
../../oce/src/Xw/Xw_get_background_pixel.cxx
options() -I../../oce/src/Xw
options() -I../../oce/drv/Xw,
../../oce/src/Xw/Xw_get_color.cxx
options() -I../../oce/src/Xw
options() -I../../oce/drv/Xw,
../../oce/src/Xw/Xw_get_color_index.cxx
options() -I../../oce/src/Xw
options() -I../../oce/drv/Xw,
../../oce/src/Xw/Xw_get_color_name.cxx
options() -I../../oce/src/Xw
options() -I../../oce/drv/Xw,
../../oce/src/Xw/Xw_get_color_pixel.cxx
options() -I../../oce/src/Xw
options() -I../../oce/drv/Xw,
../../oce/src/Xw/Xw_get_colormap_info.cxx
options() -I../../oce/src/Xw
options() -I../../oce/drv/Xw,
../../oce/src/Xw/Xw_get_colormap_visual.cxx
options() -I../../oce/src/Xw
options() -I../../oce/drv/Xw,
../../oce/src/Xw/Xw_get_colormap_xid.cxx
options() -I../../oce/src/Xw
options() -I../../oce/drv/Xw,
../../oce/src/Xw/Xw_get_cursor_position.cxx
options() -I../../oce/src/Xw
options() -I../../oce/drv/Xw,
../../oce/src/Xw/Xw_get_display_info.cxx
options() -I../../oce/src/Xw
options() -I../../oce/drv/Xw,
../../oce/src/Xw/Xw_get_display_visual.cxx
options() -I../../oce/src/Xw
options() -I../../oce/drv/Xw,
../../oce/src/Xw/Xw_get_double_buffer.cxx
options() -I../../oce/src/Xw
options() -I../../oce/drv/Xw,
../../oce/src/Xw/Xw_get_env.cxx
options() -I../../oce/src/Xw
options() -I../../oce/drv/Xw,
../../oce/src/Xw/Xw_get_filename.cxx
options() -I../../oce/src/Xw
options() -I../../oce/drv/Xw,
../../oce/src/Xw/Xw_get_font.cxx
options() -I../../oce/src/Xw
options() -I../../oce/drv/Xw,
../../oce/src/Xw/Xw_get_font_index.cxx
options() -I../../oce/src/Xw
options() -I../../oce/drv/Xw,
../../oce/src/Xw/Xw_get_fontmap_info.cxx
options() -I../../oce/src/Xw
options() -I../../oce/drv/Xw,
../../oce/src/Xw/Xw_get_highlight_color.cxx
options() -I../../oce/src/Xw
options() -I../../oce/drv/Xw,
../../oce/src/Xw/Xw_get_image.cxx
options() -I../../oce/src/Xw
options() -I../../oce/drv/Xw,
../../oce/src/Xw/Xw_get_image_info.cxx
options() -I../../oce/src/Xw
options() -I../../oce/drv/Xw,
../../oce/src/Xw/Xw_get_marker_index.cxx
options() -I../../oce/src/Xw
options() -I../../oce/drv/Xw,
../../oce/src/Xw/Xw_get_markmap_info.cxx
options() -I../../oce/src/Xw
options() -I../../oce/drv/Xw,
../../oce/src/Xw/Xw_get_mmscreen_pixelvalue.cxx
options() -I../../oce/src/Xw
options() -I../../oce/drv/Xw,
../../oce/src/Xw/Xw_get_pixel.cxx
options() -I../../oce/src/Xw
options() -I../../oce/drv/Xw,
../../oce/src/Xw/Xw_get_pixel_mmscreenvalue.cxx
options() -I../../oce/src/Xw
options() -I../../oce/drv/Xw,
../../oce/src/Xw/Xw_get_pixel_screencoord.cxx
options() -I../../oce/src/Xw
options() -I../../oce/drv/Xw,
../../oce/src/Xw/Xw_get_pixel_screenvalue.cxx
options() -I../../oce/src/Xw
options() -I../../oce/drv/Xw,
../../oce/src/Xw/Xw_get_pixel_windowcoord.cxx
options() -I../../oce/src/Xw
options() -I../../oce/drv/Xw,
../../oce/src/Xw/Xw_get_pixel_windowvalue.cxx
options() -I../../oce/src/Xw
options() -I../../oce/drv/Xw,
../../oce/src/Xw/Xw_get_rgbpixel.cxx
options() -I../../oce/src/Xw
options() -I../../oce/drv/Xw,
../../oce/src/Xw/Xw_get_screen_pixelcoord.cxx
options() -I../../oce/src/Xw
options() -I../../oce/drv/Xw,
../../oce/src/Xw/Xw_get_screen_pixelvalue.cxx
options() -I../../oce/src/Xw
options() -I../../oce/drv/Xw,
../../oce/src/Xw/Xw_get_screen_size.cxx
options() -I../../oce/src/Xw
options() -I../../oce/drv/Xw,
../../oce/src/Xw/Xw_get_text_size.cxx
options() -I../../oce/src/Xw
options() -I../../oce/drv/Xw,
../../oce/src/Xw/Xw_get_tilemap_info.cxx
options() -I../../oce/src/Xw
options() -I../../oce/drv/Xw,
../../oce/src/Xw/Xw_get_type.cxx
options() -I../../oce/src/Xw
options() -I../../oce/drv/Xw,
../../oce/src/Xw/Xw_get_type_index.cxx
options() -I../../oce/src/Xw
options() -I../../oce/drv/Xw,
../../oce/src/Xw/Xw_get_typemap_info.cxx
options() -I../../oce/src/Xw
options() -I../../oce/drv/Xw,
../../oce/src/Xw/Xw_get_width.cxx
options() -I../../oce/src/Xw
options() -I../../oce/drv/Xw,
../../oce/src/Xw/Xw_get_width_index.cxx
options() -I../../oce/src/Xw
options() -I../../oce/drv/Xw,
../../oce/src/Xw/Xw_get_widthmap_info.cxx
options() -I../../oce/src/Xw
options() -I../../oce/drv/Xw,
../../oce/src/Xw/Xw_get_window_info.cxx
options() -I../../oce/src/Xw
options() -I../../oce/drv/Xw,
../../oce/src/Xw/Xw_get_window_pixelcoord.cxx
options() -I../../oce/src/Xw
options() -I../../oce/drv/Xw,
../../oce/src/Xw/Xw_get_window_pixelvalue.cxx
options() -I../../oce/src/Xw
options() -I../../oce/drv/Xw,
../../oce/src/Xw/Xw_get_window_position.cxx
options() -I../../oce/src/Xw
options() -I../../oce/drv/Xw,
../../oce/src/Xw/Xw_get_window_visual.cxx
options() -I../../oce/src/Xw
options() -I../../oce/drv/Xw,
../../oce/src/Xw/Xw_isdefine_color.cxx
options() -I../../oce/src/Xw
options() -I../../oce/drv/Xw,
../../oce/src/Xw/Xw_isdefine_colormap.cxx
options() -I../../oce/src/Xw
options() -I../../oce/drv/Xw,
../../oce/src/Xw/Xw_isdefine_display.cxx
options() -I../../oce/src/Xw
options() -I../../oce/drv/Xw,
../../oce/src/Xw/Xw_isdefine_font.cxx
options() -I../../oce/src/Xw
options() -I../../oce/drv/Xw,
../../oce/src/Xw/Xw_isdefine_fontmap.cxx
options() -I../../oce/src/Xw
options() -I../../oce/drv/Xw,
../../oce/src/Xw/Xw_isdefine_image.cxx
options() -I../../oce/src/Xw
options() -I../../oce/drv/Xw,
../../oce/src/Xw/Xw_isdefine_marker.cxx
options() -I../../oce/src/Xw
options() -I../../oce/drv/Xw,
../../oce/src/Xw/Xw_isdefine_markmap.cxx
options() -I../../oce/src/Xw
options() -I../../oce/drv/Xw,
../../oce/src/Xw/Xw_isdefine_tile.cxx
options() -I../../oce/src/Xw
options() -I../../oce/drv/Xw,
../../oce/src/Xw/Xw_isdefine_tilemap.cxx
options() -I../../oce/src/Xw
options() -I../../oce/drv/Xw,
../../oce/src/Xw/Xw_isdefine_type.cxx
options() -I../../oce/src/Xw
options() -I../../oce/drv/Xw,
../../oce/src/Xw/Xw_isdefine_typemap.cxx
options() -I../../oce/src/Xw
options() -I../../oce/drv/Xw,
../../oce/src/Xw/Xw_isdefine_width.cxx
options() -I../../oce/src/Xw
options() -I../../oce/drv/Xw,
../../oce/src/Xw/Xw_isdefine_widthmap.cxx
options() -I../../oce/src/Xw
options() -I../../oce/drv/Xw,
../../oce/src/Xw/Xw_isdefine_window.cxx
options() -I../../oce/src/Xw
options() -I../../oce/drv/Xw,
../../oce/src/Xw/Xw_load_bmp_image.cxx
options() -I../../oce/src/Xw
options() -I../../oce/drv/Xw,
../../oce/src/Xw/Xw_load_gif_image.cxx
options() -I../../oce/src/Xw
options() -I../../oce/drv/Xw,
../../oce/src/Xw/Xw_load_icons.cxx
options() -I../../oce/src/Xw
options() -I../../oce/drv/Xw,
../../oce/src/Xw/Xw_load_image.cxx
options() -I../../oce/src/Xw
options() -I../../oce/drv/Xw,
../../oce/src/Xw/Xw_load_xwd_image.cxx
options() -I../../oce/src/Xw
options() -I../../oce/drv/Xw,
../../oce/src/Xw/Xw_open_display.cxx
options() -I../../oce/src/Xw
options() -I../../oce/drv/Xw,
../../oce/src/Xw/Xw_open_image.cxx
options() -I../../oce/src/Xw
options() -I../../oce/drv/Xw,
../../oce/src/Xw/Xw_open_pixmap.cxx
options() -I../../oce/src/Xw
options() -I../../oce/drv/Xw,
../../oce/src/Xw/Xw_open_window.cxx
options() -I../../oce/src/Xw
options() -I../../oce/drv/Xw,
../../oce/src/Xw/Xw_put_background_image.cxx
options() -I../../oce/src/Xw
options() -I../../oce/drv/Xw,
../../oce/src/Xw/Xw_put_pixel.cxx
options() -I../../oce/src/Xw
options() -I../../oce/drv/Xw,
../../oce/src/Xw/Xw_put_rgbpixel.cxx
options() -I../../oce/src/Xw
options() -I../../oce/drv/Xw,
../../oce/src/Xw/Xw_resize_window.cxx
options() -I../../oce/src/Xw
options() -I../../oce/drv/Xw,
../../oce/src/Xw/Xw_restore_area.cxx
options() -I../../oce/src/Xw
options() -I../../oce/drv/Xw,
../../oce/src/Xw/Xw_restore_window.cxx
options() -I../../oce/src/Xw
options() -I../../oce/drv/Xw,
../../oce/src/Xw/Xw_save_image.cxx
options() -I../../oce/src/Xw
options() -I../../oce/drv/Xw,
../../oce/src/Xw/Xw_set_background_index.cxx
options() -I../../oce/src/Xw
options() -I../../oce/drv/Xw,
../../oce/src/Xw/Xw_set_colormap.cxx
options() -I../../oce/src/Xw
options() -I../../oce/drv/Xw,
../../oce/src/Xw/Xw_set_double_buffer.cxx
options() -I../../oce/src/Xw
options() -I../../oce/drv/Xw,
../../oce/src/Xw/Xw_set_event.cxx
options() -I../../oce/src/Xw
options() -I../../oce/drv/Xw,
../../oce/src/Xw/Xw_set_extended_text_attrib.cxx
options() -I../../oce/src/Xw
options() -I../../oce/drv/Xw,
../../oce/src/Xw/Xw_set_fontmap.cxx
options() -I../../oce/src/Xw
options() -I../../oce/drv/Xw,
../../oce/src/Xw/Xw_set_hard_cursor.cxx
options() -I../../oce/src/Xw
options() -I../../oce/drv/Xw,
../../oce/src/Xw/Xw_set_internal_event.cxx
options() -I../../oce/src/Xw
options() -I../../oce/drv/Xw,
../../oce/src/Xw/Xw_set_line_attrib.cxx
options() -I../../oce/src/Xw
options() -I../../oce/drv/Xw,
../../oce/src/Xw/Xw_set_marker_attrib.cxx
options() -I../../oce/src/Xw
options() -I../../oce/drv/Xw,
../../oce/src/Xw/Xw_set_markmap.cxx
options() -I../../oce/src/Xw
options() -I../../oce/drv/Xw,
../../oce/src/Xw/Xw_set_poly_attrib.cxx
options() -I../../oce/src/Xw
options() -I../../oce/drv/Xw,
../../oce/src/Xw/Xw_set_soft_cursor.cxx
options() -I../../oce/src/Xw
options() -I../../oce/drv/Xw,
../../oce/src/Xw/Xw_set_text_attrib.cxx
options() -I../../oce/src/Xw
options() -I../../oce/drv/Xw,
../../oce/src/Xw/Xw_set_tilemap.cxx
options() -I../../oce/src/Xw
options() -I../../oce/drv/Xw,
../../oce/src/Xw/Xw_set_trace.cxx
options() -I../../oce/src/Xw
options() -I../../oce/drv/Xw,
../../oce/src/Xw/Xw_set_typemap.cxx
options() -I../../oce/src/Xw
options() -I../../oce/drv/Xw,
../../oce/src/Xw/Xw_set_widthmap.cxx
options() -I../../oce/src/Xw
options() -I../../oce/drv/Xw,
../../oce/src/Xw/Xw_set_window_ratio.cxx
options() -I../../oce/src/Xw
options() -I../../oce/drv/Xw,
../../oce/src/Xw/Xw_set_window_state.cxx
options() -I../../oce/src/Xw
options() -I../../oce/drv/Xw,
../../oce/src/Xw/Xw_wait_event.cxx
options() -I../../oce/src/Xw
options() -I../../oce/drv/Xw,
../../oce/src/Xw/Xw_zoom_image.cxx
options() -I../../oce/src/Xw
options() -I../../oce/drv/Xw,
../../oce/drv/Xw/Xw_HListOfMFTFonts_0.cxx
options() -I../../oce/src/Xw
options() -I../../oce/drv/Xw,
../../oce/drv/Xw/Xw_ListOfMFTFonts_0.cxx
options() -I../../oce/src/Xw
options() -I../../oce/drv/Xw,
../../oce/src/ImageUtility/ImageUtility.cxx
options() -I../../oce/src/ImageUtility
options() -I../../oce/drv/ImageUtility,
../../oce/src/ImageUtility/ImageUtility_X11Display.cxx
options() -I../../oce/src/ImageUtility
options() -I../../oce/drv/ImageUtility,
../../oce/src/ImageUtility/ImageUtility_X11Dump.cxx
options() -I../../oce/src/ImageUtility
options() -I../../oce/drv/ImageUtility,
../../oce/src/ImageUtility/ImageUtility_X11GC.cxx
options() -I../../oce/src/ImageUtility
options() -I../../oce/drv/ImageUtility,
../../oce/src/ImageUtility/ImageUtility_X11Window.cxx
options() -I../../oce/src/ImageUtility
options() -I../../oce/drv/ImageUtility,
../../oce/src/ImageUtility/ImageUtility_X11XImage.cxx
options() -I../../oce/src/ImageUtility
options() -I../../oce/drv/ImageUtility,
../../oce/src/ImageUtility/ImageUtility_XPR.cxx
options() -I../../oce/src/ImageUtility
options() -I../../oce/drv/ImageUtility,
../../oce/src/ImageUtility/ImageUtility_XWD.cxx
options() -I../../oce/src/ImageUtility
options() -I../../oce/drv/ImageUtility,
../../oce/src/ImageUtility/ImageUtility_XWUD.cxx
options() -I../../oce/src/ImageUtility
options() -I../../oce/drv/ImageUtility;

View file

@ -0,0 +1,76 @@
#include "CascadeDocument.h"
/////////////////////////////////////////////////////////////////////////////////////////
// Static members initialization
#ifdef WIN32
Handle(Graphic3d_WNTGraphicDevice) CascadeDocument::GraphicDevice = 0;
#else
Handle(Graphic3d_GraphicDevice) CascadeDocument::GraphicDevice = 0;
#endif
int CascadeDocument::Instances = 0;
/////////////////////////////////////////////////////////////////////////////////////////
// Constructor
CascadeDocument::CascadeDocument()
{
// CREATES THE GRAPHIC DEVICE
if( GraphicDevice.IsNull() )
#ifdef WIN32
GraphicDevice = new Graphic3d_WNTGraphicDevice();
#else
// GraphicDevice = new Graphic3d_GraphicDevice(getenv("DISPLAY"));
GraphicDevice = new Graphic3d_GraphicDevice(getenv(""));
#endif
// CREATES THE VIEWER
TCollection_ExtendedString a3DName("Visu3D");
Viewer = new V3d_Viewer(
GraphicDevice, // the graphic device
a3DName.ToExtString(), // view name
"", // domain (?)
1000.0, // view size
V3d_XposYnegZpos, // View projection
Quantity_NOC_GRAY30,
V3d_ZBUFFER,
V3d_GOURAUD,
V3d_WAIT,
Standard_True, // Computed mode (?)
Standard_True, // Default Computed mode (?)
V3d_TEX_NONE // (?)
);
// INITIALIZES THE VIEWER
Viewer->Init();
Viewer->SetDefaultLights();
Viewer->SetLightOn();
// CREATES THE INTERACTIVE CONTEXT
Context = new AIS_InteractiveContext(Viewer);
// onCreateNewView();
// COUNTS THE INSTANCES OF CascadeCtrl
// THAT'S USED TO FREE GraphicDevice ON LAST CascadeCtrl DELETION
Instances++;
} // END Constructor class CascadeDocument
/////////////////////////////////////////////////////////////////////////////////////////
// Destructor
CascadeDocument::~CascadeDocument()
{
// FREES THE CONTEXT
Context.Nullify();
// FREES THE VIEWER
Viewer.Nullify();
// DECREMENT INSTANCE COUNTER, IF NULL FREES GraphicDevice
//ASSERT(Instances > 0);
if(!--Instances)
{
GraphicDevice.Nullify();
}
} // END Destructor class CascadeDocument

View file

@ -0,0 +1,62 @@
#ifndef _CascadeDocument_h_
#define _CascadeDocument_h_
#include <Core/Core.h>
#include <OCE/OCE.h>
#ifdef WIN32
#include <WNT_Window.hxx>
#include <Graphic3d_WNTGraphicDevice.hxx>
#else
#include <Xw_Window.hxx>
#include <Graphic3d_GraphicDevice.hxx>
#endif
#include <V3d_Viewer.hxx>
#include <AIS_InteractiveContext.hxx>
class CascadeDocument
{
private:
// THE GRAPHIC DEVICE -- STATIC, COMMON TO ALL CascadeDocuments
#ifndef WIN32
static Handle(Graphic3d_GraphicDevice) GraphicDevice;
#else
static Handle(Graphic3d_WNTGraphicDevice) GraphicDevice;
#endif
// THE VIEWER
Handle(V3d_Viewer) Viewer;
// THE INTERACTIVE CONTEXT
Handle(AIS_InteractiveContext) Context;
// NUMBER OF CREATED INSTANCES
static int Instances;
public:
// Constructor
CascadeDocument();
// Destructor
~CascadeDocument();
// Graphic device property
#ifndef WIN32
Handle(Graphic3d_GraphicDevice) const &GetGraphicDevice() {return GraphicDevice; };
#else
Handle(Graphic3d_WNTGraphicDevice) const &GetGraphicDevice() {return GraphicDevice; };
#endif
// Viewer property
Handle(V3d_Viewer) const &GetViewer() { return Viewer; };
// Interactive context property
Handle(AIS_InteractiveContext) const &GetContext() { return Context; };
}; // END Class CascadeDocument
#endif

View file

@ -0,0 +1,334 @@
#include "CascadeView.h"
#ifdef WIN32
#include <WNT_Window.hxx>
#include <Graphic3d_WNTGraphicDevice.hxx>
#else
#include <Xw_Window.hxx>
#include <Graphic3d_GraphicDevice.hxx>
#endif
using namespace Upp;
/////////////////////////////////////////////////////////////////////////////////////////
// Constructor
CascadeView::CascadeView(CascadeDocument *Doc)
{
// Stores the document
Document = Doc;
// Resets view pointer
View.Nullify();
// Resets panning and rotate flag
isPanning = false;
isRotating = false;
// Resets Pan start point to a default value
PanStartPoint.SetNull();
} // END Constructor class CascadeView
/////////////////////////////////////////////////////////////////////////////////////////
// Destructor
CascadeView::~CascadeView()
{
// Resets document handle
Document = 0;
// Resets view handle
View.Nullify();
} // END Destructor class CascadeView
#ifdef PLATFORM_X11
/////////////////////////////////////////////////////////////////////////////////////////
// Method to choose the correct visual
XVisualInfo *CascadeView::CreateVisual(void)
{
int visualAttr[] =
{
GLX_RGBA,
GLX_DEPTH_SIZE, 1,
GLX_RED_SIZE, 1,
GLX_GREEN_SIZE, 1,
GLX_BLUE_SIZE, 1,
GLX_DOUBLEBUFFER, None
};
XVisualInfo *pVisualInfo = ::glXChooseVisual( Xdisplay, DefaultScreen(Xdisplay), visualAttr );
return pVisualInfo;
} // END CascadeView::CreateVisual()
/////////////////////////////////////////////////////////////////////////////////////////
// Method for attribute setting
void CascadeView::SetAttributes(unsigned long &ValueMask, XSetWindowAttributes &attr)
{
ValueMask |=
CWBackPixel
| CWBorderPixel
;
attr.background_pixel = 0;
attr.border_pixel = 0;
} // END CascadeView::SetAttributes()
/////////////////////////////////////////////////////////////////////////////////////////
// GLInit method
void CascadeView::AfterInit(bool isError)
{
if(isError)
return;
// Gets the window handle
Window WindowHandle = GetWindow();
// Creates the view object
View = Document->GetViewer()->CreateView();
// Creates the OpenCascade window handle
short lo = (short) WindowHandle;
short hi = (short) (WindowHandle >> 16);
Handle(Xw_Window) hWnd = new Xw_Window(Handle(Graphic3d_GraphicDevice)::DownCast(Document->GetViewer()->Device()),(int) hi,(int) lo,Xw_WQ_SAMEQUALITY);
// Handle(Xw_Window) hWnd = new Xw_Window(Document->getGraphicDevice(), WindowHandle);
// Sets window handle in view
View->SetWindow(hWnd);
// Maps the view if needed
if ( !hWnd->IsMapped() )
hWnd->Map();
// platform intependent part
InitView();
} // END CascadeView::AfterInit()
/////////////////////////////////////////////////////////////////////////////////////////
// These is called just before termination
void CascadeView::BeforeTerminate(void)
{
if(!View.IsNull())
View.Nullify();
} // END CascadeView::BeforeTerminate()
#else
void CascadeView::State(int reason)
{
if (reason == CLOSE)
{
if(!View.IsNull())
View.Nullify();
}
DHCtrl::State(reason);
if (reason == OPEN)
{
// platform dependent part
// Gets the window handle
HWND windowHandle = GetHWND();
// Creates the view object
View = Document->GetViewer()->CreateView();
// Creates the OpenCascade window handle
Handle(WNT_Window) hWnd = new WNT_Window(Document->GetGraphicDevice(), windowHandle);
// Sets window handle in view
View->SetWindow(hWnd);
// Maps the view if needed
if ( !hWnd->IsMapped() )
hWnd->Map();
// platform intependent part
InitView();
};
}
#endif
/////////////////////////////////////////////////////////////////////////////////////////
// initializes view after platform-dependent init
void CascadeView::InitView(void)
{
// Sets the background color
View->SetBackgroundColor(Quantity_NOC_BLACK);
// Sets up the triedron
View->TriedronDisplay(Aspect_TOTP_LEFT_LOWER, Quantity_NOC_WHITE, 0.1, V3d_ZBUFFER);
View->TriedronEcho(Aspect_TOTE_ORIGIN); // ???
// Activate the grid
Document->GetViewer()->ActivateGrid(Aspect_GT_Rectangular, Aspect_GDM_Lines);
Document->GetViewer()->SetGridEcho(Standard_True);
View->SetTransparency();
View->SetPlaneOff();
// Signals resize needed
View->MustBeResized();
} // END CascadeView::InitView()
/////////////////////////////////////////////////////////////////////////////////////////
// Paint method
void CascadeView::Paint(Draw &draw)
{
if(View.IsNull())
return;
View->MustBeResized();
View->Redraw();
} // END CascadeView::Paint()
/////////////////////////////////////////////////////////////////////////////////////////
// Handle layout events and propagates to embedded window
void CascadeView::Layout(void)
{
if(View.IsNull())
return;
View->MustBeResized();
} // END CascadeView::Resize()
/////////////////////////////////////////////////////////////////////////////////////////
// Fit all in view
void CascadeView::FitAll()
{
if(View.IsNull())
return;
View->FitAll();
View->ZFitAll();
View->Redraw();
} // END CascadeView::FitAll()
///////////////////////////////////////////////////////////////////////////////////////////////
// middle up - resets pan/3dorbit behaviour
void CascadeView::MiddleUp(Point p, dword keyflags)
{
isPanning = false;
PanStartPoint.SetNull();
isRotating = false;
} // END CascadeView::MiddleUp()
///////////////////////////////////////////////////////////////////////////////////////////////
// mouse move handler
void CascadeView::MouseMove(Point p, dword keyflags)
{
/////////////////// DISPLAY HANDLING (PAN / ROTATE VIEW /////////////////////
if(isPanning)
{
View->Pan(p.x - PanPrevPoint.x, PanPrevPoint.y - p.y);
PanPrevPoint = p;
}
if(isRotating)
View->Rotation(p.x, p.y);
/////////////////// /////////////////////
} // END CascadeView::MiddleDown()
///////////////////////////////////////////////////////////////////////////////////////////////
// middle drag - pan or 3dorbit if in addition to ctrl-shift keys
void CascadeView::MiddleDrag(Point p, dword keyflags)
{
PanStartPoint = p;
PanPrevPoint = p;
// if both CTRL and SHIFT keys are pressed, the view is rotated (3dorbit)
// if not, the pan function is activated
if( (keyflags & K_SHIFT) && (keyflags & K_CTRL) )
{
isRotating = true;
View->StartRotation(p.x, p.y, 0.4);
}
else
isPanning = true;
} // END CascadeView::MiddleDrag()
///////////////////////////////////////////////////////////////////////////////////////////////
// mouse wheel - zoom
void CascadeView::MouseWheel(Point p, int zdelta, dword keyflags)
{
Quantity_Factor CurScale = View->Scale();
if(zdelta > 0)
CurScale *= (1.0 + zdelta / 200.0);
else
CurScale /= (1.0 - zdelta / 200.0);
View->SetScale(CurScale);
View->Redraw();
} // END CascadeView::MouseWheel()
///////////////////////////////////////////////////////////////////////////////////////////////
// double middle click - zoom extents
void CascadeView::MiddleDouble(Point p, dword keyflags)
{
View->FitAll();
View->Redraw();
} // END CascadeView::MiddleDouble()
///////////////////////////////////////////////////////////////////////////////////////////////
// mouse enter handler
void CascadeView::MouseEnter(Point p, dword keyflags)
{
// if mouse middle button is pressed on enter, resume panning or rotate
if(GetMouseMiddle())
{
// sets starting and current pan points if needed
if(PanStartPoint.IsNullInstance())
{
PanStartPoint = p;
PanPrevPoint = p;
}
// pans or rotates depending on CTRL-SHIFT keys
if( (keyflags & K_SHIFT) && (keyflags & K_CTRL) )
{
isRotating = true;
View->StartRotation(p.x, p.y, 0.4);
}
else
isPanning = true;
}
} // END CascadeView::MouseEnter()
///////////////////////////////////////////////////////////////////////////////////////////////
// mouse leave handler
void CascadeView::MouseLeave()
{
// resets panning & rotate state on window exit
isPanning = false;
isRotating = false;
} // END CascadeView::MouseLeave()

View file

@ -0,0 +1,103 @@
#ifndef _CascadeView_h_
#define _CascadeView_h_
#include <GLCtrl/GLCtrl.h>
using namespace Upp;
#include "CascadeDocument.h"
#include <OCE/OCE.h>
#include <V3d_View.hxx>
class CascadeView : public DHCtrl
{
private:
// The associated document
CascadeDocument *Document;
// The view object
Handle(V3d_View) View;
// Panning active flag
bool isPanning;
// View rotation active flag
bool isRotating;
// Start point in pan operations
Point PanStartPoint, PanPrevPoint;
protected:
#ifdef PLATFORM_X11
// Method to choose the correct visual
virtual XVisualInfo *CreateVisual(void);
// Method for attribute setting
virtual void SetAttributes(unsigned long &ValueMask, XSetWindowAttributes &attr);
// These is called just after initialization
virtual void AfterInit(bool Error) ;
// These is called just before termination
virtual void BeforeTerminate(void) ;
#else
// state handler, to catch init and terminate
void State(int reason);
#endif
// initializes view after platform-dependent init
void InitView(void);
// Handle layout events and propagates to embedded window
virtual void Layout(void) ;
// Paint function with context
virtual void Paint(Draw &draw) ;
////////////////////////////////////////////////////////////////////////////////////////////
// mouse events handling
// middle drag - pan or 3dorbit if in addition to ctrl-shift keys
virtual void MiddleDrag(Point p, dword keyflags);
// mouse wheel - zoom
virtual void MouseWheel(Point p, int zdelta, dword keyflags);
// double middle click - zoom extents
virtual void MiddleDouble(Point p, dword keyflags);
// middle up - resets pan/3dorbit behaviour
virtual void MiddleUp(Point p, dword keyflags);
// mouse move handler
virtual void MouseMove(Point p, dword keyflags);
// mouse enter handler
virtual void MouseEnter(Point p, dword keyflags);
// mouse leave handler
virtual void MouseLeave();
////////////////////////////////////////////////////////////////////////////////////////////
public:
typedef CascadeView CLASSNAME;
// Constructor class CascadeView
CascadeView(CascadeDocument *Doc);
// Destructor class CascadeView
~CascadeView();
// Document property
CascadeDocument const &getDocument(void) { return *Document; };
// Fit all in view
void FitAll();
}; // END Class CascadeView
#endif

View file

@ -0,0 +1,216 @@
#include "MakeBottle.h"
#include <BRep_Tool.hxx>
#include <BRepAlgoAPI_Fuse.hxx>
#include <BRepBuilderAPI_MakeEdge.hxx>
#include <BRepBuilderAPI_MakeFace.hxx>
#include <BRepBuilderAPI_MakeWire.hxx>
#include <BRepBuilderAPI_Transform.hxx>
#include <BRepFilletAPI_MakeFillet.hxx>
#include <BRepLib.hxx>
#include <BRepOffsetAPI_MakeThickSolid.hxx>
#include <BRepOffsetAPI_ThruSections.hxx>
#include <BRepPrimAPI_MakeCylinder.hxx>
#include <BRepPrimAPI_MakePrism.hxx>
#include <GC_MakeArcOfCircle.hxx>
#include <GC_MakeSegment.hxx>
#include <GCE2d_MakeSegment.hxx>
#include <gp.hxx>
#include <gp_Ax1.hxx>
#include <gp_Ax2.hxx>
#include <gp_Ax2d.hxx>
#include <gp_Dir.hxx>
#include <gp_Dir2d.hxx>
#include <gp_Pnt.hxx>
#include <gp_Pnt2d.hxx>
#include <gp_Trsf.hxx>
#include <gp_Vec.hxx>
#include <Geom_CylindricalSurface.hxx>
#include <Geom_Plane.hxx>
#include <Geom_Surface.hxx>
#include <Geom_TrimmedCurve.hxx>
#include <Geom2d_Ellipse.hxx>
#include <Geom2d_TrimmedCurve.hxx>
#include <TopExp_Explorer.hxx>
#include <TopoDS.hxx>
#include <TopoDS_Edge.hxx>
#include <TopoDS_Face.hxx>
#include <TopoDS_Wire.hxx>
#include <TopoDS_Compound.hxx>
#include <TopTools_ListOfShape.hxx>
TopoDS_Shape MakeBottle(const Standard_Real myWidth, const Standard_Real myHeight, const Standard_Real myThickness)
{
//Profile : Define Support Points
gp_Pnt aPnt1(-myWidth / 2. , 0 , 0);
gp_Pnt aPnt2(-myWidth / 2. , -myThickness / 4. , 0);
gp_Pnt aPnt3(0 , -myThickness / 2. , 0);
gp_Pnt aPnt4(myWidth / 2. , -myThickness / 4. , 0);
gp_Pnt aPnt5(myWidth / 2. , 0 , 0);
//Profile : Define the Geometry
Handle(Geom_TrimmedCurve) aArcOfCircle = GC_MakeArcOfCircle(aPnt2,aPnt3 ,aPnt4);
Handle(Geom_TrimmedCurve) aSegment1 = GC_MakeSegment(aPnt1 , aPnt2);
Handle(Geom_TrimmedCurve) aSegment2 = GC_MakeSegment(aPnt4 , aPnt5);
//Profile : Define the Topology
TopoDS_Edge aEdge1 = BRepBuilderAPI_MakeEdge(aSegment1);
TopoDS_Edge aEdge2 = BRepBuilderAPI_MakeEdge(aArcOfCircle);
TopoDS_Edge aEdge3 = BRepBuilderAPI_MakeEdge(aSegment2);
TopoDS_Wire aWire = BRepBuilderAPI_MakeWire(aEdge1 , aEdge2 , aEdge3);
//Complete Profile
gp_Ax1 xAxis = gp::OX();
gp_Trsf aTrsf;
aTrsf.SetMirror(xAxis);
BRepBuilderAPI_Transform aBRepTrsf(aWire , aTrsf);
TopoDS_Shape aMirroredShape = aBRepTrsf.Shape();
TopoDS_Wire aMirroredWire = TopoDS::Wire(aMirroredShape);
BRepBuilderAPI_MakeWire mkWire;
mkWire.Add(aWire);
mkWire.Add(aMirroredWire);
TopoDS_Wire myWireProfile = mkWire.Wire();
//Body : Prism the Profile
TopoDS_Face myFaceProfile = BRepBuilderAPI_MakeFace(myWireProfile);
gp_Vec aPrismVec(0 , 0 , myHeight);
TopoDS_Shape myBody = BRepPrimAPI_MakePrism(myFaceProfile , aPrismVec);
//Body : Apply Fillets
BRepFilletAPI_MakeFillet mkFillet(myBody);
TopExp_Explorer aEdgeExplorer(myBody , TopAbs_EDGE);
while(aEdgeExplorer.More()){
TopoDS_Edge aEdge = TopoDS::Edge(aEdgeExplorer.Current());
//Add edge to fillet algorithm
mkFillet.Add(myThickness / 12. , aEdge);
aEdgeExplorer.Next();
}
myBody = mkFillet.Shape();
//Body : Add the Neck
gp_Pnt neckLocation(0 , 0 , myHeight);
gp_Dir neckNormal = gp::DZ();
gp_Ax2 neckAx2(neckLocation , neckNormal);
Standard_Real myNeckRadius = myThickness / 4.;
Standard_Real myNeckHeight = myHeight / 10;
BRepPrimAPI_MakeCylinder MKCylinder(neckAx2 , myNeckRadius , myNeckHeight);
TopoDS_Shape myNeck = MKCylinder.Shape();
myBody = BRepAlgoAPI_Fuse(myBody , myNeck);
//Body : Create a Hollowed Solid
TopoDS_Face faceToRemove;
Standard_Real zMax = -1;
for(TopExp_Explorer aFaceExplorer(myBody , TopAbs_FACE) ; aFaceExplorer.More() ; aFaceExplorer.Next()){
TopoDS_Face aFace = TopoDS::Face(aFaceExplorer.Current());
//Check if <aFace> is the top face of the bottle's neck
Handle(Geom_Surface) aSurface = BRep_Tool::Surface(aFace);
if(aSurface->DynamicType() == STANDARD_TYPE(Geom_Plane)){
Handle(Geom_Plane) aPlane = Handle(Geom_Plane)::DownCast(aSurface);
gp_Pnt aPnt = aPlane->Location();
Standard_Real aZ = aPnt.Z();
if(aZ > zMax){
zMax = aZ;
faceToRemove = aFace;
}
}
}
TopTools_ListOfShape facesToRemove;
facesToRemove.Append(faceToRemove);
myBody = BRepOffsetAPI_MakeThickSolid(myBody , facesToRemove , -myThickness / 50 , 1.e-3);
//return myBody;
//Threading : Create Surfaces
Handle(Geom_CylindricalSurface) aCyl1 = new Geom_CylindricalSurface(neckAx2 , myNeckRadius * 0.99);
Handle(Geom_CylindricalSurface) aCyl2 = new Geom_CylindricalSurface(neckAx2 , myNeckRadius * 1.05);
//Threading : Define 2D Curves
gp_Pnt2d aPnt(2. * PI , myNeckHeight / 2.);
gp_Dir2d aDir(2. * PI , myNeckHeight / 4.);
gp_Ax2d aAx2d(aPnt , aDir);
Standard_Real aMajor = 2. * PI;
Standard_Real aMinor = myNeckHeight / 10;
Handle(Geom2d_Ellipse) anEllipse1 = new Geom2d_Ellipse(aAx2d , aMajor , aMinor);
Handle(Geom2d_Ellipse) anEllipse2 = new Geom2d_Ellipse(aAx2d , aMajor , aMinor / 4);
Handle(Geom2d_TrimmedCurve) aArc1 = new Geom2d_TrimmedCurve(anEllipse1 , 0 , PI);
Handle(Geom2d_TrimmedCurve) aArc2 = new Geom2d_TrimmedCurve(anEllipse2 , 0 , PI);
gp_Pnt2d anEllipsePnt1 = anEllipse1->Value(0);
gp_Pnt2d anEllipsePnt2 = anEllipse1->Value(PI);
Handle(Geom2d_TrimmedCurve) aSegment = GCE2d_MakeSegment(anEllipsePnt1 , anEllipsePnt2);
//Threading : Build Edges and Wires
TopoDS_Edge aEdge1OnSurf1 = BRepBuilderAPI_MakeEdge(aArc1 , aCyl1);
TopoDS_Edge aEdge2OnSurf1 = BRepBuilderAPI_MakeEdge(aSegment , aCyl1);
TopoDS_Edge aEdge1OnSurf2 = BRepBuilderAPI_MakeEdge(aArc2 , aCyl2);
TopoDS_Edge aEdge2OnSurf2 = BRepBuilderAPI_MakeEdge(aSegment , aCyl2);
TopoDS_Wire threadingWire1 = BRepBuilderAPI_MakeWire(aEdge1OnSurf1 , aEdge2OnSurf1);
TopoDS_Wire threadingWire2 = BRepBuilderAPI_MakeWire(aEdge1OnSurf2 , aEdge2OnSurf2);
BRepLib::BuildCurves3d(threadingWire1);
BRepLib::BuildCurves3d(threadingWire2);
//Create Threading
BRepOffsetAPI_ThruSections aTool(Standard_True);
aTool.AddWire(threadingWire1);
aTool.AddWire(threadingWire2);
aTool.CheckCompatibility(Standard_False);
TopoDS_Shape myThreading = aTool.Shape();
//Building the resulting compound
TopoDS_Compound aRes;
BRep_Builder aBuilder;
aBuilder.MakeCompound (aRes);
aBuilder.Add (aRes, myBody);
aBuilder.Add (aRes, myThreading);
return aRes;
}

View file

@ -0,0 +1,14 @@
#ifndef _MakeBottle_h_
#define _MakeBottle_h_
#include <OCE/OCE.h>
#ifdef Convex
#undef Convex
#endif
#include <TopoDS_Shape.hxx>
TopoDS_Shape MakeBottle(const Standard_Real myWidth, const Standard_Real myHeight, const Standard_Real myThickness);
#endif

View file

@ -0,0 +1,45 @@
#include <CtrlLib/CtrlLib.h>
using namespace Upp;
#include "OCETest.h"
#include "MakeBottle.h"
#include <AIS_Shape.hxx>
INITBLOCK {
#ifdef PLATFORM_POSIX
setenv("MMGT_OPT", "0", 1);
setenv("MMGT_CLEAR", "0", 1);
#else
SetEnvironmentVariable("MMGT_OPT", "0");
SetEnvironmentVariable("MMGT_CLEAR", "0");
#endif
}
GUI_APP_MAIN
{
TopWindow win;
win.LeftPos(200, 800);
win.TopPos(200, 400);
CascadeDocument Document;
CascadeView View(&Document);
win.Add(View.HSizePos(10, 10).VSizePos(10, 10));
win.Sizeable().Zoomable();
win.Open();
TopoDS_Shape aBottle = ::MakeBottle(50,70,30);
Handle(AIS_Shape) AISBottle=new AIS_Shape(aBottle);
Document.GetContext()->SetMaterial(AISBottle,Graphic3d_NOM_GOLD);
Document.GetContext()->SetDisplayMode(AISBottle,1,Standard_False);
Document.GetContext()->Display(AISBottle, Standard_False);
Document.GetContext()->SetCurrentObject(AISBottle,Standard_False);
View.FitAll();
win.Run();
}

12
bazaar/OCETest/OCETest.h Normal file
View file

@ -0,0 +1,12 @@
#ifndef _OCETest_OCETest_h
#define _OCETest_OCETest_h
#include "CascadeDocument.h"
#include "CascadeView.h"
#include <OCE/OCE.h>
using namespace Upp;
#endif

20
bazaar/OCETest/OCETest.upp Executable file
View file

@ -0,0 +1,20 @@
noblitz;
uses
CtrlLib,
OCE/Visualization,
OCE\ModelingAlgorithms;
file
CascadeDocument.h,
CascadeDocument.cpp,
CascadeView.h,
CascadeView.cpp,
MakeBottle.h,
MakeBottle.cpp,
OCETest.h,
OCETest.cpp;
mainconfig
"" = "GUI USEMALLOC";

6
bazaar/OCETest/init Executable file
View file

@ -0,0 +1,6 @@
#ifndef _OCETest_icpp_init_stub
#define _OCETest_icpp_init_stub
#include "CtrlLib/init"
#include "OCE/Visualization/init"
#include "OCE\ModelingAlgorithms/init"
#endif