#include <GeoreferenceShell.h>

Public Member Functions | |
| GeoreferenceShell () | |
| ~GeoreferenceShell () | |
| bool | getInputSpecification (PlugInArgList *&pArgList) |
| bool | getOutputSpecification (PlugInArgList *&pArgList) |
| LocationType | pixelToGeoQuick (LocationType pixel, bool *pAccurate=NULL) const |
| LocationType | geoToPixelQuick (LocationType geo, bool *pAccurate=NULL) const |
| QWidget * | getGui (RasterElement *pRaster) |
| bool | validateGuiInput () const |
Definition at line 20 of file GeoreferenceShell.h.
| GeoreferenceShell::GeoreferenceShell | ( | ) |
Creates a georeference plug-in.
The constructor sets the plug-in type to PlugInManagerServices::GeoreferenceType() and sets the plug-in to allow multiple instances.
| GeoreferenceShell::~GeoreferenceShell | ( | ) |
Destroys the georeference plug-in.
| bool GeoreferenceShell::getInputSpecification | ( | PlugInArgList *& | pArgList | ) | [virtual] |
Retrieves the plug-in input parameters.
This method queries the plug-in for its input parameters that are needed to execute properly. The input arguments may be different in interactive mode and batch mode.
| pArgList | A plug-in arg list pointer that is set to a created input argument list specifying the plug-in input parameters. NULL is a valid pointer value if the plug-in does not require any input arguments. |
| Name | Type |
|---|---|
| Raster Element | RasterElement |
| Progress | Progress |
Implements Executable.
| bool GeoreferenceShell::getOutputSpecification | ( | PlugInArgList *& | pArgList | ) | [virtual] |
Retrieves the plug-in output parameters.
This method queries the plug-in for its output parameters that are created during execution. The output arguments may be different in interactive mode and batch mode.
| pArgList | A plug-in arg list pointer that is set to a created output argument list specifying the plug-in output parameters. NULL is a valid pointer value if the plug-in does not provide any output arguments. |
Implements Executable.
| LocationType GeoreferenceShell::pixelToGeoQuick | ( | LocationType | pixel, | |
| bool * | pAccurate = NULL | |||
| ) | const [virtual] |
Takes a scene pixel coordinate and returns the approximate corresponding geocoordinate value.
This function will accomplish the goal faster than pixelToGeo() if possible.
| pixel | The scene pixel location as a LocationType | |
| pAccurate | Output indicator of conversion accuracy. Georeference plug-ins that can not accurately extrapolate should return false when pixel is outside the extents of the reference points. When NULL, no accuracy check is performed. |
Implements Georeference.
| LocationType GeoreferenceShell::geoToPixelQuick | ( | LocationType | geo, | |
| bool * | pAccurate = NULL | |||
| ) | const [virtual] |
Takes a and returns the approximate corresponding geocoordinate scene pixel coordinate value.
This function will accomplish the goal faster than pixelToGeo() if possible.
| geo | The geocoordinate location as a LocationType | |
| pAccurate | Output indicator of conversion accuracy. Georeference plug-ins that can not accurately extrapolate should return false when geo is outside the extents of the reference points. When NULL, no accuracy check is performed. |
Implements Georeference.
| QWidget* GeoreferenceShell::getGui | ( | RasterElement * | pRaster | ) | [virtual] |
Gets a QWidget to set all parameters needed by the georeferencing algorithm.
The calling method takes ownership of the returned widget. The returned widget may be destroyed at any time after calling Executable::execute() on the plug-in.
| pRaster | The RasterElement to create the GUI for. |
Implements Georeference.
| bool GeoreferenceShell::validateGuiInput | ( | ) | const [virtual] |
Determines if the user input through the GUI is valid.
Implements Georeference.