svn-gvsig-desktop / branches / v051 / libraries / libFMap / src / com / iver / cit / gvsig / fmap / layers / ComplexRasterAdapter.java @ 3947
History | View | Annotate | Download (3.69 KB)
1 | 1100 | fjp | /* 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 | 228 | fernando | package com.iver.cit.gvsig.fmap.layers; |
42 | |||
43 | 1005 | vcaballero | import com.iver.cit.gvsig.fmap.drivers.DriverIOException; |
44 | import com.iver.cit.gvsig.fmap.drivers.RasterDriver; |
||
45 | 228 | fernando | |
46 | 303 | fernando | import org.cresques.cts.IProjection; |
47 | 228 | fernando | |
48 | 1005 | vcaballero | import java.awt.geom.Rectangle2D; |
49 | 228 | fernando | |
50 | |||
51 | 303 | fernando | /**
|
52 | 1005 | vcaballero | * Implementa sus m?todos obteniendo la informaci?n del driver sobre el que
|
53 | * act?a
|
||
54 | 303 | fernando | */
|
55 | 358 | fernando | public class ComplexRasterAdapter { |
56 | 1005 | vcaballero | private RasterDriver rasterFileDriver;
|
57 | 228 | fernando | |
58 | 1005 | vcaballero | /**
|
59 | * @see com.iver.cit.gvsig.fmap.drivers.GeorreferencedRasterDriver#getBandCount()
|
||
60 | */
|
||
61 | public int getBandCount() { |
||
62 | return 0; |
||
63 | } |
||
64 | 228 | fernando | |
65 | 1005 | vcaballero | /**
|
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 | 228 | fernando | |
73 | 1005 | vcaballero | /**
|
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 | 228 | fernando | |
81 | 1005 | vcaballero | /**
|
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 | 228 | fernando | |
89 | 1005 | vcaballero | /**
|
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 | 228 | fernando | |
97 | 1005 | vcaballero | /**
|
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 | 228 | fernando | |
105 | 1005 | vcaballero | /**
|
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 | 228 | fernando | |
113 | 1005 | vcaballero | /**
|
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 | 228 | fernando | |
121 | 1005 | vcaballero | /**
|
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 | 228 | fernando | |
129 | 1005 | vcaballero | /**
|
130 | * @see com.iver.cit.gvsig.fmap.layers.GeorreferencedRaster#getFullExtent()
|
||
131 | */
|
||
132 | public Rectangle2D getFullExtent() { |
||
133 | return null; |
||
134 | } |
||
135 | 228 | fernando | |
136 | 1005 | vcaballero | /**
|
137 | * @see com.iver.cit.gvsig.fmap.layers.GeorreferencedRaster#getProjection()
|
||
138 | */
|
||
139 | public IProjection getProjection() {
|
||
140 | return null; |
||
141 | } |
||
142 | 358 | fernando | |
143 | 1005 | vcaballero | /**
|
144 | * M?todo de inicio del Adapter.
|
||
145 | *
|
||
146 | * @throws DriverIOException
|
||
147 | */
|
||
148 | public void start() throws DriverIOException { |
||
149 | } |
||
150 | 358 | fernando | |
151 | 1005 | vcaballero | /**
|
152 | * M?todo final del Adapter.
|
||
153 | *
|
||
154 | * @throws DriverIOException
|
||
155 | */
|
||
156 | public void stop() throws DriverIOException { |
||
157 | } |
||
158 | 228 | fernando | } |