DocumentationOverviewBuilding ASL Documentation Library Wiki Docs Indices Browse Perforce More InfoRelease NotesWiki Site Search License Success Stories Contributors MediaDownloadPerforce Depots SupportASL SourceForge HomeMailing Lists Discussion Forums Report Bugs Suggest Features Contribute to ASL RSSShort-text newsFull-text news File releases Other Adobe ProjectsAdobe AirAdobe GIL Adobe Labs Adobe Media Gallery Adobe XMP Tamarin project (Mozilla Foundation) Other ResourcesBoostRIAForge SGI STL |
dng_tile_iterator.h00001 /*****************************************************************************/ 00002 // Copyright 2006 Adobe Systems Incorporated 00003 // All Rights Reserved. 00004 // 00005 // NOTICE: Adobe permits you to use, modify, and distribute this file in 00006 // accordance with the terms of the Adobe license agreement accompanying it. 00007 /*****************************************************************************/ 00008 00009 /* $Id: //mondo/workarea/stern/camera_raw/dng_sdk/source/dng_tile_iterator.h#2 $ */ 00010 /* $DateTime: 2006/03/19 21:45:16 $ */ 00011 /* $Change: 211775 $ */ 00012 /* $Author: stern $ */ 00013 00014 /*****************************************************************************/ 00015 00016 #ifndef __dng_tile_iterator__ 00017 #define __dng_tile_iterator__ 00018 00019 /*****************************************************************************/ 00020 00021 #include "dng_classes.h" 00022 #include "dng_point.h" 00023 #include "dng_rect.h" 00024 #include "dng_types.h" 00025 00026 /*****************************************************************************/ 00027 00028 class dng_tile_iterator 00029 { 00030 00031 private: 00032 00033 dng_rect fArea; 00034 00035 int32 fTileWidth; 00036 int32 fTileHeight; 00037 00038 int32 fTileTop; 00039 int32 fTileLeft; 00040 00041 int32 fRowLeft; 00042 00043 int32 fLeftPage; 00044 int32 fRightPage; 00045 00046 int32 fTopPage; 00047 int32 fBottomPage; 00048 00049 int32 fHorizontalPage; 00050 int32 fVerticalPage; 00051 00052 public: 00053 00054 dng_tile_iterator (const dng_image &image, 00055 const dng_rect &area); 00056 00057 dng_tile_iterator (const dng_point &tileSize, 00058 const dng_rect &area); 00059 00060 dng_tile_iterator (const dng_rect &tile, 00061 const dng_rect &area); 00062 00063 bool GetOneTile (dng_rect &tile); 00064 00065 private: 00066 00067 void Initialize (const dng_rect &tile, 00068 const dng_rect &area); 00069 00070 }; 00071 00072 /*****************************************************************************/ 00073 00074 #endif 00075 00076 /*****************************************************************************/ |