svn-gvsig-desktop / branches / FMap04 / libraries / libFMap / src / com / iver / cit / gvsig / fmap / layers / ComplexRasterAdapter.java @ 3071
History | View | Annotate | Download (3.69 KB)
1 |
/* gvSIG. Sistema de Informaci?n Geogr?fica de la Generalitat Valenciana
|
---|---|
2 |
*
|
3 |
* Copyright (C) 2004 IVER T.I. and Generalitat Valenciana.
|
4 |
*
|
5 |
* This program is free software; you can redistribute it and/or
|
6 |
* modify it under the terms of the GNU General Public License
|
7 |
* as published by the Free Software Foundation; either version 2
|
8 |
* of the License, or (at your option) any later version.
|
9 |
*
|
10 |
* This program is distributed in the hope that it will be useful,
|
11 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
12 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
13 |
* GNU General Public License for more details.
|
14 |
*
|
15 |
* You should have received a copy of the GNU General Public License
|
16 |
* along with this program; if not, write to the Free Software
|
17 |
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,USA.
|
18 |
*
|
19 |
* For more information, contact:
|
20 |
*
|
21 |
* Generalitat Valenciana
|
22 |
* Conselleria d'Infraestructures i Transport
|
23 |
* Av. Blasco Ib??ez, 50
|
24 |
* 46010 VALENCIA
|
25 |
* SPAIN
|
26 |
*
|
27 |
* +34 963862235
|
28 |
* gvsig@gva.es
|
29 |
* www.gvsig.gva.es
|
30 |
*
|
31 |
* or
|
32 |
*
|
33 |
* IVER T.I. S.A
|
34 |
* Salamanca 50
|
35 |
* 46005 Valencia
|
36 |
* Spain
|
37 |
*
|
38 |
* +34 963163400
|
39 |
* dac@iver.es
|
40 |
*/
|
41 |
package com.iver.cit.gvsig.fmap.layers; |
42 |
|
43 |
import com.iver.cit.gvsig.fmap.drivers.DriverIOException; |
44 |
import com.iver.cit.gvsig.fmap.drivers.RasterDriver; |
45 |
|
46 |
import org.cresques.cts.IProjection; |
47 |
|
48 |
import java.awt.geom.Rectangle2D; |
49 |
|
50 |
|
51 |
/**
|
52 |
* Implementa sus m?todos obteniendo la informaci?n del driver sobre el que
|
53 |
* act?a
|
54 |
*/
|
55 |
public class ComplexRasterAdapter { |
56 |
private RasterDriver rasterFileDriver;
|
57 |
|
58 |
/**
|
59 |
* @see com.iver.cit.gvsig.fmap.drivers.GeorreferencedRasterDriver#getBandCount()
|
60 |
*/
|
61 |
public int getBandCount() { |
62 |
return 0; |
63 |
} |
64 |
|
65 |
/**
|
66 |
* @see com.iver.cit.gvsig.fmap.drivers.GeorreferencedRasterDriver#getPixel(int,
|
67 |
* int, byte[])
|
68 |
*/
|
69 |
public byte[] getPixel(int x, int y, byte[] dArray) { |
70 |
return null; |
71 |
} |
72 |
|
73 |
/**
|
74 |
* @see com.iver.cit.gvsig.fmap.drivers.GeorreferencedRasterDriver#getPixel(int,
|
75 |
* int, int[])
|
76 |
*/
|
77 |
public int[] getPixel(int x, int y, int[] dArray) { |
78 |
return null; |
79 |
} |
80 |
|
81 |
/**
|
82 |
* @see com.iver.cit.gvsig.fmap.drivers.GeorreferencedRasterDriver#getPixel(int,
|
83 |
* int, float[])
|
84 |
*/
|
85 |
public float[] getPixel(int x, int y, float[] dArray) { |
86 |
return null; |
87 |
} |
88 |
|
89 |
/**
|
90 |
* @see com.iver.cit.gvsig.fmap.drivers.GeorreferencedRasterDriver#getPixel(int,
|
91 |
* int, double[])
|
92 |
*/
|
93 |
public double[] getPixel(int x, int y, double[] dArray) { |
94 |
return null; |
95 |
} |
96 |
|
97 |
/**
|
98 |
* @see com.iver.cit.gvsig.fmap.drivers.GeorreferencedRasterDriver#getSampleByte(int,
|
99 |
* int, int)
|
100 |
*/
|
101 |
public byte getSampleByte(int x, int y, int band) { |
102 |
return 0; |
103 |
} |
104 |
|
105 |
/**
|
106 |
* @see com.iver.cit.gvsig.fmap.drivers.GeorreferencedRasterDriver#getSampleInt(int,
|
107 |
* int, int)
|
108 |
*/
|
109 |
public int getSampleInt(int x, int y, int band) { |
110 |
return 0; |
111 |
} |
112 |
|
113 |
/**
|
114 |
* @see com.iver.cit.gvsig.fmap.drivers.GeorreferencedRasterDriver#getSampleFloat(int,
|
115 |
* int, int)
|
116 |
*/
|
117 |
public float getSampleFloat(int x, int y, int band) { |
118 |
return 0; |
119 |
} |
120 |
|
121 |
/**
|
122 |
* @see com.iver.cit.gvsig.fmap.drivers.GeorreferencedRasterDriver#getSampleDouble(int,
|
123 |
* int, int)
|
124 |
*/
|
125 |
public double getSampleDouble(int x, int y, int band) { |
126 |
return 0; |
127 |
} |
128 |
|
129 |
/**
|
130 |
* @see com.iver.cit.gvsig.fmap.layers.GeorreferencedRaster#getFullExtent()
|
131 |
*/
|
132 |
public Rectangle2D getFullExtent() { |
133 |
return null; |
134 |
} |
135 |
|
136 |
/**
|
137 |
* @see com.iver.cit.gvsig.fmap.layers.GeorreferencedRaster#getProjection()
|
138 |
*/
|
139 |
public IProjection getProjection() {
|
140 |
return null; |
141 |
} |
142 |
|
143 |
/**
|
144 |
* M?todo de inicio del Adapter.
|
145 |
*
|
146 |
* @throws DriverIOException
|
147 |
*/
|
148 |
public void start() throws DriverIOException { |
149 |
} |
150 |
|
151 |
/**
|
152 |
* M?todo final del Adapter.
|
153 |
*
|
154 |
* @throws DriverIOException
|
155 |
*/
|
156 |
public void stop() throws DriverIOException { |
157 |
} |
158 |
} |