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 CASCADESamplesJni; |
18 | |
19 | import jcas.Object; |
20 | import CASCADESamplesJni.Aspect_TypeOfColorMap; |
21 | import jcas.Standard_Integer; |
22 | import CASCADESamplesJni.Aspect_ColorMapEntry; |
23 | import CASCADESamplesJni.Quantity_Color; |
24 | |
25 | |
26 | public class Aspect_ColorMap extends CASCADESamplesJni.MMgt_TShared { |
27 | |
28 | static { |
29 | System.loadLibrary("CASCADESamplesJni"); |
30 | } |
31 | |
32 | native public final short Type(); |
33 | native public final int Size(); |
34 | native public final int Index(int aColormapIndex); |
35 | native public final void Dump(); |
36 | native public final Aspect_ColorMapEntry Entry(int AColorMapIndex); |
37 | native public int FindColorMapIndex(int AColorMapEntryIndex); |
38 | native public Aspect_ColorMapEntry FindEntry(int AColorMapEntryIndex); |
39 | native public int NearestColorMapIndex(Quantity_Color aColor); |
40 | native public Aspect_ColorMapEntry NearestEntry(Quantity_Color aColor); |
41 | public Aspect_ColorMap() { |
42 | } |
43 | |
44 | |
45 | |
46 | |
47 | } |