WhirlyGlobe  1.1
A 3D interactive globe toolkit for ios
WhirlyGlobe::ShapeReader Class Reference

#include <ShapeReader.h>

Inheritance diagram for WhirlyGlobe::ShapeReader:
WhirlyGlobe::VectorReader

List of all members.

Public Member Functions

 ShapeReader (NSString *fileName)
 Construct with a file name.
virtual bool isValid ()
 Return true if we managed to load the file.
virtual VectorShapeRef getNextObject (const StringSet *filterAttrs)
 Return the next feature.
virtual bool canReadByIndex ()
 We can do random seeking.
virtual unsigned int getNumObjects ()
 The total number of shapes in the file.
virtual VectorShapeRef getObjectByIndex (unsigned int vecIndex, const StringSet *filter)
 Fetch an object by the index.

Protected Attributes

void * shp
void * dbf
int where
int numEntity
int shapeType
double minBound [4]
double maxBound [4]

Detailed Description

Shape File Reader. Open a shapefile and return the features as requested.


The documentation for this class was generated from the following file: