Skip to content
Permalink
Browse files

fix windows build

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@11559 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef
jef committed Sep 5, 2009
1 parent 74062aa commit 5b0baad347e41b6a9c0c5ad57e293efc7db9695f
@@ -21,7 +21,7 @@
#include "qgsderivativefilter.h"

/**Calculates aspect values in a window of 3x3 cells based on first order derivatives in x- and y- directions. Direction is clockwise starting from north*/
class QgsAspectFilter: public QgsDerivativeFilter
class ANALYSIS_EXPORT QgsAspectFilter: public QgsDerivativeFilter
{
public:
QgsAspectFilter( const QString& inputFile, const QString& outputFile, const QString& outputFormat );
@@ -27,7 +27,7 @@ class QProgressDialog;
the cell value and the eight neighbour cells. Common examples are slope and aspect calculation in DEMs. Subclasses only implement \
the method that calculates the new value from the nine values. Everything else (reading file, writing file) is done by this subclass*/

class QgsNineCellFilter
class ANALYSIS_EXPORT QgsNineCellFilter
{
public:
/**Constructor that takes input file, output file and output format (GDAL string)*/
@@ -21,7 +21,7 @@
#include "qgsninecellfilter.h"

/**Calculates the ruggedness index based on a 3x3 moving window*/
class QgsRuggednessFilter: public QgsNineCellFilter
class ANALYSIS_EXPORT QgsRuggednessFilter: public QgsNineCellFilter
{
public:
QgsRuggednessFilter( const QString& inputFile, const QString& outputFile, const QString& outputFormat );
@@ -21,7 +21,7 @@
#include "qgsderivativefilter.h"

/**Calculates slope values in a window of 3x3 cells based on first order derivatives in x- and y- directions*/
class QgsSlopeFilter: public QgsDerivativeFilter
class ANALYSIS_EXPORT QgsSlopeFilter: public QgsDerivativeFilter
{
public:
QgsSlopeFilter( const QString& inputFile, const QString& outputFile, const QString& outputFormat );
@@ -21,7 +21,7 @@
#include "qgsninecellfilter.h"

/**Calculates total curvature as described by Wilson, Gallant (2000): terrain analysis*/
class QgsTotalCurvatureFilter: public QgsNineCellFilter
class ANALYSIS_EXPORT QgsTotalCurvatureFilter: public QgsNineCellFilter
{
public:
QgsTotalCurvatureFilter( const QString& inputFile, const QString& outputFile, const QString& outputFormat );
@@ -495,12 +495,12 @@ void QgsInterpolationDialog::setNColsOnCellsizeXChange()
QgsRectangle currentBBox = currentBoundingBox();
int newSize;

if ( !mCellsizeXSpinBox->value() > 0 )
if ( mCellsizeXSpinBox->value() <= 0 )
{
return;
}

if ( !currentBBox.width() > 0 )
if ( currentBBox.width() <= 0 )
{
newSize = 0;
}
@@ -519,12 +519,12 @@ void QgsInterpolationDialog::setNRowsOnCellsizeYChange()
QgsRectangle currentBBox = currentBoundingBox();
int newSize;

if ( !mCellSizeYSpinBox->value() > 0 )
if ( mCellSizeYSpinBox->value() <= 0 )
{
return;
}

if ( !currentBBox.height() > 0 )
if ( currentBBox.height() <= 0 )
{
newSize = 0;
}

0 comments on commit 5b0baad

Please sign in to comment.
You can’t perform that action at this time.