1 // File generated by CPPExt (Value)
2 // Copyright (C) 1991,1995 by
4 // MATRA DATAVISION, FRANCE
6 // This software is furnished in accordance with the terms and conditions
7 // of the contract and with the inclusion of the above copyright notice.
8 // This software or any other copy thereof may not be provided or otherwise
9 // be made available to any other person. No title to an ownership of the
10 // software is hereby transferred.
12 // At the termination of the contract, the software and all copies of this
13 // software must be deleted.
15 #ifndef _SampleAISBasicPackage_HeaderFile
16 #define _SampleAISBasicPackage_HeaderFile
18 #ifndef _Handle_V3d_Viewer_HeaderFile
19 #include <Handle_V3d_Viewer.hxx>
21 #ifndef _Standard_ExtString_HeaderFile
22 #include <Standard_ExtString.hxx>
24 #ifndef _Handle_V3d_View_HeaderFile
25 #include <Handle_V3d_View.hxx>
27 #ifndef _Standard_Integer_HeaderFile
28 #include <Standard_Integer.hxx>
30 #ifndef _Handle_AIS_InteractiveContext_HeaderFile
31 #include <Handle_AIS_InteractiveContext.hxx>
35 class AIS_InteractiveContext;
36 class TCollection_AsciiString;
39 #ifndef _Standard_HeaderFile
40 #include <Standard.hxx>
42 #ifndef _Standard_Macro_HeaderFile
43 #include <Standard_Macro.hxx>
46 class SampleAISBasicPackage {
50 void* operator new(size_t,void* anAddress)
54 void* operator new(size_t size)
56 return Standard::Allocate(size);
58 void operator delete(void *anAddress)
60 if (anAddress) Standard::Free((Standard_Address&)anAddress);
64 Standard_EXPORT static Handle_V3d_Viewer CreateViewer(const Standard_ExtString aName) ;
65 Standard_EXPORT static void SetWindow(const Handle(V3d_View)& aView,const Standard_Integer hiwin,const Standard_Integer lowin) ;
66 Standard_EXPORT static void DisplayTrihedron(const Handle(AIS_InteractiveContext)& aContext) ;
67 Standard_EXPORT static void DisplayCircle(const Handle(AIS_InteractiveContext)& aContext,TCollection_AsciiString& Message) ;
68 Standard_EXPORT static void DisplayLine(const Handle(AIS_InteractiveContext)& aContext,TCollection_AsciiString& Message) ;
69 Standard_EXPORT static void DisplaySphere(const Handle(AIS_InteractiveContext)& aContext,TCollection_AsciiString& Message) ;
70 Standard_EXPORT static void DisplayCylinder(const Handle(AIS_InteractiveContext)& aContext,TCollection_AsciiString& Message) ;
102 // other Inline functions and methods (like "C++: function call" methods)