mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-26 10:19:45 +03:00
- OCAF sample Save Document option: corrected conversion from LPCTSTR to Standard_CString - HLR sample: corrected mouse move event handling for HLR 2D view; Corrected CSelectionDialog view displaying and updating - Geometry sample: CGeometryDoc correction to avoid code duplication - OCC_3dBaseDoc: corrected DragEvent() handler for proper emulation of rectangle selection. - Viewer3d sample: moved resource files (resource.h; resource.hm; AISToolbar.bmp) from /src to /res Code style changes Fixed "About" dialog error in release. Corrected dimension dialogs Workaround for dimensions sample: AIS_LocalContext::SelectedShape() doesn't take into account TopoDS shape local transformation, and operates with selected interactive transformation.
75 lines
2.2 KiB
C
Executable File
75 lines
2.2 KiB
C
Executable File
// stdafx.h : include file for standard system include files,
|
|
// or project specific include files that are used frequently, but
|
|
// are changed infrequently
|
|
//
|
|
|
|
#if _MSC_VER >= 1000
|
|
#pragma once
|
|
#endif // _MSC_VER >= 1000
|
|
|
|
#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers
|
|
|
|
#include <afxwin.h> // MFC core and standard components
|
|
#include <afxext.h> // MFC extensions
|
|
#include <afxdisp.h> // MFC OLE automation classes
|
|
#ifndef _AFX_NO_AFXCMN_SUPPORT
|
|
#include <afxcmn.h> // MFC support for Windows Common Controls
|
|
#endif // _AFX_NO_AFXCMN_SUPPORT
|
|
|
|
#if !defined(WNT)
|
|
#error WNT precompiler directive is mandatory for CasCade
|
|
#endif
|
|
|
|
#pragma warning( disable : 4244 ) // Issue warning 4244
|
|
#include "Standard_ShortReal.hxx"
|
|
#pragma warning( default : 4244 ) // Issue warning 4244
|
|
|
|
#include <Standard.hxx>
|
|
#include <AIS_InteractiveContext.hxx>
|
|
#include <AIS_Shape.hxx>
|
|
#include <V3d_Viewer.hxx>
|
|
#include <V3d_View.hxx>
|
|
#include <WNT_Window.hxx>
|
|
#include <Standard_ErrorHandler.hxx>
|
|
#include <BRepPrimAPI_MakeBox.hxx>
|
|
#include <BRepPrimAPI_MakeCylinder.hxx>
|
|
#include <BRepPrimAPI_MakeSphere.hxx>
|
|
#include <BRepBuilderAPI_MakeVertex.hxx>
|
|
#include <BRepPrimAPI_MakeCone.hxx>
|
|
#include <BRepBuilderAPI_MakeEdge.hxx>
|
|
#include <BRepBuilderAPI_MakeFace.hxx>
|
|
#include <gp_Trsf.hxx>
|
|
#include <gp_Dir.hxx>
|
|
#include <gp_Pnt.hxx>
|
|
#include <gp_Ax2.hxx>
|
|
#include <ProjLib.hxx>
|
|
#include <ElSLib.hxx>
|
|
#include <gp_Pln.hxx>
|
|
#include <V3d_Plane.hxx>
|
|
#include <gp_Trsf.hxx>
|
|
#include <UnitsAPI.hxx>
|
|
#include <BRepBuilderAPI_NurbsConvert.hxx>
|
|
#include <Aspect_PolygonOffsetMode.hxx>
|
|
#include <AIS_ListOfInteractive.hxx>
|
|
#include <AIS_ListIteratorOfListOfInteractive.hxx>
|
|
#include <BRepFilletAPI_MakeFillet.hxx>
|
|
#include <Geom_Circle.hxx>
|
|
#include <AIS_Circle.hxx>
|
|
#include <AIS_Line.hxx>
|
|
#include <Geom_Line.hxx>
|
|
#include <Prs3d_Drawer.hxx>
|
|
#include <TopoDS.hxx>
|
|
#include <Prs3d_IsoAspect.hxx>
|
|
#include <Prs3d_ShadingAspect.hxx>
|
|
#include <Geom_Surface.hxx>
|
|
#include <Geom_Plane.hxx>
|
|
#include <BRep_Tool.hxx>
|
|
|
|
#include "State.h"
|
|
|
|
#include <..\res\resource.h>
|
|
|
|
//{{AFX_INSERT_LOCATION}}
|
|
// Microsoft Developer Studio will insert additional declarations immediately before the previous line.
|
|
|