0023097: MFC Samples do not compile after redesigning the TKOpenGl driver
[occt.git] / samples / java / inc / SampleAISBasicPackage.hxx
CommitLineData
7fd59977 1// File generated by CPPExt (Value)
2// Copyright (C) 1991,1995 by
3//
4// MATRA DATAVISION, FRANCE
5//
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.
11//
12// At the termination of the contract, the software and all copies of this
13// software must be deleted.
14
15#ifndef _SampleAISBasicPackage_HeaderFile
16#define _SampleAISBasicPackage_HeaderFile
17
18#ifndef _Handle_V3d_Viewer_HeaderFile
19#include <Handle_V3d_Viewer.hxx>
20#endif
21#ifndef _Standard_ExtString_HeaderFile
22#include <Standard_ExtString.hxx>
23#endif
24#ifndef _Handle_V3d_View_HeaderFile
25#include <Handle_V3d_View.hxx>
26#endif
27#ifndef _Standard_Integer_HeaderFile
28#include <Standard_Integer.hxx>
29#endif
30#ifndef _Handle_AIS_InteractiveContext_HeaderFile
31#include <Handle_AIS_InteractiveContext.hxx>
32#endif
33class V3d_Viewer;
34class V3d_View;
35class AIS_InteractiveContext;
36class TCollection_AsciiString;
37
38
39#ifndef _Standard_HeaderFile
40#include <Standard.hxx>
41#endif
42#ifndef _Standard_Macro_HeaderFile
43#include <Standard_Macro.hxx>
44#endif
45
46class SampleAISBasicPackage {
47
48public:
49
50 void* operator new(size_t,void* anAddress)
51 {
52 return anAddress;
53 }
54 void* operator new(size_t size)
55 {
56 return Standard::Allocate(size);
57 }
58 void operator delete(void *anAddress)
59 {
60 if (anAddress) Standard::Free((Standard_Address&)anAddress);
61 }
62 // Methods PUBLIC
63 //
64Standard_EXPORT static Handle_V3d_Viewer CreateViewer(const Standard_ExtString aName) ;
65Standard_EXPORT static void SetWindow(const Handle(V3d_View)& aView,const Standard_Integer hiwin,const Standard_Integer lowin) ;
66Standard_EXPORT static void DisplayTrihedron(const Handle(AIS_InteractiveContext)& aContext) ;
67Standard_EXPORT static void DisplayCircle(const Handle(AIS_InteractiveContext)& aContext,TCollection_AsciiString& Message) ;
68Standard_EXPORT static void DisplayLine(const Handle(AIS_InteractiveContext)& aContext,TCollection_AsciiString& Message) ;
69Standard_EXPORT static void DisplaySphere(const Handle(AIS_InteractiveContext)& aContext,TCollection_AsciiString& Message) ;
70Standard_EXPORT static void DisplayCylinder(const Handle(AIS_InteractiveContext)& aContext,TCollection_AsciiString& Message) ;
71
72
73
74
75
76protected:
77
78 // Methods PROTECTED
79 //
80
81
82 // Fields PROTECTED
83 //
84
85
86private:
87
88 // Methods PRIVATE
89 //
90
91
92 // Fields PRIVATE
93 //
94
95
96};
97
98
99
100
101
102// other Inline functions and methods (like "C++: function call" methods)
103//
104
105
106#endif