30 #ifndef OGRWARPEDLAYER_H_INCLUDED 31 #define OGRWARPEDLAYER_H_INCLUDED 35 #include "ogrlayerdecorator.h" 41 class OGRWarpedLayer :
public OGRLayerDecorator
51 OGREnvelope sStaticEnvelope;
53 static int ReprojectEnvelope( OGREnvelope* psEnvelope,
61 OGRWarpedLayer(
OGRLayer* poDecoratedLayer,
66 virtual ~OGRWarpedLayer();
68 void SetExtent(
double dfXMin,
double dfYMin,
double dfXMax,
double dfYMax);
70 virtual void SetSpatialFilter(
OGRGeometry * )
override;
71 virtual void SetSpatialFilterRect(
double dfMinX,
double dfMinY,
72 double dfMaxX,
double dfMaxY )
override;
73 virtual void SetSpatialFilter(
int iGeomField,
OGRGeometry * )
override;
74 virtual void SetSpatialFilterRect(
int iGeomField,
double dfMinX,
double dfMinY,
75 double dfMaxX,
double dfMaxY )
override;
86 virtual GIntBig GetFeatureCount(
int bForce = TRUE )
override;
87 virtual OGRErr GetExtent(
int iGeomField, OGREnvelope *psExtent,
int bForce = TRUE)
override;
88 virtual OGRErr GetExtent(OGREnvelope *psExtent,
int bForce = TRUE)
override;
90 virtual int TestCapability(
const char * )
override;
95 #endif // OGRWARPEDLAYER_H_INCLUDED Definition of a feature class or feature layer.
Definition: ogr_feature.h:259
Abstract base class for all geometry classes.
Definition: ogr_geometry.h:286
This class represents an OpenGIS Spatial Reference System, and contains methods for converting betwee...
Definition: ogr_spatialref.h:145
This class represents a layer of simple features, with access methods.
Definition: ogrsf_frmts.h:70
A simple feature, including geometry and attributes.
Definition: ogr_feature.h:353
long long GIntBig
Large signed integer type (generally 64-bit integer type).
Definition: cpl_port.h:246
int OGRErr
Simple container for a bounding region.
Definition: ogr_core.h:290