00001 /*
00002 * (C) Copyright 2005 by Autodesk, Inc. All Rights Reserved.
00003 *
00004 * By using this code, you are agreeing to the terms and conditions of
00005 * the License Agreement included in the documentation for this code.
00006 *
00007 * AUTODESK MAKES NO WARRANTIES, EXPRESS OR IMPLIED, AS TO THE
00008 * CORRECTNESS OF THIS CODE OR ANY DERIVATIVE WORKS WHICH INCORPORATE
00009 * IT. AUTODESK PROVIDES THE CODE ON AN "AS-IS" BASIS AND EXPLICITLY
00010 * DISCLAIMS ANY LIABILITY, INCLUDING CONSEQUENTIAL AND INCIDENTAL
00011 * DAMAGES FOR ERRORS, OMISSIONS, AND OTHER PROBLEMS IN THE CODE.
00012 *
00013 * Use, duplication, or disclosure by the U.S. Government is subject
00014 * to restrictions set forth in FAR 52.227-19 (Commercial Computer
00015 * Software Restricted Rights) and DFAR 252.227-7013(c)(1)(ii)
00016 * (Rights in Technical Data and Computer Software), as applicable.
00017 *
00018 * Revision Control Modification History
00019 *
00020 * $Id$
00021 * $Author$
00022 * $DateTime$
00023 * $Change$
00024 *
00025 */
00026
00027 #pragma once
00028
00029 class FdoRfpRasterGeoreferenceLocation;
00030
00031 BEGIN_NAMESPACE_AUTODESK_GIS_FDO_PROVIDERS_RASTERFILE_OVERRIDE
00032
00033 /// <summary>
00034 /// FdoIoTextReader reads from a binary stream containing UTF8 characters.
00035 /// It formats these UTF8 characters into Unicode wide characters. This class is
00036 /// not yet complete, since the Read functions still have to be added.
00037 /// </summary>
00038 public __gc class RasterGeoreferenceLocation : public NAMESPACE_OSGEO_RUNTIME::Disposable
00039 {
00040 public:
00041 /// <summary>Constructs a new Raster Image Georeference Location.</summary>
00042 RasterGeoreferenceLocation();
00043
00044 /// <summary>Retrieves the X insertion point of the raster image.</summary>
00045 /// <returns>Returns the X insertion point.</returns>
00046 /// <remarks> X coordinate (in ground units) of the center of the upper
00047 /// left pixel of the image; the (1, 1) or (0, 0) pixel depending on convention.</remarks>
00048 __property System::Double get_XInsertionPoint();
00049
00050 /// <summary>Sets the X insertion point of the raster image.</summary>
00051 /// <param name="point">Input the X insertion point of the image.</param>
00052 /// <returns>Returns nothing.</returns>
00053 /// <remarks> X coordinate (in ground units) of the center of the upper
00054 /// left pixel of the image; the (1, 1) or (0, 0) pixel depending on convention.</remarks>
00055 __property System::Void set_XInsertionPoint(System::Double point);
00056
00057 /// <summary>Retrieves the Y insertion point of the raster image.</summary>
00058 /// <returns>Returns the Y insertion point.</returns>
00059 /// <remarks> Y coordinate (in ground units) of the center of the upper
00060 /// left pixel of the image; the (1, 1) or (0, 0) pixel depending on convention.</remarks>
00061 __property System::Double get_YInsertionPoint();
00062
00063 /// <summary>Sets the Y insertion point of the raster image.</summary>
00064 /// <param name="point">Input the Y insertion point of the image.</param>
00065 /// <returns>Returns nothing.</returns>
00066 /// <remarks> Y coordinate (in ground units) of the center of the upper
00067 /// left pixel of the image; the (1, 1) or (0, 0) pixel depending on convention.</remarks>
00068 __property System::Void set_YInsertionPoint(System::Double point);
00069
00070 /// <summary>Retrieves the X resolution of the raster image.</summary>
00071 /// <returns>Returns the Resolution angle.</returns>
00072 /// <remarks> Cell size in the X direction. Usually a positive number. </remarks>
00073 __property System::Double get_XResolution();
00074
00075 /// <summary>Sets the X Resolution of the raster image.</summary>
00076 /// <param name="Resolution">Input the Resolution angle in degrees.</param>
00077 /// <returns>Returns nothing.</returns>
00078 /// <remarks> Cell size in the X direction. Usually a positive number. </remarks>
00079 __property System::Void set_XResolution(System::Double resolution);
00080
00081 /// <summary>Retrieves the Y Resolution of the raster image.</summary>
00082 /// <returns>Returns the Resolution angle.</returns>
00083 /// <remarks> Cell size in the Y direction. Usually a negative number in order to convert
00084 /// from image row numbering (increasing from the top down) to map coordinates (increasing
00085 /// from the bottom up). For a rectified image, ResolutionY must be equal to ResolutionX and
00086 /// of opposite sign. </remarks>
00087 __property System::Double get_YResolution();
00088
00089 /// <summary>Sets the Y Resolution of the raster image.</summary>
00090 /// <param name="resolution">Input the resolution of the .</param>
00091 /// <returns>Returns nothing.</returns>
00092 /// <remarks> Cell size in the Y direction. Usually a negative number in order to convert
00093 /// from image row numbering (increasing from the top down) to map coordinates (increasing
00094 /// from the bottom up). For a rectified image, ResolutionY must be equal to ResolutionX and
00095 /// of opposite sign. </remarks>
00096 __property System::Void set_YResolution(System::Double resolution);
00097
00098 /// <summary>Retrieves the X Rotation of the raster image.</summary>
00099 /// <returns>Returns the rotation angle.</returns>
00100 __property System::Double get_XRotation();
00101
00102 /// <summary>Sets the X Rotation of the raster image.</summary>
00103 /// <param name="rotation">Input the rotation angle in degrees.</param>
00104 /// <returns>Returns nothing.</returns>
00105 __property System::Void set_XRotation(System::Double rotation);
00106
00107 /// <summary>Retrieves the Y Rotation (Skew) of the raster image.</summary>
00108 /// <returns>Returns the rotation angle.</returns>
00109 __property System::Double get_YRotation();
00110
00111 /// <summary>Sets the Y Rotation (Skew) of the raster image.</summary>
00112 /// <param name="rotation">Input the rotation angle in degrees.</param>
00113 /// <returns>Returns nothing.</returns>
00114 __property System::Void set_YRotation(System::Double rotation);
00115
00116 public protected:
00117 RasterGeoreferenceLocation(System::IntPtr unmanaged, System::Boolean autoDelete);
00118
00119 protected:
00120 System::Void ReleaseUnmanagedObject();
00121
00122 public private:
00123 inline FdoRfpRasterGeoreferenceLocation* GetImpObj();
00124 };
00125
00126 END_NAMESPACE_AUTODESK_GIS_FDO_PROVIDERS_RASTERFILE_OVERRIDE