1 |
758 |
jeremybenn |
|
2 |
|
|
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
3 |
|
|
|
4 |
|
|
#ifndef __java_awt_image_SampleModel__
|
5 |
|
|
#define __java_awt_image_SampleModel__
|
6 |
|
|
|
7 |
|
|
#pragma interface
|
8 |
|
|
|
9 |
|
|
#include <java/lang/Object.h>
|
10 |
|
|
#include <gcj/array.h>
|
11 |
|
|
|
12 |
|
|
extern "Java"
|
13 |
|
|
{
|
14 |
|
|
namespace java
|
15 |
|
|
{
|
16 |
|
|
namespace awt
|
17 |
|
|
{
|
18 |
|
|
namespace image
|
19 |
|
|
{
|
20 |
|
|
class DataBuffer;
|
21 |
|
|
class SampleModel;
|
22 |
|
|
}
|
23 |
|
|
}
|
24 |
|
|
}
|
25 |
|
|
}
|
26 |
|
|
|
27 |
|
|
class java::awt::image::SampleModel : public ::java::lang::Object
|
28 |
|
|
{
|
29 |
|
|
|
30 |
|
|
public:
|
31 |
|
|
SampleModel(jint, jint, jint, jint);
|
32 |
|
|
virtual jint getWidth();
|
33 |
|
|
virtual jint getHeight();
|
34 |
|
|
virtual jint getNumBands();
|
35 |
|
|
virtual jint getNumDataElements() = 0;
|
36 |
|
|
virtual jint getDataType();
|
37 |
|
|
virtual jint getTransferType();
|
38 |
|
|
virtual JArray< jint > * getPixel(jint, jint, JArray< jint > *, ::java::awt::image::DataBuffer *);
|
39 |
|
|
virtual ::java::lang::Object * getDataElements(jint, jint, ::java::lang::Object *, ::java::awt::image::DataBuffer *) = 0;
|
40 |
|
|
virtual ::java::lang::Object * getDataElements(jint, jint, jint, jint, ::java::lang::Object *, ::java::awt::image::DataBuffer *);
|
41 |
|
|
virtual void setDataElements(jint, jint, ::java::lang::Object *, ::java::awt::image::DataBuffer *) = 0;
|
42 |
|
|
virtual void setDataElements(jint, jint, jint, jint, ::java::lang::Object *, ::java::awt::image::DataBuffer *);
|
43 |
|
|
virtual JArray< jfloat > * getPixel(jint, jint, JArray< jfloat > *, ::java::awt::image::DataBuffer *);
|
44 |
|
|
virtual JArray< jdouble > * getPixel(jint, jint, JArray< jdouble > *, ::java::awt::image::DataBuffer *);
|
45 |
|
|
virtual JArray< jint > * getPixels(jint, jint, jint, jint, JArray< jint > *, ::java::awt::image::DataBuffer *);
|
46 |
|
|
virtual JArray< jfloat > * getPixels(jint, jint, jint, jint, JArray< jfloat > *, ::java::awt::image::DataBuffer *);
|
47 |
|
|
virtual JArray< jdouble > * getPixels(jint, jint, jint, jint, JArray< jdouble > *, ::java::awt::image::DataBuffer *);
|
48 |
|
|
virtual jint getSample(jint, jint, jint, ::java::awt::image::DataBuffer *) = 0;
|
49 |
|
|
virtual jfloat getSampleFloat(jint, jint, jint, ::java::awt::image::DataBuffer *);
|
50 |
|
|
virtual jdouble getSampleDouble(jint, jint, jint, ::java::awt::image::DataBuffer *);
|
51 |
|
|
virtual JArray< jint > * getSamples(jint, jint, jint, jint, jint, JArray< jint > *, ::java::awt::image::DataBuffer *);
|
52 |
|
|
virtual JArray< jfloat > * getSamples(jint, jint, jint, jint, jint, JArray< jfloat > *, ::java::awt::image::DataBuffer *);
|
53 |
|
|
virtual JArray< jdouble > * getSamples(jint, jint, jint, jint, jint, JArray< jdouble > *, ::java::awt::image::DataBuffer *);
|
54 |
|
|
virtual void setPixel(jint, jint, JArray< jint > *, ::java::awt::image::DataBuffer *);
|
55 |
|
|
virtual void setPixel(jint, jint, JArray< jfloat > *, ::java::awt::image::DataBuffer *);
|
56 |
|
|
virtual void setPixel(jint, jint, JArray< jdouble > *, ::java::awt::image::DataBuffer *);
|
57 |
|
|
virtual void setPixels(jint, jint, jint, jint, JArray< jint > *, ::java::awt::image::DataBuffer *);
|
58 |
|
|
virtual void setPixels(jint, jint, jint, jint, JArray< jfloat > *, ::java::awt::image::DataBuffer *);
|
59 |
|
|
virtual void setPixels(jint, jint, jint, jint, JArray< jdouble > *, ::java::awt::image::DataBuffer *);
|
60 |
|
|
virtual void setSample(jint, jint, jint, jint, ::java::awt::image::DataBuffer *) = 0;
|
61 |
|
|
virtual void setSample(jint, jint, jint, jfloat, ::java::awt::image::DataBuffer *);
|
62 |
|
|
virtual void setSample(jint, jint, jint, jdouble, ::java::awt::image::DataBuffer *);
|
63 |
|
|
virtual void setSamples(jint, jint, jint, jint, jint, JArray< jint > *, ::java::awt::image::DataBuffer *);
|
64 |
|
|
virtual void setSamples(jint, jint, jint, jint, jint, JArray< jfloat > *, ::java::awt::image::DataBuffer *);
|
65 |
|
|
virtual void setSamples(jint, jint, jint, jint, jint, JArray< jdouble > *, ::java::awt::image::DataBuffer *);
|
66 |
|
|
virtual ::java::awt::image::SampleModel * createCompatibleSampleModel(jint, jint) = 0;
|
67 |
|
|
virtual ::java::awt::image::SampleModel * createSubsetSampleModel(JArray< jint > *) = 0;
|
68 |
|
|
virtual ::java::awt::image::DataBuffer * createDataBuffer() = 0;
|
69 |
|
|
virtual JArray< jint > * getSampleSize() = 0;
|
70 |
|
|
virtual jint getSampleSize(jint) = 0;
|
71 |
|
|
public: // actually protected
|
72 |
|
|
jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) width;
|
73 |
|
|
jint height;
|
74 |
|
|
jint numBands;
|
75 |
|
|
jint dataType;
|
76 |
|
|
public:
|
77 |
|
|
static ::java::lang::Class class$;
|
78 |
|
|
};
|
79 |
|
|
|
80 |
|
|
#endif // __java_awt_image_SampleModel__
|