Integration of OCCT 6.5.0 from SVN
[occt.git] / samples / java / java / SampleGeometryJni / SampleGeometryPackage.java
1 // Java Native Class from Cas.Cade
2 //                     Copyright (C) 1991,1999 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
16
17 package SampleGeometryJni;
18
19 import CASCADESamplesJni.V3d_Viewer;
20 import jcas.Standard_ExtString;
21 import CASCADESamplesJni.V3d_View;
22 import jcas.Standard_Integer;
23 import CASCADESamplesJni.V2d_Viewer;
24 import CASCADESamplesJni.V2d_View;
25 import CASCADESamplesJni.AIS_InteractiveContext;
26 import CASCADESamplesJni.TCollection_AsciiString;
27 import CASCADESamplesJni.ISession2D_InteractiveContext;
28 import jcas.Standard_Boolean;
29 import jcas.Standard_CString;
30
31
32 public class SampleGeometryPackage {
33
34  static {
35     System.loadLibrary("SampleGeometryJni");
36  }
37             
38 native public static V3d_Viewer CreateViewer3d(String aName);
39 native public static void SetWindow3d(V3d_View aView,int hiwin,int lowin);
40 native public static V2d_Viewer CreateViewer2d(String aName);
41 native public static V2d_View CreateView2d(V2d_Viewer aViewer,int hiwin,int lowin);
42 native public static void gpTest1(AIS_InteractiveContext aContext,TCollection_AsciiString Message);
43 native public static void gpTest2(AIS_InteractiveContext aContext,TCollection_AsciiString Message);
44 native public static void gpTest3(AIS_InteractiveContext aContext,TCollection_AsciiString Message);
45 native public static void gpTest4(AIS_InteractiveContext aContext,TCollection_AsciiString Message);
46 native public static void gpTest5(AIS_InteractiveContext aContext,TCollection_AsciiString Message);
47 native public static void gpTest6(AIS_InteractiveContext aContext,TCollection_AsciiString Message);
48 native public static void gpTest7(ISession2D_InteractiveContext aContext2D,TCollection_AsciiString Message);
49 native public static void gpTest8(ISession2D_InteractiveContext aContext2D,TCollection_AsciiString Message);
50 native public static void gpTest9(ISession2D_InteractiveContext aContext2D,TCollection_AsciiString Message);
51 native public static void gpTest10(ISession2D_InteractiveContext aContext2D,TCollection_AsciiString Message);
52 native public static void gpTest11(AIS_InteractiveContext aContext,TCollection_AsciiString Message);
53 native public static void gpTest12(AIS_InteractiveContext aContext,TCollection_AsciiString Message);
54 native public static void gpTest13(AIS_InteractiveContext aContext,TCollection_AsciiString Message);
55 native public static void gpTest14(AIS_InteractiveContext aContext,TCollection_AsciiString Message);
56 native public static void gpTest15(AIS_InteractiveContext aContext,TCollection_AsciiString Message);
57 native public static void gpTest16(AIS_InteractiveContext aContext,TCollection_AsciiString Message);
58 native public static void gpTest17(AIS_InteractiveContext aContext,TCollection_AsciiString Message);
59 native public static void gpTest18(ISession2D_InteractiveContext aContext2D,TCollection_AsciiString Message);
60 native public static void gpTest19(AIS_InteractiveContext aContext,TCollection_AsciiString Message);
61 native public static void gpTest20(ISession2D_InteractiveContext aContext2D,TCollection_AsciiString Message);
62 native public static void gpTest21(ISession2D_InteractiveContext aContext2D,TCollection_AsciiString Message);
63 native public static void gpTest22(ISession2D_InteractiveContext aContext2D,TCollection_AsciiString Message);
64 native public static void gpTest23(ISession2D_InteractiveContext aContext2D,TCollection_AsciiString Message);
65 native public static void gpTest24(AIS_InteractiveContext aContext,ISession2D_InteractiveContext aContext2D,TCollection_AsciiString Message);
66 native public static void gpTest25(ISession2D_InteractiveContext aContext2D,TCollection_AsciiString Message);
67 native public static void gpTest26(ISession2D_InteractiveContext aContext2D,TCollection_AsciiString Message);
68 native public static void gpTest27(ISession2D_InteractiveContext aContext2D,TCollection_AsciiString Message);
69 native public static void gpTest28(ISession2D_InteractiveContext aContext2D,TCollection_AsciiString Message);
70 native public static void gpTest29(ISession2D_InteractiveContext aContext2D,TCollection_AsciiString Message);
71 native public static void gpTest30(ISession2D_InteractiveContext aContext2D,TCollection_AsciiString Message);
72 native public static void gpTest31(ISession2D_InteractiveContext aContext2D,TCollection_AsciiString Message);
73 native public static void gpTest32(ISession2D_InteractiveContext aContext2D,TCollection_AsciiString Message);
74 native public static void gpTest33(AIS_InteractiveContext aContext,TCollection_AsciiString Message);
75 native public static void gpTest34(AIS_InteractiveContext aContext,TCollection_AsciiString Message);
76 native public static void gpTest35(AIS_InteractiveContext aContext,TCollection_AsciiString Message);
77 native public static void gpTest36(AIS_InteractiveContext aContext,TCollection_AsciiString Message);
78 native public static void gpTest37(AIS_InteractiveContext aContext,TCollection_AsciiString Message);
79 native public static void gpTest38(AIS_InteractiveContext aContext,TCollection_AsciiString Message);
80 native public static void gpTest39(AIS_InteractiveContext aContext,TCollection_AsciiString Message);
81 native public static void gpTest40(AIS_InteractiveContext aContext,TCollection_AsciiString Message);
82 native public static void gpTest41(AIS_InteractiveContext aContext,TCollection_AsciiString Message);
83 native public static void gpTest42(AIS_InteractiveContext aContext,TCollection_AsciiString Message);
84 native public static void gpTest43(AIS_InteractiveContext aContext,TCollection_AsciiString Message);
85 native public static void gpTest44(AIS_InteractiveContext aContext,TCollection_AsciiString Message);
86 native public static void gpTest45(AIS_InteractiveContext aContext,TCollection_AsciiString Message);
87 native public static void gpTest46(AIS_InteractiveContext aContext,TCollection_AsciiString Message);
88 native public static void gpTest47(AIS_InteractiveContext aContext,TCollection_AsciiString Message);
89 native public static void gpTest48(ISession2D_InteractiveContext aContext2D,TCollection_AsciiString Message);
90 native public static void gpTest49(AIS_InteractiveContext aContext,TCollection_AsciiString Message);
91 native public static void gpTest50(AIS_InteractiveContext aContext,TCollection_AsciiString Message);
92 native public static boolean SaveImage(Standard_CString aFileName,Standard_CString aFormat,V3d_View aView);
93
94
95
96 }