00001 /*************************************************************************** 00002 qgspalgeometry.h 00003 ---------------- 00004 begin : May 2009 00005 copyright : (C) 2009 by Marco Hugentobler 00006 email : marco dot hugentobler at karto dot baug dot ethz dot ch 00007 ***************************************************************************/ 00008 00009 /*************************************************************************** 00010 * * 00011 * This program is free software; you can redistribute it and/or modify * 00012 * it under the terms of the GNU General Public License as published by * 00013 * the Free Software Foundation; either version 2 of the License, or * 00014 * (at your option) any later version. * 00015 * * 00016 ***************************************************************************/ 00017 00018 #ifndef QGSPALGEOMETRY_H 00019 #define QGSPALGEOMETRY_H 00020 00021 #include "palgeometry.h" 00022 00023 class QgsOverlayObject; 00024 00025 00027 class CORE_EXPORT QgsPALGeometry: public pal::PalGeometry 00028 { 00029 public: 00032 QgsPALGeometry( QgsOverlayObject* op ); 00033 ~QgsPALGeometry(); 00034 00035 //methods inherited from PalGeometry 00036 GEOSGeometry* getGeosGeometry(); 00037 void releaseGeosGeometry( GEOSGeometry *the_geom ) {} 00038 00040 QgsOverlayObject* overlayObjectPtr() const {return mOverlayObjectPtr;} 00041 00042 private: 00044 QgsPALGeometry(); 00046 QgsOverlayObject* mOverlayObjectPtr; 00047 }; 00048 00049 #endif // QGSPALGEOMETRY_H