FDO .NET API Reference | Feature Data Objects |
00001 /* 00002 * Copyright (C) 2004-2006 Autodesk, Inc. 00003 * 00004 * This library is free software; you can redistribute it and/or 00005 * modify it under the terms of version 2.1 of the GNU Lesser 00006 * General Public License as published by the Free Software Foundation. 00007 * 00008 * This library is distributed in the hope that it will be useful, 00009 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00010 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00011 * Lesser General Public License for more details. 00012 * 00013 * You should have received a copy of the GNU Lesser General Public 00014 * License along with this library; if not, write to the Free Software 00015 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 00016 * 00017 */ 00018 00019 #pragma once 00020 #include "FDO\Raster\mgRasterDataModel.h" 00021 00022 BEGIN_NAMESPACE_OSGEO_FDO_RASTER 00023 public __gc class RasterDataMode; 00024 END_NAMESPACE_OSGEO_FDO_RASTER 00025 00026 BEGIN_NAMESPACE_OSGEO_FDO_CONNECTIONS_CAPABILITIES 00027 00028 /// \ingroup (OSGeoFDOConnectionsCapabilities) 00029 /// \interface OSGeo::FDO::Connections::Capabilities::IRasterCapabilities 00030 /// \brief 00031 /// The IRasterCapabilities class delineates available support for raster processing from a provider. 00032 public __gc __interface IRasterCapabilities : public System::IDisposable 00033 { 00034 public: 00035 /// \brief 00036 /// Returns true if the provider has raster capability. 00037 /// This implies the capability to define new raster properties on a class 00038 /// and store and retrieve raster images. 00039 /// 00040 /// \return 00041 /// Returns true if raster images are supported, false otherwise. 00042 /// 00043 System::Boolean SupportsRaster (); 00044 00045 /// \brief 00046 /// Returns true if the provider has the capability to stitch images from a 00047 /// select command (query) together into a single image. 00048 /// 00049 /// \return 00050 /// Returns false if this capability is not supported, and hence the 00051 /// IFeatureReader object returned from a select command will have one feature 00052 /// for each of the IRaster objects that match the select filter. 00053 /// Returns true if this capability is supported. If the MOSAIC function 00054 /// is specified in the select command, then a single image that is a combination 00055 /// of the selected images is returned. 00056 /// 00057 System::Boolean SupportsStitching (); 00058 00059 /// \brief 00060 /// Returns true if the provider can reduce the resolution of an image. 00061 /// 00062 /// \return 00063 /// Returns true if this capability is supported, and hence the IRaster 00064 /// object returned by the IFeatureReader from a query will honour the 00065 /// SetImageXSize() and SetImageYSize() methods and reduce the resolution of the 00066 /// image by one of several means of subsampling. Returns false if attempting to set 00067 /// the image size of an IRaster object returned by a IFeatureReader will 00068 /// throw an Exception. 00069 /// 00070 System::Boolean SupportsSubsampling (); 00071 00072 /// \brief 00073 /// Returns true if the provider can handle the provided data model. 00074 /// It is expected that when used to transform between data models, the matrix defined 00075 /// by input and output data models is not sparse for every data model that is supported. 00076 /// 00077 /// \param model 00078 /// The model to check for validity with this provider. 00079 /// 00080 /// \return 00081 /// Returns true if the specified data model is supported, and hence the 00082 /// IRaster object will dynamically transform an image to the specified data model. 00083 /// Returns false if the specified data model is not supported. 00084 /// 00085 System::Boolean SupportsDataModel (NAMESPACE_OSGEO_FDO_RASTER::RasterDataModel* model); 00086 00087 }; 00088 00089 END_NAMESPACE_OSGEO_FDO_CONNECTIONS_CAPABILITIES 00090 00091
Comments or suggestions? Send us feedback. |