#include <gptool.h>
Public Member Functions | |
wxGISGPTool (void) | |
virtual | ~wxGISGPTool (void) |
virtual const wxString | GetDisplayName (void)=0 |
virtual const wxString | GetName (void)=0 |
virtual const wxString | GetCategory (void)=0 |
virtual bool | Execute (ITrackCancel *pTrackCancel)=0 |
virtual bool | Validate (void)=0 |
virtual GPParameters | GetParameterInfo (void)=0 |
virtual void | SetCatalog (IGxCatalog *pCatalog) |
virtual IGxCatalog *const | GetCatalog (void) |
virtual const wxString | GetAsString (void) |
virtual bool | SetFromString (const wxString &sParams) |
virtual void | Copy (IGPTool *const pTool) |
Protected Attributes | |
GPParameters | m_paParam |
IGxCatalog * | m_pCatalog |
The base class for geoprocessing tools. This class implements common functions.
wxGISGPTool::wxGISGPTool | ( | void | ) |
Constructor
|
virtual |
Destructor
|
virtual |
Copy parameters from input tool to current
pTool | The tool pointer there parameters should be captured |
|
pure virtual |
This function call from task manager than task is started.
pTrackCancel | The pointer to the ITrackCancel which get status meesages, done percent and indicating, that tool should stop execution than user cancel it |
Implemented in wxGISGPOrthoCorrectTool, wxGISGPShapeToTextTool, wxGISGPSubRasterByVectorTool, wxGISGPCompStatTool, wxGISGPCreateOverviewsTool, wxGISGPExportTool, wxGISGPGeomVerticesToPointsTool, wxGISGPProjectVectorTool, and wxGISGPMeanByColumnTool.
|
virtual |
Returns tool parameters as string
|
virtual |
Returns pointer to catalog
|
pure virtual |
Returns tool category name. This is used in add tool to the toolbox dialog
Implemented in wxGISGPOrthoCorrectTool, wxGISGPShapeToTextTool, wxGISGPSubRasterByVectorTool, wxGISGPCompStatTool, wxGISGPCreateOverviewsTool, wxGISGPExportTool, wxGISGPGeomVerticesToPointsTool, wxGISGPProjectVectorTool, and wxGISGPMeanByColumnTool.
|
pure virtual |
Returns tool name for display in UI
Implemented in wxGISGPOrthoCorrectTool, wxGISGPShapeToTextTool, wxGISGPSubRasterByVectorTool, wxGISGPCompStatTool, wxGISGPCreateOverviewsTool, wxGISGPExportTool, wxGISGPGeomVerticesToPointsTool, wxGISGPProjectVectorTool, and wxGISGPMeanByColumnTool.
|
pure virtual |
Returns uniq tool name for internal use
Implemented in wxGISGPOrthoCorrectTool, wxGISGPShapeToTextTool, wxGISGPSubRasterByVectorTool, wxGISGPCompStatTool, wxGISGPCreateOverviewsTool, wxGISGPExportTool, wxGISGPGeomVerticesToPointsTool, wxGISGPProjectVectorTool, and wxGISGPMeanByColumnTool.
|
pure virtual |
Returns tool parameters
Implemented in wxGISGPOrthoCorrectTool, wxGISGPShapeToTextTool, wxGISGPSubRasterByVectorTool, wxGISGPCompStatTool, wxGISGPCreateOverviewsTool, wxGISGPExportTool, wxGISGPGeomVerticesToPointsTool, wxGISGPProjectVectorTool, and wxGISGPMeanByColumnTool.
|
virtual |
This function called by task manager before tool execution started
pCatalog | The pointer to catalog |
|
virtual |
Initialize the class from tool parameters, represented as string
|
pure virtual |
Returns true if tool parameters are valid
Implemented in wxGISGPOrthoCorrectTool, wxGISGPShapeToTextTool, wxGISGPSubRasterByVectorTool, wxGISGPCompStatTool, wxGISGPCreateOverviewsTool, wxGISGPExportTool, wxGISGPGeomVerticesToPointsTool, wxGISGPProjectVectorTool, and wxGISGPMeanByColumnTool.