Integration of OCCT 6.5.0 from SVN
[occt.git] / samples / java / java / SampleHLRJni / Aspect_ColorCubeColorMap.java
CommitLineData
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
17package SampleHLRJni;
18
19import jcas.Object;
20import jcas.Standard_Integer;
21import CASCADESamplesJni.Aspect_ColorMapEntry;
22import CASCADESamplesJni.Quantity_Color;
23
24
25public class Aspect_ColorCubeColorMap extends CASCADESamplesJni.Aspect_ColorMap {
26
27 static {
28 System.loadLibrary("SampleHLRJni");
29 }
30
31public Aspect_ColorCubeColorMap(int base_pixel,int redmax,int redmult,int greenmax,int greenmult,int bluemax,int bluemult) {
32 Aspect_ColorCubeColorMap_Create_0(base_pixel,redmax,redmult,greenmax,greenmult,bluemax,bluemult);
33}
34
35private final native void Aspect_ColorCubeColorMap_Create_0(int base_pixel,int redmax,int redmult,int greenmax,int greenmult,int bluemax,int bluemult);
36
37native public final void ColorCubeDefinition(Standard_Integer base_pixel,Standard_Integer redmax,Standard_Integer redmult,Standard_Integer greenmax,Standard_Integer greenmult,Standard_Integer bluemax,Standard_Integer bluemult);
38native public final int FindColorMapIndex(int AColorMapEntryIndex);
39native public final Aspect_ColorMapEntry FindEntry(int AColorMapEntryIndex);
40native public final int NearestColorMapIndex(Quantity_Color aColor);
41native public final Aspect_ColorMapEntry NearestEntry(Quantity_Color aColor);
42public Aspect_ColorCubeColorMap() {
43}
44
45
46
47
48}