svn-gvsig-desktop / trunk / libraries / libFMap / src / com / iver / cit / gvsig / fmap / layers / FLyrRaster.java @ 217
History | View | Annotate | Download (2.59 KB)
1 |
/* Generated by Together */
|
---|---|
2 |
package com.iver.cit.gvsig.fmap.layers; |
3 |
|
4 |
import com.iver.cit.gvsig.fmap.ViewPort; |
5 |
import com.iver.cit.gvsig.fmap.core.FGeometry; |
6 |
import com.iver.cit.gvsig.fmap.drivers.DriverIOException; |
7 |
import com.iver.cit.gvsig.fmap.operations.selection.VectorialSubSet; |
8 |
|
9 |
import java.awt.Graphics2D; |
10 |
import java.awt.geom.Point2D; |
11 |
import java.awt.geom.Rectangle2D; |
12 |
import java.awt.image.BufferedImage; |
13 |
|
14 |
|
15 |
/**
|
16 |
* DOCUMENT ME!
|
17 |
*
|
18 |
* @author Fernando Gonz?lez Cort?s
|
19 |
*/
|
20 |
public class FLyrRaster extends FLyrDefault { |
21 |
private RasterAdapter source;
|
22 |
|
23 |
private FRecordset dataSource;
|
24 |
private int keyField; |
25 |
|
26 |
/**
|
27 |
* @see com.iver.cit.gvsig.fmap.layers.FLayer#getFullExtent()
|
28 |
*/
|
29 |
public Rectangle2D getFullExtent() throws DriverIOException { |
30 |
return null; |
31 |
} |
32 |
|
33 |
/**
|
34 |
* @see com.iver.cit.gvsig.fmap.operations.Operations#draw(java.awt.image.BufferedImage,
|
35 |
* java.awt.Graphics2D, com.iver.cit.gvsig.fmap.ViewPort)
|
36 |
*/
|
37 |
public void draw(BufferedImage image, Graphics2D g, ViewPort viewPort) |
38 |
throws DriverIOException {
|
39 |
} |
40 |
|
41 |
/**
|
42 |
* Asigna la tabla asociada al raster
|
43 |
*/
|
44 |
public void setRecordset(int fieldId, FRecordset tabla){ |
45 |
keyField = fieldId; |
46 |
dataSource = tabla; |
47 |
} |
48 |
|
49 |
/**
|
50 |
* @see com.iver.cit.gvsig.fmap.layers.FLayer#getRecordset()
|
51 |
*/
|
52 |
public FRecordset getRecordset() {
|
53 |
return dataSource;
|
54 |
} |
55 |
|
56 |
public void applyFilter(Filter f) { |
57 |
} |
58 |
|
59 |
/**
|
60 |
* @see com.iver.cit.gvsig.fmap.layers.FLayer#queryByPoint(java.awt.geom.Point2D, double)
|
61 |
*/
|
62 |
public VectorialSubSet queryByPoint(Point2D p, double tolerance) { |
63 |
return null; |
64 |
} |
65 |
|
66 |
/**
|
67 |
* @see com.iver.cit.gvsig.fmap.layers.FLayer#queryByRect(java.awt.geom.Rectangle2D)
|
68 |
*/
|
69 |
public VectorialSubSet queryByRect(Rectangle2D rect) { |
70 |
return null; |
71 |
} |
72 |
|
73 |
/**
|
74 |
* @see com.iver.cit.gvsig.fmap.layers.FLayer#queryByShape(com.iver.cit.gvsig.fmap.core.FGeometry, int)
|
75 |
*/
|
76 |
public VectorialSubSet queryByShape(FGeometry g, int relationship) { |
77 |
return null; |
78 |
} |
79 |
|
80 |
/**
|
81 |
* Establece las bandas del raster que lee el driver que trata esta capa. Mediante ?ste m?todo se puede a?adir como una capa una s?la banda de un raster
|
82 |
*/
|
83 |
public void setBands(int[] bandsIndexes) { |
84 |
} |
85 |
|
86 |
/**
|
87 |
* @see com.iver.cit.gvsig.fmap.layers.FLayer#selectByPoint(java.awt.geom.Point2D, double)
|
88 |
*/
|
89 |
public void selectByPoint(Point2D p, double tolerance) { |
90 |
} |
91 |
|
92 |
/**
|
93 |
* @see com.iver.cit.gvsig.fmap.layers.FLayer#selectByRect(java.awt.geom.Rectangle2D)
|
94 |
*/
|
95 |
public void selectByRect(Rectangle2D rect) { |
96 |
} |
97 |
|
98 |
/**
|
99 |
* @see com.iver.cit.gvsig.fmap.layers.FLayer#selectByShape(com.iver.cit.gvsig.fmap.core.FGeometry, int)
|
100 |
*/
|
101 |
public void selectByShape(FGeometry g, int relationship) { |
102 |
} |
103 |
} |