import(Rcpp)
import(methods)
import(sp)
importFrom(stats, as.formula, aggregate, predict, density, median, quantile, update, approx, reshape)
importFrom(utils, stack, unstack, head, tail, download.file)
importFrom(graphics, hist, lines, image, rect, filled.contour, contour, persp, pairs, text, boxplot, points, abline, legend, title, strheight, strwidth)
importFrom(grDevices, as.raster, terrain.colors, heat.colors, col2rgb, rainbow, dev.flush, dev.off, dev.new, xy.coords, png)
exportClasses(Extent, BasicRaster, Raster, RasterLayer, RasterBrick, RasterStack, RasterStackBrick)
exportMethods("[", "[[", "==", "!=", "!", adjacent, all.equal, animate, Arith, approxNA, area, as.array, as.character, as.factor, as.vector, as.matrix, as.raster, atan2, bandnr, bbox, bind, barplot, boundaries, boxplot, buffer, brick, calc, clamp, click, cellStats, clump, Compare, couldBeLonLat, cover, coordinates, contour, corLocal, cut, crosstab, crop, crs, "crs<-", disaggregate, distance, direction, density, erase, extent, extract, extend, flip, focal, freq, getValues, getValuesBlock, geom, gridDistance, hasValues, hist, head, init, interpolate, intersect, image, is.factor, isLonLat, layerize, lines, log, Logic, levels, is.factor, as.factor, asFactor, mask, Math, Math2, mean, metadata, merge, modal, mosaic, ncell, ncol, "ncol<-", nlayers, nrow, "nrow<-", overlay, origin, pairs, persp, plot, plotRGB, predict, quantile, RGB, raster, rasterize, ratify, rectify, reclassify, res, "res<-", resample, rotate, "$", "$<-", sampleRandom, sampleRegular, sampleStratified, select, stackSelect, setMinMax, setValues, shift, stretch, spplot, subset, subs, summary, Summary, stack, t, tail, text, trim, unique, unstack, union, update, xmin, xmax, xres, ymin, ymax, yres, zonal, yFromRow, xFromCol,colFromX, rowFromY, cellFromXY, cellFromRowCol, cellFromRowColCombine, xyFromCell, yFromCell, xFromCell, rowColFromCell,rowFromCell, colFromCell, readStart, readStop,values, "values<-", weighted.mean, which.min, which.max, whiches.min, whiches.max, Which, wkt, writeStart, writeStop, writeValues, writeRaster, zonal, zoom, xmin, xmax, ymin, ymax, "xmin<-", "xmax<-", "ymin<-", "ymax<-")
useDynLib(raster, .registration = TRUE)
exportPattern("^[^\\.\\_]")
