#include <GeometricOp.h>
Public Member Functions | |
GeometricOp () | |
std::vector< std::string > | GetOutputDSetNames () |
virtual bool | paramsAreValid () |
virtual bool | run ()=0 |
void | setInput (te::da::DataSourcePtr inDsrc, std::string inDsetName, std::auto_ptr< te::da::DataSetTypeConverter > converter) |
void | setOutput (std::auto_ptr< te::da::DataSource > outDsrc, std::string dsname) |
void | setParams (std::vector< std::string > selectedProps, std::vector< te::vp::GeometricOperation > operations, te::vp::GeometricOpObjStrategy objStrategy, std::string attribute, bool outputLayer) |
virtual | ~GeometricOp () |
Protected Member Functions | |
te::da::DataSetType * | GetDataSetType (te::vp::GeometricOpObjStrategy, bool MultiGeomColumns, int geomOp=-1) |
Protected Attributes | |
std::string | m_attribute |
std::auto_ptr< te::da::DataSetTypeConverter > | m_converter |
std::string | m_inDsetName |
te::da::DataSourcePtr | m_inDsrc |
te::vp::GeometricOpObjStrategy | m_objStrategy |
std::vector< te::vp::GeometricOperation > | m_operations |
std::string | m_outDsetName |
std::vector< std::string > | m_outDsetNameVec |
std::auto_ptr< te::da::DataSource > | m_outDsrc |
bool | m_outputLayer |
std::vector< std::string > | m_selectedProps |
Definition at line 55 of file GeometricOp.h.
te::vp::GeometricOp::GeometricOp | ( | ) |
Definition at line 44 of file GeometricOp.cpp.
|
inlinevirtual |
Definition at line 61 of file GeometricOp.h.
|
protected |
Definition at line 96 of file GeometricOp.cpp.
References te::da::PrimaryKey::add(), te::da::DataSetType::add(), te::vp::AGGREG_BY_ATTRIBUTE, te::vp::ALL_OBJ, te::vp::AREA, te::vp::CENTROID, te::dt::Property::clone(), te::vp::CONVEX_HULL, te::dt::DOUBLE_TYPE, te::da::GetFirstGeomProperty(), te::gm::GeometryProperty::getGeometryType(), te::gm::GeometryProperty::getSRID(), te::dt::INT32_TYPE, te::vp::LINE, te::gm::LineStringType, te::vp::MBR, te::gm::MultiLineStringType, te::gm::MultiPointType, te::gm::MultiPolygonType, te::vp::PERIMETER, te::gm::PointType, te::gm::PolygonType, te::dt::SimpleProperty::setAutoNumber(), te::gm::GeometryProperty::setGeometryType(), te::dt::Property::setParent(), te::da::DataSetType::setPrimaryKey(), te::gm::GeometryProperty::setSRID(), and te::da::DataSetType::setTitle().
Referenced by te::vp::GeometricOpMemory::run(), and te::vp::GeometricOpQuery::run().
std::vector< std::string > te::vp::GeometricOp::GetOutputDSetNames | ( | ) |
Definition at line 91 of file GeometricOp.cpp.
Referenced by te::vp::GeometricOpWizard::execute().
|
virtual |
Definition at line 77 of file GeometricOp.cpp.
Referenced by te::vp::GeometricOpWizard::execute().
|
pure virtual |
Implemented in te::vp::GeometricOpMemory, and te::vp::GeometricOpQuery.
Referenced by te::vp::GeometricOpWizard::execute().
void te::vp::GeometricOp::setInput | ( | te::da::DataSourcePtr | inDsrc, |
std::string | inDsetName, | ||
std::auto_ptr< te::da::DataSetTypeConverter > | converter | ||
) |
Definition at line 49 of file GeometricOp.cpp.
Referenced by te::vp::GeometricOpWizard::execute().
void te::vp::GeometricOp::setOutput | ( | std::auto_ptr< te::da::DataSource > | outDsrc, |
std::string | dsname | ||
) |
Definition at line 71 of file GeometricOp.cpp.
Referenced by te::vp::GeometricOpWizard::execute().
void te::vp::GeometricOp::setParams | ( | std::vector< std::string > | selectedProps, |
std::vector< te::vp::GeometricOperation > | operations, | ||
te::vp::GeometricOpObjStrategy | objStrategy, | ||
std::string | attribute, | ||
bool | outputLayer | ||
) |
Definition at line 58 of file GeometricOp.cpp.
Referenced by te::vp::GeometricOpWizard::execute().
|
protected |
Definition at line 94 of file GeometricOp.h.
|
protected |
Definition at line 89 of file GeometricOp.h.
|
protected |
Definition at line 88 of file GeometricOp.h.
|
protected |
Definition at line 87 of file GeometricOp.h.
|
protected |
Definition at line 93 of file GeometricOp.h.
|
protected |
Definition at line 92 of file GeometricOp.h.
|
protected |
Definition at line 98 of file GeometricOp.h.
|
protected |
Definition at line 99 of file GeometricOp.h.
|
protected |
Definition at line 97 of file GeometricOp.h.
|
protected |
Definition at line 95 of file GeometricOp.h.
|
protected |
Definition at line 91 of file GeometricOp.h.