root / tags / v1_0_2_Build_904 / libraries / libCq CMS for java.old / src / org / cresques / io / MemoryRasterDriver.java @ 10724
History | View | Annotate | Download (2.73 KB)
1 |
/*
|
---|---|
2 |
* Cresques Mapping Suite. Graphic Library for constructing mapping applications.
|
3 |
*
|
4 |
* Copyright (C) 2004-5.
|
5 |
*
|
6 |
* This program is free software; you can redistribute it and/or
|
7 |
* modify it under the terms of the GNU General Public License
|
8 |
* as published by the Free Software Foundation; either version 2
|
9 |
* of the License, or (at your option) any later version.
|
10 |
*
|
11 |
* This program is distributed in the hope that it will be useful,
|
12 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
13 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
14 |
* GNU General Public License for more details.
|
15 |
*
|
16 |
* You should have received a copy of the GNU General Public License
|
17 |
* along with this program; if not, write to the Free Software
|
18 |
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,USA.
|
19 |
*
|
20 |
* For more information, contact:
|
21 |
*
|
22 |
* cresques@gmail.com
|
23 |
*/
|
24 |
package org.cresques.io; |
25 |
|
26 |
import java.awt.Image; |
27 |
|
28 |
import org.cresques.cts.ICoordTrans; |
29 |
import org.cresques.io.data.RasterBuf; |
30 |
import org.cresques.io.exceptions.NotSupportedExtensionException; |
31 |
import org.cresques.px.Extent; |
32 |
|
33 |
|
34 |
/**
|
35 |
* This class isn't implemented yet.
|
36 |
* @author Nacho Brodin (nachobrodin@gmail.com)
|
37 |
*
|
38 |
*/
|
39 |
public class MemoryRasterDriver extends GeoRasterFile { |
40 |
|
41 |
public MemoryRasterDriver(){
|
42 |
super(null, null); |
43 |
} |
44 |
|
45 |
|
46 |
public MemoryRasterDriver(RasterBuf buf, Extent ext)throws NotSupportedExtensionException{ |
47 |
super(null, null); |
48 |
} |
49 |
|
50 |
|
51 |
public void close() { |
52 |
// TODO Auto-generated method stub
|
53 |
|
54 |
} |
55 |
|
56 |
|
57 |
public int getBlockSize() { |
58 |
// TODO Auto-generated method stub
|
59 |
return 0; |
60 |
} |
61 |
|
62 |
|
63 |
public Object getData(int x, int y, int band) { |
64 |
// TODO Auto-generated method stub
|
65 |
return null; |
66 |
} |
67 |
|
68 |
|
69 |
public int getHeight() { |
70 |
// TODO Auto-generated method stub
|
71 |
return 0; |
72 |
} |
73 |
|
74 |
|
75 |
public Extent getView() {
|
76 |
// TODO Auto-generated method stub
|
77 |
return null; |
78 |
} |
79 |
|
80 |
|
81 |
public int getWidth() { |
82 |
// TODO Auto-generated method stub
|
83 |
return 0; |
84 |
} |
85 |
|
86 |
|
87 |
public byte[] getWindow(int ulX, int ulY, int sizeX, int sizeY, int band) { |
88 |
// TODO Auto-generated method stub
|
89 |
return null; |
90 |
} |
91 |
|
92 |
|
93 |
public GeoFile load() {
|
94 |
// TODO Auto-generated method stub
|
95 |
return null; |
96 |
} |
97 |
|
98 |
|
99 |
public void reProject(ICoordTrans rp) { |
100 |
// TODO Auto-generated method stub
|
101 |
|
102 |
} |
103 |
|
104 |
|
105 |
public void setExtentTransform(double originX, double originY, double psX, double psY) { |
106 |
// TODO Auto-generated method stub
|
107 |
|
108 |
} |
109 |
|
110 |
|
111 |
public void setView(Extent e) { |
112 |
// TODO Auto-generated method stub
|
113 |
|
114 |
} |
115 |
|
116 |
|
117 |
public Image updateImage(int width, int height, ICoordTrans rp) { |
118 |
// TODO Auto-generated method stub
|
119 |
return null; |
120 |
} |
121 |
|
122 |
|
123 |
public Image updateImage(int width, int height, ICoordTrans rp, Image img, int origBand, int destBand) throws SupersamplingNotSupportedException { |
124 |
// TODO Auto-generated method stub
|
125 |
return null; |
126 |
} |
127 |
|
128 |
} |