FDO .NET API Reference Feature Data Objects

mgRasterDataOrganization.h

Go to the documentation of this file.
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 #pragma once
00019 
00020 /// \cond DOXYGEN-IGNORE
00021 BEGIN_NAMESPACE_OSGEO_FDO_RASTER
00022 /// \endcond
00023 
00024 /// \ingroup (OSGeoFDORaster)
00025 /// \brief
00026 /// The RasterDataOrganization enumeration specifies the way
00027 /// pixel data is interleaved. Data is stored/retrieved in left to right,
00028 /// and secondarily top to bottom order within the interleave order.
00029 /// Tiles are also stored/retrieved in left to right, top to bottom order.
00030 /// For tiled data, data for one tile is completely stored/retrieved before
00031 /// the next tile, so for example, with 'RasterDataOrganization_Image'
00032 /// organization of RGB data with 24 bits per pixel, the TileSizeX by
00033 /// TileSizeY 8 bit data values for the red channel are stored first
00034 /// followed by the same number of green bytes, followed by the same
00035 /// number of blue bytes. This organization dependant storage should be
00036 /// considered when 'skipping' to the middle of an image.
00037 public __value enum RasterDataOrganization
00038 {
00039     /// Data is interleaved by pixel, with all data for a pixel contiguous in memory.
00040     RasterDataOrganization_Pixel = FdoRasterDataOrganization_Pixel,
00041 
00042     /// Data is interleaved by row, with all data of a channel for one row
00043     /// contiguous in memory, followed by a rows worth of the next channel, etc.
00044     RasterDataOrganization_Row = FdoRasterDataOrganization_Row,
00045 
00046     /// Data is interleaved by image, with all data of a channel for a complete
00047     /// image contiguous in memory, followed by a complete image of the next
00048     /// channel, etc.
00049     RasterDataOrganization_Image = FdoRasterDataOrganization_Image
00050 };
00051 
00052 /// \cond DOXYGEN-IGNORE
00053 END_NAMESPACE_OSGEO_FDO_RASTER
00054 /// \endcond

Comments or suggestions? Send us feedback.