OSSIM - Open Source Software Image Map
Version 1.9.0 (20180803)
|
#include <ossimEsriShapeFileFilter.h>
Public Member Functions | |
ossimEsriShapeFileFilter (ossimImageSource *inputSource=NULL) | |
~ossimEsriShapeFileFilter () | |
virtual bool | setView (ossimObject *baseObject) |
virtual ossimObject * | getView () |
virtual const ossimObject * | getView () const |
virtual bool | addObject (ossimAnnotationObject *anObject) |
virtual void | transformObjects (ossimImageGeometry *geom=0) |
virtual void | setImageGeometry (ossimImageGeometry *projection) |
virtual ossimRefPtr< ossimImageGeometry > | getImageGeometry () |
Returns the image geometry object associated with this tile source or NULL if non defined. More... | |
virtual ossimIrect | getBoundingRect (ossim_uint32 resLevel=0) const |
virtual void | computeBoundingRect () |
virtual void | drawAnnotations (ossimRefPtr< ossimImageData > tile) |
virtual bool | loadShapeFile (const ossimFilename &shapeFile) |
virtual ossimFilename | getFilename () const |
virtual ossim_int32 | getMaxQuadTreeLevels () const |
virtual void | setMaxQuadTreeLevels (ossim_int32 levels) |
virtual void | setBrushColor (const ossimRgbVector &brushColor) |
virtual void | setPenColor (const ossimRgbVector &penColor) |
virtual ossimRgbVector | getPenColor () const |
virtual ossimRgbVector | getBrushColor () const |
virtual bool | getFillFlag () const |
virtual void | setFillFlag (bool flag) |
virtual ossimString | getFeatureName () const |
virtual void | setFeatureName (const ossimString &name) |
virtual void | setThickness (ossim_int32 thickness) |
virtual ossim_int32 | getThickness () const |
virtual void | setPointRadius (double r) |
virtual double | getPointRadius () const |
virtual ossimAnnotationObject * | nextObject (bool restart=false) |
virtual bool | saveState (ossimKeywordlist &kwl, const char *prefix=NULL) const |
virtual bool | loadState (const ossimKeywordlist &kwl, const char *prefix=NULL) |
![]() | |
ossimAnnotationSource (ossimImageSource *inputSource=0) | |
virtual | ~ossimAnnotationSource () |
virtual ossim_uint32 | getNumberOfOutputBands () const |
Returns the number of bands in a tile returned from this TileSource. More... | |
virtual ossimScalarType | getOutputScalarType () const |
This will be used to query the output pixel type of the tile source. More... | |
virtual ossimRefPtr< ossimImageData > | getTile (const ossimIrect &tileRect, ossim_uint32 resLevel=0) |
virtual void | initialize () |
virtual void | setNumberOfBands (ossim_uint32 bands) |
virtual bool | deleteObject (ossimAnnotationObject *anObject) |
AnnotationObjectListType | pickObjects (const ossimDpt &imagePoint) |
AnnotationObjectListType | pickObjects (const ossimDrect &imageRect) |
const AnnotationObjectListType & | getObjectList () const |
AnnotationObjectListType & | getObjectList () |
void | deleteAll () |
![]() | |
ossimImageSourceFilter (ossimObject *owner=NULL) | |
ossimImageSourceFilter (ossimImageSource *inputSource) | |
ossimImageSourceFilter (ossimObject *owner, ossimImageSource *inputSource) | |
virtual void | getOutputBandList (std::vector< ossim_uint32 > &bandList) const |
virtual ossim_uint32 | getNumberOfInputBands () const |
bool | canConnectMyInputTo (ossim_int32 inputIndex, const ossimConnectableObject *object) const |
required to be overriden by derived classes More... | |
virtual void | connectInputEvent (ossimConnectionEvent &event) |
virtual void | disconnectInputEvent (ossimConnectionEvent &event) |
virtual void | propertyEvent (ossimPropertyEvent &event) |
virtual void | refreshEvent (ossimRefreshEvent &event) |
virtual void | setProperty (ossimRefPtr< ossimProperty > property) |
virtual ossimRefPtr< ossimProperty > | getProperty (const ossimString &name) const |
virtual void | getPropertyNames (std::vector< ossimString > &propertyNames) const |
![]() | |
ossimImageSource (ossimObject *owner=0) | |
ossimImageSource (ossimObject *owner, ossim_uint32 inputListSize, ossim_uint32 outputListSize, bool inputListIsFixedFlag=true, bool outputListIsFixedFlag=true) | |
virtual | ~ossimImageSource () |
virtual ossimRefPtr< ossimImageData > | getTile (const ossimIpt &origin, ossim_uint32 resLevel=0) |
virtual bool | getTile (ossimImageData *result, ossim_uint32 resLevel=0) |
Method to get a tile. More... | |
virtual ossimObject * | getObject () |
For RTTI support. More... | |
virtual const ossimObject * | getObject () const |
For RTTI support. More... | |
virtual void | getDecimationFactor (ossim_uint32 resLevel, ossimDpt &result) const |
Will return the decimation factor for the given resolution level. More... | |
virtual void | getDecimationFactors (std::vector< ossimDpt > &decimations) const |
Will return an array of all decimations for each resolution level. More... | |
virtual ossim_uint32 | getNumberOfDecimationLevels () const |
Will return the number of resolution levels. More... | |
virtual ossim_uint32 | getTileWidth () const |
Returns the default processing tile width. More... | |
virtual ossim_uint32 | getTileHeight () const |
Returns the default processing tile height. More... | |
virtual double | getNullPixelValue (ossim_uint32 band=0) const |
Each band has a null pixel associated with it. More... | |
virtual double | getMinPixelValue (ossim_uint32 band=0) const |
Returns the min pixel of the band. More... | |
virtual double | getMaxPixelValue (ossim_uint32 band=0) const |
Returns the max pixel of the band. More... | |
virtual void | getBoundingRect (ossimIrect &rect, ossim_uint32 resLevel=0) const |
Gets the bounding rectangle of the source. More... | |
virtual void | getValidImageVertices (std::vector< ossimIpt > &validVertices, ossimVertexOrdering ordering=OSSIM_CLOCKWISE_ORDER, ossim_uint32 resLevel=0) const |
ordering specifies how the vertices should be arranged. More... | |
virtual void | setImageGeometry (const ossimImageGeometry *geom) |
Default implementation sets geometry of the first input to the geometry specified. More... | |
virtual void | saveImageGeometry () const |
Default method to call input's saveImageGeometry. More... | |
virtual void | saveImageGeometry (const ossimFilename &geometry_file) const |
Default method to call input's saveImageGeometry. More... | |
virtual bool | isIndexedData () const |
![]() | |
ossimSource (ossimObject *owner=0) | |
ossimSource (ossimObject *owner, ossim_uint32 inputListSize, ossim_uint32 outputListSize, bool inputListIsFixedFlag=true, bool outputListIsFixedFlag=true) | |
virtual | ~ossimSource () |
virtual bool | isSourceEnabled () const |
virtual void | enableSource () |
virtual void | disableSource () |
virtual bool | getEnableFlag () const |
virtual void | setEnableFlag (bool flag) |
virtual bool | isInitialized () const |
virtual void | setInitializedFlag (bool flag) |
virtual std::ostream & | print (std::ostream &out) const |
Outputs theErrorStatus as an ossimErrorCode and an ossimString. More... | |
![]() | |
ossimConnectableObject (ossimObject *owner=0) | |
Base constructor of this object. More... | |
ossimConnectableObject (ossimObject *owner, ossim_int32 inputListSize, ossim_int32 outputListSize, bool inputListIsFixedFlag=true, bool outputListIsFixedFlag=true) | |
virtual | ~ossimConnectableObject () |
void | setId (const ossimId &id) |
All connectable objects will have id's. More... | |
const ossimId & | getId () const |
Will allow us to get this object's id. More... | |
const ossimObject * | getOwner () const |
Fetches the current owner, most likely a container but not limited to one. More... | |
virtual void | changeOwner (ossimObject *owner) |
Permits changing the object's owner. More... | |
virtual void | setDescription (const ossimString &description) |
virtual ossimString | getDescription () const |
virtual bool | isConnected (ossimConnectableObjectDirectionType direction=CONNECTABLE_DIRECTION_INPUT) const |
will check the direction specified to see if all slots are full. More... | |
OSSIM_DEPRECATE_METHOD (virtual ossimConnectableObject *findConnectableObject(const ossimId &id)) | |
OSSIM_DEPRECATE_METHOD (virtual ossimConnectableObject *findObjectOfType(RTTItypeid typeId, ossimConnectableObjectDirectionType directionType, bool recurse=true)) | |
OSSIM_DEPRECATE_METHOD (virtual ossimConnectableObject *findObjectOfType(const ossimString &obj, ossimConnectableObjectDirectionType directionType, bool recurse=true)) | |
OSSIM_DEPRECATE_METHOD (virtual ossimConnectableObject *findInputObjectOfType(const ossimString &className)) | |
virtual ossim_int32 | findInputIndex (const ossimConnectableObject *object) |
Return a valid index of the input list if the passed in object is found else return -1. More... | |
virtual ossim_int32 | findInputIndex (const ossimId &id) |
Return a valid index of the input list if the passed id is found else return -1. More... | |
virtual ossim_int32 | findOutputIndex (const ossimConnectableObject *object) |
Return a valid index of the output list if the passed in object is found else return -1. More... | |
virtual ossim_int32 | findOutputIndex (const ossimId &id) |
Return a valid index of the output list if the passed in object is found else return -1. More... | |
virtual ossim_int32 | getMyInputIndexToConnectTo (ossimConnectableObject *object) const |
Should return the first available index to connect to. More... | |
virtual ossim_int32 | getMyOutputIndexToConnectTo (ossimConnectableObject *object) const |
Should return the first available index to connect to. More... | |
virtual bool | canConnectMyOutputTo (ossim_int32 myOutputIndex, const ossimConnectableObject *object) const |
default implementation is to allow anyone to connect to us. More... | |
virtual void | disconnect (ossimConnectableObject *object=0) |
Will disconnect the object passed in. More... | |
virtual void | disconnect (const ossimId &id) |
Will disconnect the object passed in. More... | |
virtual ossimRefPtr< ossimConnectableObject > | disconnectMyInput (ossim_int32 inputIndex, bool disconnectOutputFlag=true, bool createEventFlag=true) |
Will disconnect the object at the given input index and generate a connection event. More... | |
virtual void | disconnectMyInput (ossimConnectableObject *input, bool disconnectOutputFlag=true, bool createEventFlag=true) |
Finds the index of the passed in input and calls disconnectMyInput(inputIndex, disconnectOutputFlag, createEventFlag);. More... | |
virtual void | disconnectMyInputs (ConnectableObjectList &inputList, bool disconnectOutputFlag=true, bool createEventFlag=true) |
virtual ossimRefPtr< ossimConnectableObject > | disconnectMyOutput (ossim_int32 outputIndex, bool disconnectInputFlag=true, bool createEventFlag=true) |
Will disconnect the object at the given output index and generate a connection event. More... | |
virtual void | disconnectMyOutput (ossimConnectableObject *output, bool disconnectInputFlag=true, bool createEventFlag=true) |
Will disconnect the output object. More... | |
virtual void | disconnectMyOutputs (ConnectableObjectList &outputList, bool disconnectOutputFlag=true, bool createEventFlag=true) |
virtual void | disconnectAllInputs () |
Will disconnect all of the input objects. More... | |
virtual void | disconnectAllOutputs () |
Will disconnect all of the output objects. More... | |
virtual ossim_int32 | connectMyInputTo (ossimConnectableObject *inputObject, bool makeOutputConnection=true, bool createEventFlag=true) |
Will try to connect this objects input to the passed in object. More... | |
virtual ossim_int32 | connectMyInputTo (ossim_int32 inputIndex, ossimConnectableObject *inputObject, bool makeOutputConnection=true, bool createEventFlag=true) |
Will connect the specified input to the passed in object. More... | |
virtual bool | connectMyInputTo (ConnectableObjectList &inputList, bool makeOutputConnection=true, bool createEventFlag=true) |
virtual ossim_int32 | connectMyOutputTo (ossimConnectableObject *outputObject, bool makeInputConnection=true, bool createEventFlag=true) |
Will try to connect this objects output to the passed in object. More... | |
virtual bool | connectMyOutputTo (ConnectableObjectList &outputList, bool makeInputConnection=true, bool createEventFlag=true) |
virtual bool | connectInputList (ConnectableObjectList &inputList) |
Will disconnect itself from all inputs and reset to the passed in input list. More... | |
virtual bool | connectOutputList (ConnectableObjectList &outputList) |
Will disconnect itself from all outputs and reset to the passed in output list. More... | |
virtual ossim_uint32 | getNumberOfInputs () const |
Returns the number of input objects. More... | |
virtual ossim_uint32 | getNumberOfOutputs () const |
Return the number of output objects. More... | |
ossimConnectableObject * | getInput (ossim_uint32 index=0) |
returns the object at the specified index. More... | |
const ossimConnectableObject * | getInput (ossim_uint32 index=0) const |
returns the object at the specified index. More... | |
ossimConnectableObject * | getOutput (ossim_uint32 index=0) |
returns the object at the specified index. More... | |
const ossimConnectableObject * | getOutput (ossim_uint32 index=0) const |
returns the object at the specified index. More... | |
virtual void | setNumberOfInputs (ossim_int32 numberOfInputs) |
Will set the number of inputs. More... | |
virtual bool | getInputListIsFixedFlag () const |
virtual bool | getOutputListIsFixedFlag () const |
virtual void | setNumberOfOutputs (ossim_int32 numberOfInputs) |
Will set the number of outputs. More... | |
const ConnectableObjectList & | getInputList () const |
const ConnectableObjectList & | getOutputList () const |
ConnectableObjectList & | getInputList () |
ConnectableObjectList & | getOutputList () |
OSSIM_DEPRECATE_METHOD (virtual void findAllObjectsOfType(ConnectableObjectList &result, const RTTItypeid &typeInfo, bool recurse=true)) | |
OSSIM_DEPRECATE_METHOD (virtual void findAllObjectsOfType(ConnectableObjectList &result, const ossimString &className, bool recurse=true)) | |
virtual void | propagateEventToOutputs (ossimEvent &event) |
virtual void | propagateEventToInputs (ossimEvent &event) |
virtual void | setProperty (const ossimString &name, const ossimString &value) |
virtual ossim_uint32 | saveStateOfAllInputs (ossimKeywordlist &kwl, bool saveThisStateFlag=true, ossim_uint32 objectIndex=1, const char *prefix=0) const |
Save the state of all inputs to a keyword list. More... | |
virtual bool | fillContainer (ossimConnectableContainer &container) |
Inserts this object and all of its children and inputs into the container provided. More... | |
bool | moveInputUp (const ossimId &id) |
Moves the input connection matching id up one in the connection list. More... | |
bool | moveInputDown (const ossimId &id) |
Moves the input connection matching id down one in the connection list. More... | |
bool | moveInputToTop (const ossimId &id) |
Moves the input connection matching id to the top of the connection list. More... | |
bool | moveInputToBottom (const ossimId &id) |
Moves the input connection matching id to the bottom of the connection list. More... | |
virtual void | accept (ossimVisitor &visitor) |
We will add a visitor interface for all connectable objects. More... | |
![]() | |
ossimObject () | |
virtual | ~ossimObject () |
virtual ossimObject * | dup () const |
virtual ossimString | getShortName () const |
virtual ossimString | getLongName () const |
virtual ossimString | getClassName () const |
virtual RTTItypeid | getType () const |
virtual bool | canCastTo (ossimObject *obj) const |
virtual bool | canCastTo (const RTTItypeid &id) const |
virtual bool | canCastTo (const ossimString &parentClassName) const |
virtual bool | isEqualTo (const ossimObject &obj, ossimCompareType compareType=OSSIM_COMPARE_FULL) const |
![]() | |
ossimReferenced () | |
ossimReferenced (const ossimReferenced &) | |
ossimReferenced & | operator= (const ossimReferenced &) |
void | ref () const |
increment the reference count by one, indicating that this object has another pointer which is referencing it. More... | |
void | unref () const |
decrement the reference count by one, indicating that a pointer to this object is referencing it. More... | |
void | unref_nodelete () const |
decrement the reference count by one, indicating that a pointer to this object is referencing it. More... | |
int | referenceCount () const |
![]() | |
ossimListenerManager () | |
virtual | ~ossimListenerManager () |
virtual void | fireEvent (ossimEvent &event) |
virtual bool | addListener (ossimListener *listener) |
virtual bool | removeListener (ossimListener *listener) |
virtual bool | findListener (ossimListener *listener) |
![]() | |
ossimPropertyInterface () | |
virtual | ~ossimPropertyInterface () |
virtual ossimString | getPropertyValueAsString (const ossimString &name) const |
void | getPropertyList (std::vector< ossimRefPtr< ossimProperty > > &propertyList) const |
void | setProperties (std::vector< ossimRefPtr< ossimProperty > > &propertyList) |
![]() | |
ossimErrorStatusInterface () | |
virtual | ~ossimErrorStatusInterface () |
virtual ossimErrorCode | getErrorStatus () const |
virtual ossimString | getErrorStatusString () const |
virtual void | setErrorStatus (ossimErrorCode error_status) const |
virtual void | setErrorStatus () const |
virtual void | clearErrorStatus () const |
bool | hasError () const |
![]() | |
ossimConnectableObjectListener () | |
virtual | ~ossimConnectableObjectListener () |
virtual void | processEvent (ossimEvent &event) |
ProcessEvent. More... | |
virtual void | objectDestructingEvent (ossimObjectDestructingEvent &) |
virtual void | connectionEvent (ossimConnectionEvent &) |
virtual void | disconnectOutputEvent (ossimConnectionEvent &) |
virtual void | connectOutputEvent (ossimConnectionEvent &) |
virtual void | addObjectEvent (ossimContainerEvent &) |
virtual void | removeObjectEvent (ossimContainerEvent &) |
virtual void | containerEvent (ossimContainerEvent &) |
![]() | |
ossimListener () | |
virtual | ~ossimListener () |
void | enableListener () |
void | disableListener () |
void | setListenerEnableFlag (bool flag) |
bool | isListenerEnabled () const |
bool | getListenerEnableFlag () const |
![]() | |
ossimViewInterface () | |
ossimViewInterface (ossimObject *base) | |
virtual | ~ossimViewInterface () |
virtual void | refreshView () |
ossimObject * | getBaseObject () |
Protected Member Functions | |
void | removeViewProjection () |
void | deleteCache () |
void | checkAndSetDefaultView () |
virtual void | loadPolygon (ossimShapeObject &obj) |
virtual void | loadPoint (ossimShapeObject &obj) |
virtual void | loadArc (ossimShapeObject &obj) |
![]() | |
void | allocate (const ossimIrect &rect) |
void | destroy () |
ossimAnnotationSource (const ossimAnnotationSource &rhs) | |
![]() | |
virtual | ~ossimImageSourceFilter () |
![]() | |
ossimImageSource (const ossimImageSource &rhs) | |
const ossimImageSource & | operator= (const ossimImageSource &) |
![]() | |
ossimSource (const ossimSource &rhs) | |
const ossimSource & | operator= (const ossimSource &rhs) |
![]() | |
ossimConnectableObject * | findObjectOfType (ConnectableObjectList *connectableList, ossimVisitor &visitor) |
![]() | |
virtual | ~ossimReferenced () |
![]() | |
ossimListenerManager (const ossimListenerManager &rhs) | |
Additional Inherited Members | |
![]() | |
typedef std::vector< ossimRefPtr< ossimAnnotationObject > > | AnnotationObjectListType |
![]() | |
enum | ossimConnectableObjectDirectionType { CONNECTABLE_DIRECTION_NONE = 0, CONNECTABLE_DIRECTION_INPUT = 1, CONNECTABLE_DIRECTION_OUTPUT = 2 } |
typedef std::vector< ossimRefPtr< ossimConnectableObject > > | ConnectableObjectList |
class ossimEsriShapeFileFilter
This class is used to render shape files. Iif this filter has an input connection to an ossimImageSourceInterface then it will draw any vectors over the input tile. If it is not connected it will just render its vector data to a tile and return it.
supported keywords:
max_quadtree_levels: // number of levels for faster hit testing // defaults to 10
fill_flag: // 1 for true 0 for false. Default is false // and specifies how all closed surfaces are // to be drawn
feature_name: // currently not used.
pen_color: // specified in Red Green Blue and is the color used // if the fill flag is not specified. Future changes // might be to include this as an outline color for // filled objects. Default is white. Example: 255 255 255
brush_color: // Color used by objects that have the fill flag enabled // format is Red Green Blue. Default is white.
line_thickness: // line drawing thickness in pixels.
border_size: // can be us feet, feet, meters, degrees, // will automatically expand all polygons by the // specified size. Uses the centroid to estimate // non degree units when converting to degrees.
point_width_height: // Specifies the width and height of a point object in // pixels. Default is 1 and has the following format // w h. Example 1 1
filename: // The esri shape file to be used
example Keyword list: See ossimAnnotationSource for any additional keywords
brush_color: 255 255 255 feature_name: filename: fill_flag: 0 max_quadtree_levels: 10 pen_color: 255 255 255 point_width_height: 1 1 thickness: 1 border_size: 25 meters type: ossimEsriShapeFileFilter
Definition at line 84 of file ossimEsriShapeFileFilter.h.
ossimEsriShapeFileFilter::ossimEsriShapeFileFilter | ( | ossimImageSource * | inputSource = NULL | ) |
Definition at line 44 of file ossimEsriShapeFileFilter.cpp.
References ossimDrect::makeNan(), ossim::nan(), ossimAnnotationSource::setNumberOfBands(), theBoundingRect, theMaxArray, theMinArray, and ossimViewInterface::theObject.
ossimEsriShapeFileFilter::~ossimEsriShapeFileFilter | ( | ) |
Definition at line 66 of file ossimEsriShapeFileFilter.cpp.
References deleteCache(), removeViewProjection(), and theTree.
|
virtual |
Will add an object to the list. it will own the object added.
Reimplemented from ossimAnnotationSource.
Definition at line 116 of file ossimEsriShapeFileFilter.cpp.
References ossimNotify(), and ossimNotifyLevel_WARN.
|
protected |
Definition at line 309 of file ossimEsriShapeFileFilter.cpp.
References getImageGeometry(), theImageGeometry, transformObjects(), and ossimRefPtr< T >::valid().
Referenced by loadShapeFile(), and loadState().
|
virtual |
Reimplemented from ossimAnnotationSource.
Definition at line 126 of file ossimEsriShapeFileFilter.cpp.
References ossimDrect::combine(), ossimDrect::hasNans(), ossimDrect::makeNan(), theBoundingRect, and theShapeCache.
Referenced by transformObjects().
|
protected |
Definition at line 292 of file ossimEsriShapeFileFilter.cpp.
References theShapeCache.
Referenced by loadShapeFile(), loadState(), and ~ossimEsriShapeFileFilter().
|
virtual |
Reimplemented from ossimAnnotationSource.
Definition at line 169 of file ossimEsriShapeFileFilter.cpp.
References ossimAnnotationSource::drawAnnotations(), ossimImageData::getImageRectangle(), ossimShapeFile::isOpen(), ossimGpt::latd(), ossimIrect::ll(), ossimImageGeometry::localToWorld(), ossimGpt::lond(), ossimIrect::lr(), ossimDrect::lr(), n, OSSIM_RIGHT_HANDED, ossimRgbImage::setCurrentImageData(), SHPTreeFindLikelyShapes(), ossimAnnotationSource::theImage, theImageGeometry, theShapeCache, theShapeFile, theTree, ossimIrect::ul(), ossimDrect::ul(), ossimIrect::ur(), ossimRefPtr< T >::valid(), ossimIpt::x, ossimDpt::x, ossimIpt::y, and ossimDpt::y.
|
virtual |
Will return the bounding rectangle.
Reimplemented from ossimAnnotationSource.
Definition at line 152 of file ossimEsriShapeFileFilter.cpp.
References ossimImageSource::getBoundingRect(), ossimConnectableObject::getInput(), ossimSource::isSourceEnabled(), PTR_CAST, and theBoundingRect.
|
inlinevirtual |
Definition at line 144 of file ossimEsriShapeFileFilter.h.
|
inlinevirtual |
Definition at line 158 of file ossimEsriShapeFileFilter.h.
|
inlinevirtual |
Definition at line 115 of file ossimEsriShapeFileFilter.h.
|
inlinevirtual |
Definition at line 149 of file ossimEsriShapeFileFilter.h.
|
virtual |
Returns the image geometry object associated with this tile source or NULL if non defined.
The geometry contains full-to-local image transform as well as projection (image-to-world)
Reimplemented from ossimImageSource.
Definition at line 278 of file ossimEsriShapeFileFilter.cpp.
References theImageGeometry.
Referenced by checkAndSetDefaultView().
|
inlinevirtual |
Definition at line 119 of file ossimEsriShapeFileFilter.h.
|
inlinevirtual |
Definition at line 139 of file ossimEsriShapeFileFilter.h.
|
inlinevirtual |
Definition at line 179 of file ossimEsriShapeFileFilter.h.
|
inlinevirtual |
Definition at line 171 of file ossimEsriShapeFileFilter.h.
|
virtual |
Implements ossimViewInterface.
Definition at line 106 of file ossimEsriShapeFileFilter.cpp.
References ossimRefPtr< T >::get(), and theImageGeometry.
|
virtual |
Implements ossimViewInterface.
Definition at line 111 of file ossimEsriShapeFileFilter.cpp.
References ossimRefPtr< T >::get(), and theImageGeometry.
|
protectedvirtual |
Definition at line 514 of file ossimEsriShapeFileFilter.cpp.
References ossimString::clear(), ossimRgbVector::getB(), ossimRgbVector::getG(), ossimShapeObject::getId(), ossimShapeObject::getNumberOfParts(), ossimShapeObject::getPartByName(), ossimShapeObject::getPartType(), ossimRgbVector::getR(), ossimShapeObject::getShapeObject(), ossimShapeObject::getTypeByName(), SHPObject::nVertices, ossimNotify(), ossimNotifyLevel_WARN, SHPObject::padfX, SHPObject::padfY, SHPObject::panPartStart, ossimAnnotationObject::setName(), SHPP_RING, theBrushColor, theFeatureName, theFillFlag, thePenColor, theShapeCache, and theThickness.
Referenced by loadShapeFile().
|
protectedvirtual |
Definition at line 479 of file ossimEsriShapeFileFilter.cpp.
References ossimShapeObject::getId(), ossimShapeObject::getNumberOfVertices(), ossimShapeObject::getShapeObject(), n, OSSIM_PIXEL, SHPObject::padfX, SHPObject::padfY, ossimGeoAnnotationEllipseObject::setEllipseWidthHeightUnitType(), ossimAnnotationObject::setName(), theBrushColor, theFeatureName, theFillFlag, thePenColor, thePointWidthHeight, theShapeCache, and theThickness.
Referenced by loadShapeFile().
|
protectedvirtual |
Definition at line 401 of file ossimEsriShapeFileFilter.cpp.
References ossimString::clear(), ossimRgbVector::getB(), ossimRgbVector::getG(), ossimShapeObject::getId(), ossimShapeObject::getNumberOfParts(), ossimShapeObject::getPartByName(), ossimShapeObject::getPartType(), ossimRgbVector::getR(), ossimShapeObject::getShapeObject(), ossimShapeObject::getTypeByName(), ossimGeoPolygon::getVertexList(), SHPObject::nVertices, ossimNotify(), ossimNotifyLevel_WARN, SHPObject::padfX, SHPObject::padfY, SHPObject::panPartStart, ossimAnnotationObject::setName(), SHPP_RING, ossimGeoPolygon::stretchOut(), theBorderSize, theBrushColor, theFeatureName, theFillFlag, thePenColor, theShapeCache, and theThickness.
Referenced by loadShapeFile().
|
virtual |
Will delete the current objects within the layer and add all objects in the passed in file.
Definition at line 321 of file ossimEsriShapeFileFilter.cpp.
References checkAndSetDefaultView(), ossimAnnotationSource::deleteAll(), deleteCache(), ossimShapeFile::getBounds(), ossimShapeFile::getHandle(), ossimShapeFile::getNumberOfShapes(), ossimShapeFile::isOpen(), loadArc(), loadPoint(), loadPolygon(), ossimShapeObject::loadShape(), ossimShapeFile::open(), ossimNotify(), ossimNotifyLevel_WARN, SHPCreateTree(), SHPT_ARC, SHPT_ARCZ, SHPT_NULL, SHPT_POINT, SHPT_POINTZ, SHPT_POLYGON, SHPT_POLYGONZ, theCurrentObject, theImageGeometry, theMaxArray, theMaxQuadTreeLevels, theMinArray, theShapeCache, theShapeFile, theTree, transformObjects(), and ossimRefPtr< T >::valid().
Referenced by loadState().
|
virtual |
Method to the load (recreate) the state of an object from a keyword list. Return true if ok or false on error.
Reimplemented from ossimAnnotationSource.
Definition at line 654 of file ossimEsriShapeFileFilter.cpp.
References ossimKeywordNames::BORDER_SIZE_KW, ossimKeywordNames::BRUSH_COLOR_KW, ossimString::c_str(), checkAndSetDefaultView(), deleteCache(), ossimKeywordNames::FEATURE_NAME_KW, ossimKeywordNames::FILENAME_KW, ossimKeywordNames::FILL_FLAG_KW, ossimKeywordlist::find(), ossimUnitConversionTool::getValue(), loadShapeFile(), ossimAnnotationSource::loadState(), ossimImageGeometry::loadState(), ossimKeywordNames::MAX_QUADTREE_LEVELS_KW, OSSIM_DEGREES, OSSIM_FEET, OSSIM_METERS, OSSIM_US_SURVEY_FEET, ossimKeywordNames::PEN_COLOR_KW, ossimKeywordNames::POINT_WIDTH_HEIGHT_KW, theBorderSize, theBorderSizeUnits, theBrushColor, theFeatureName, theFillFlag, theImageGeometry, theMaxQuadTreeLevels, thePenColor, thePointWidthHeight, theThickness, ossimKeywordNames::THICKNESS_KW, ossimString::toBool(), ossimString::toLong(), and ossimString::upcase().
|
inlinevirtual |
Definition at line 184 of file ossimEsriShapeFileFilter.h.
|
protected |
Definition at line 287 of file ossimEsriShapeFileFilter.cpp.
References theImageGeometry.
Referenced by ~ossimEsriShapeFileFilter().
|
virtual |
Saves the current state of this object.
Reimplemented from ossimAnnotationSource.
Definition at line 580 of file ossimEsriShapeFileFilter.cpp.
References ossimKeywordlist::add(), ossimKeywordNames::BORDER_SIZE_KW, ossimKeywordNames::BRUSH_COLOR_KW, ossimString::c_str(), ossimKeywordNames::FEATURE_NAME_KW, ossimKeywordNames::FILENAME_KW, ossimKeywordNames::FILL_FLAG_KW, ossimRgbVector::getB(), ossimShapeFile::getFilename(), ossimRgbVector::getG(), ossimRgbVector::getR(), ossimKeywordNames::MAX_QUADTREE_LEVELS_KW, ossimKeywordNames::PEN_COLOR_KW, ossimKeywordNames::POINT_WIDTH_HEIGHT_KW, ossimAnnotationSource::saveState(), ossimImageGeometry::saveState(), theBorderSize, theBrushColor, theFeatureName, theFillFlag, theImageGeometry, theMaxQuadTreeLevels, thePenColor, thePointWidthHeight, theShapeFile, theThickness, ossimKeywordNames::THICKNESS_KW, ossimString::toString(), ossimRefPtr< T >::valid(), ossimDpt::x, and ossimDpt::y.
|
inlinevirtual |
Definition at line 129 of file ossimEsriShapeFileFilter.h.
|
inlinevirtual |
Definition at line 162 of file ossimEsriShapeFileFilter.h.
|
inlinevirtual |
Definition at line 154 of file ossimEsriShapeFileFilter.h.
|
virtual |
Definition at line 268 of file ossimEsriShapeFileFilter.cpp.
References theImageGeometry, and transformObjects().
|
inlinevirtual |
Definition at line 124 of file ossimEsriShapeFileFilter.h.
|
inlinevirtual |
Definition at line 134 of file ossimEsriShapeFileFilter.h.
|
inlinevirtual |
Definition at line 175 of file ossimEsriShapeFileFilter.h.
|
inlinevirtual |
Definition at line 167 of file ossimEsriShapeFileFilter.h.
|
virtual |
The derived classes should overrid this method and return true or false whether it was able to cast the past in view to a view that it can interface to. So if you are a projective view you might cast to an ossimProjection. The ownsTheView specifies whether or not it owns the passed in view pointer. This will specifiy whether or not the derived classes need to re-allocate the pointer or just delete its old pointer and set it to the passed in pointer.
Implements ossimViewInterface.
Definition at line 78 of file ossimEsriShapeFileFilter.cpp.
References PTR_CAST, ossimImageGeometry::setProjection(), theImageGeometry, and ossimRefPtr< T >::valid().
|
virtual |
Definition at line 241 of file ossimEsriShapeFileFilter.cpp.
References computeBoundingRect(), ossimRefPtr< T >::get(), PTR_CAST, theImageGeometry, theShapeCache, and ossimGeoAnnotationObject::transform().
Referenced by checkAndSetDefaultView(), loadShapeFile(), and setImageGeometry().
|
protected |
Definition at line 252 of file ossimEsriShapeFileFilter.h.
Referenced by loadPolygon(), loadState(), and saveState().
|
protected |
Definition at line 253 of file ossimEsriShapeFileFilter.h.
Referenced by loadState().
|
protected |
Definition at line 258 of file ossimEsriShapeFileFilter.h.
Referenced by computeBoundingRect(), getBoundingRect(), and ossimEsriShapeFileFilter().
|
protected |
Definition at line 247 of file ossimEsriShapeFileFilter.h.
Referenced by loadArc(), loadPoint(), loadPolygon(), loadState(), and saveState().
|
protected |
Specifies if its image/pixel space, Geographic, projected ...etc.
Definition at line 229 of file ossimEsriShapeFileFilter.h.
|
mutableprotected |
Definition at line 255 of file ossimEsriShapeFileFilter.h.
Referenced by loadShapeFile().
|
protected |
Definition at line 250 of file ossimEsriShapeFileFilter.h.
Referenced by loadArc(), loadPoint(), loadPolygon(), loadState(), and saveState().
|
protected |
Definition at line 248 of file ossimEsriShapeFileFilter.h.
Referenced by loadArc(), loadPoint(), loadPolygon(), loadState(), and saveState().
|
protected |
This holds the output projection. This is used to transform the objects to the projection plane.
Definition at line 218 of file ossimEsriShapeFileFilter.h.
Referenced by checkAndSetDefaultView(), drawAnnotations(), getImageGeometry(), getView(), loadShapeFile(), loadState(), removeViewProjection(), saveState(), setImageGeometry(), setView(), and transformObjects().
|
protected |
Definition at line 243 of file ossimEsriShapeFileFilter.h.
Referenced by loadShapeFile(), and ossimEsriShapeFileFilter().
|
protected |
Definition at line 245 of file ossimEsriShapeFileFilter.h.
Referenced by loadShapeFile(), loadState(), and saveState().
|
protected |
Definition at line 242 of file ossimEsriShapeFileFilter.h.
Referenced by loadShapeFile(), and ossimEsriShapeFileFilter().
|
protected |
Definition at line 246 of file ossimEsriShapeFileFilter.h.
Referenced by loadArc(), loadPoint(), loadPolygon(), loadState(), and saveState().
|
protected |
Definition at line 251 of file ossimEsriShapeFileFilter.h.
Referenced by loadPoint(), loadState(), and saveState().
|
protected |
Definition at line 257 of file ossimEsriShapeFileFilter.h.
Referenced by computeBoundingRect(), deleteCache(), drawAnnotations(), loadArc(), loadPoint(), loadPolygon(), loadShapeFile(), and transformObjects().
|
protected |
Definition at line 240 of file ossimEsriShapeFileFilter.h.
Referenced by drawAnnotations(), loadShapeFile(), and saveState().
|
protected |
If the shape file is projected we must know the projector. This will allow us to define the geographic objects correctly.
Definition at line 224 of file ossimEsriShapeFileFilter.h.
|
protected |
Definition at line 249 of file ossimEsriShapeFileFilter.h.
Referenced by loadArc(), loadPoint(), loadPolygon(), loadState(), and saveState().
|
protected |
Definition at line 238 of file ossimEsriShapeFileFilter.h.
Referenced by drawAnnotations(), loadShapeFile(), and ~ossimEsriShapeFileFilter().
|
protected |
If its projected this spceifies the type of unit. We need to know if the projection is in meters, feet, us survey feet ... etc.
Definition at line 236 of file ossimEsriShapeFileFilter.h.