- Main Page
- Related Pages
- Modules
- Classes
- Files

# RasterDataOrganization.h

Go to the documentation of this file.

    00001 #ifndef _RASTERDATAORGANIZATION_H_
    00002 #define _RASTERDATAORGANIZATION_H_
    00003
    00004 //
    00005 // Copyright (C) 2004-2006  Autodesk, Inc.
    00006 //
    00007 // This library is free software; you can redistribute it and/or
    00008 // modify it under the terms of version 2.1 of the GNU Lesser
    00009 // General Public License as published by the Free Software Foundation.
    00010 //
    00011 // This library is distributed in the hope that it will be useful,
    00012 // but WITHOUT ANY WARRANTY; without even the implied warranty of
    00013 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    00014 // Lesser General Public License for more details.
    00015 //
    00016 // You should have received a copy of the GNU Lesser General Public
    00017 // License along with this library; if not, write to the Free Software
    00018 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
    00019 //
    00020 #ifdef _WIN32
    00021 #pragma once
    00022 #endif
    00023
    00024 #include <FdoStd.h>
    00025
    00026 /// \ingroup (enums)
    00027 /// \brief
    00028 /// The FdoRasterDataOrganization enumeration specifies the way
    00029 /// pixel data is interleaved. Data is stored/retrieved in left to right,
    00030 /// and secondarily top to bottom order within the interleave order.
    00031 /// Tiles are also stored/retrieved in left to right, top to bottom order.
    00032 /// For tiled data, data for one tile is completely stored/retrieved before
    00033 /// the next tile, so for example, with 'FdoRasterDataOrganization_Image'
    00034 /// organization of RGB data with 24 bits per pixel, the TileSizeX by
    00035 /// TileSizeY 8 bit data values for the red channel are stored first
    00036 /// followed by the same number of green bytes, followed by the same
    00037 /// number of blue bytes. This organization dependant storage should be
    00038 /// considered when 'skipping' to the middle of an image.
    00039 /// </param>
    00040 enum FdoRasterDataOrganization
    00041 {
    00042
    00043     /// Data is interleaved by pixel, with all data for a pixel contiguous in memory.
    00044     FdoRasterDataOrganization_Pixel,
    00045
    00046     /// Data is interleaved by row, with all data of a channel for one row
    00047     /// contiguous in memory, followed by a rows worth of the next channel, etc.
    00048     FdoRasterDataOrganization_Row,
    00049
    00050     /// Data is interleaved by image, with all data of a channel for a complete
    00051     /// image contiguous in memory, followed by a complete image of the next
    00052     /// channel, etc.
    00053     FdoRasterDataOrganization_Image
    00054 };
    00055
    00056 #endif // _RASTERDATAORGANIZATION_H_
    00057
    00058

Please send us your comment about this page