00001 /* 00002 * The information in this file is 00003 * Copyright(c) 2007 Ball Aerospace & Technologies Corporation 00004 * and is subject to the terms and conditions of the 00005 * GNU Lesser General Public License Version 2.1 00006 * The license text is available from 00007 * http://www.gnu.org/licenses/lgpl.html 00008 */ 00009 00010 00011 00012 #ifndef LOCATIONTYPE_H 00013 #define LOCATIONTYPE_H 00014 00015 #include "DataVariantValidator.h" 00016 #include "Location.h" 00017 00018 /** 00019 * An X-Y pair. 00020 * @deprecated This generic X-Y pair is deprecated in favor of more specific types 00021 * such as PixelLocation and PixelOffset. 00022 */ 00023 typedef Opticks::Location<double,2> LocationType; 00024 00025 /** 00026 * \cond INTERNAL 00027 * These template specializations are required to allow these types to be put into a DataVariant. 00028 */ 00029 template <> class VariantTypeValidator<LocationType> {}; 00030 /// \endcond 00031 00032 #endif