0023227: New Draw Harness command to estimate current geometry complexity of OpenGL...
[occt.git] / samples / java / inc / SampleAISSelectPackage.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 _SampleAISSelectPackage_HeaderFile
16#define _SampleAISSelectPackage_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
33#ifndef _Standard_Real_HeaderFile
34#include <Standard_Real.hxx>
35#endif
36#ifndef _Standard_Boolean_HeaderFile
37#include <Standard_Boolean.hxx>
38#endif
39class V3d_Viewer;
40class V3d_View;
41class AIS_InteractiveContext;
42class TCollection_AsciiString;
43class Quantity_Color;
44
45
46#ifndef _Standard_HeaderFile
47#include <Standard.hxx>
48#endif
49#ifndef _Standard_Macro_HeaderFile
50#include <Standard_Macro.hxx>
51#endif
52
53class SampleAISSelectPackage {
54
55public:
56
57 void* operator new(size_t,void* anAddress)
58 {
59 return anAddress;
60 }
61 void* operator new(size_t size)
62 {
63 return Standard::Allocate(size);
64 }
65 void operator delete(void *anAddress)
66 {
67 if (anAddress) Standard::Free((Standard_Address&)anAddress);
68 }
69 // Methods PUBLIC
70 //
71Standard_EXPORT static Handle_V3d_Viewer CreateViewer(const Standard_ExtString aName) ;
72Standard_EXPORT static void SetWindow(const Handle(V3d_View)& aView,const Standard_Integer hiwin,const Standard_Integer lowin) ;
73Standard_EXPORT static void DisplayBox(const Handle(AIS_InteractiveContext)& aContext,TCollection_AsciiString& Message) ;
74Standard_EXPORT static void DisplayCylinder(const Handle(AIS_InteractiveContext)& aContext,TCollection_AsciiString& Message) ;
75Standard_EXPORT static void SelectVertices(const Handle(AIS_InteractiveContext)& aContext,TCollection_AsciiString& Message) ;
76Standard_EXPORT static void SelectEdges(const Handle(AIS_InteractiveContext)& aContext,TCollection_AsciiString& Message) ;
77Standard_EXPORT static void SelectFaces(const Handle(AIS_InteractiveContext)& aContext,TCollection_AsciiString& Message) ;
78Standard_EXPORT static void SelectNeutral(const Handle(AIS_InteractiveContext)& aContext,TCollection_AsciiString& Message) ;
79Standard_EXPORT static Standard_Integer MakeFillet(const Handle(AIS_InteractiveContext)& aContext,const Standard_Real aValue,TCollection_AsciiString& Message) ;
80Standard_EXPORT static Standard_Boolean IsCylinderSelected(const Handle(AIS_InteractiveContext)& aContext) ;
81Standard_EXPORT static void StartSelectFace(const Handle(AIS_InteractiveContext)& aContext) ;
82Standard_EXPORT static Quantity_Color GetFaceColor(const Handle(AIS_InteractiveContext)& aContext) ;
83Standard_EXPORT static void SetFaceColor(const Handle(AIS_InteractiveContext)& aContext,const Quantity_Color& aColor,TCollection_AsciiString& Message) ;
84Standard_EXPORT static void EndSelectFace(const Handle(AIS_InteractiveContext)& aContext) ;
85
86
87
88
89
90protected:
91
92 // Methods PROTECTED
93 //
94
95
96 // Fields PROTECTED
97 //
98
99
100private:
101
102 // Methods PRIVATE
103 //
104
105
106 // Fields PRIVATE
107 //
108
109
110};
111
112
113
114
115
116// other Inline functions and methods (like "C++: function call" methods)
117//
118
119
120#endif