7fd59977 |
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 SampleAISSelectJni; |
18 | |
19 | import CASCADESamplesJni.V3d_Viewer; |
20 | import jcas.Standard_ExtString; |
21 | import CASCADESamplesJni.V3d_View; |
22 | import jcas.Standard_Integer; |
23 | import CASCADESamplesJni.AIS_InteractiveContext; |
24 | import CASCADESamplesJni.TCollection_AsciiString; |
25 | import jcas.Standard_Real; |
26 | import jcas.Standard_Boolean; |
27 | import CASCADESamplesJni.Quantity_Color; |
28 | |
29 | |
30 | public class SampleAISSelectPackage { |
31 | |
32 | static { |
33 | System.loadLibrary("SampleAISSelectJni"); |
34 | } |
35 | |
36 | native public static V3d_Viewer CreateViewer(String aName); |
37 | native public static void SetWindow(V3d_View aView,int hiwin,int lowin); |
38 | native public static void DisplayBox(AIS_InteractiveContext aContext,TCollection_AsciiString Message); |
39 | native public static void DisplayCylinder(AIS_InteractiveContext aContext,TCollection_AsciiString Message); |
40 | native public static void SelectVertices(AIS_InteractiveContext aContext,TCollection_AsciiString Message); |
41 | native public static void SelectEdges(AIS_InteractiveContext aContext,TCollection_AsciiString Message); |
42 | native public static void SelectFaces(AIS_InteractiveContext aContext,TCollection_AsciiString Message); |
43 | native public static void SelectNeutral(AIS_InteractiveContext aContext,TCollection_AsciiString Message); |
44 | native public static int MakeFillet(AIS_InteractiveContext aContext,double aValue,TCollection_AsciiString Message); |
45 | native public static boolean IsCylinderSelected(AIS_InteractiveContext aContext); |
46 | native public static void StartSelectFace(AIS_InteractiveContext aContext); |
47 | native public static Quantity_Color GetFaceColor(AIS_InteractiveContext aContext); |
48 | native public static void SetFaceColor(AIS_InteractiveContext aContext,Quantity_Color aColor,TCollection_AsciiString Message); |
49 | native public static void EndSelectFace(AIS_InteractiveContext aContext); |
50 | |
51 | |
52 | |
53 | } |