#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::unique_ptr< te::da::DataSetTypeConverter > converter) |
| void | setOutput (std::unique_ptr< 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, int newSRID) |
| virtual | ~GeometricOp () |
Protected Member Functions | |
| te::da::DataSetType * | GetDataSetType (te::vp::GeometricOpObjStrategy, bool MultiGeomColumns, int geomOp=-1) |
Protected Attributes | |
| std::string | m_attribute |
| std::unique_ptr< te::da::DataSetTypeConverter > | m_converter |
| std::string | m_inDsetName |
| te::da::DataSourcePtr | m_inDsrc |
| int | m_newSRID |
| te::vp::GeometricOpObjStrategy | m_objStrategy |
| std::vector< te::vp::GeometricOperation > | m_operations |
| std::string | m_outDsetName |
| std::vector< std::string > | m_outDsetNameVec |
| std::unique_ptr< te::da::DataSource > | m_outDsrc |
| std::vector< std::string > | m_selectedProps |
Definition at line 48 of file GeometricOp.h.
|
default |
|
inlinevirtual |
Definition at line 54 of file GeometricOp.h.
References te::qt::plugins::wtss::attribute, and te::da::GetDataSetType().
|
protected |
Definition at line 79 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::vp::CONVEX_HULL, te::dt::DOUBLE_TYPE, te::da::GetFirstGeomProperty(), te::gm::GeometryProperty::getGeometryType(), te::gm::GeometryProperty::getSRID(), te::dt::INT32_TYPE, line, te::vp::LINE, te::gm::LineStringMType, te::gm::LineStringType, te::gm::LineStringZMType, te::gm::LineStringZType, m_attribute, m_converter, m_operations, m_outDsetName, m_selectedProps, te::vp::MBR, te::gm::MultiLineStringMType, te::gm::MultiLineStringType, te::gm::MultiLineStringZMType, te::gm::MultiLineStringZType, te::gm::MultiPointMType, te::gm::MultiPointType, te::gm::MultiPointZMType, te::gm::MultiPointZType, te::gm::MultiPolygonMType, te::gm::MultiPolygonType, te::gm::MultiPolygonZMType, te::gm::MultiPolygonZType, te::vp::PERIMETER, te::gm::PointMType, te::gm::PointType, te::gm::PointZMType, te::gm::PointZType, te::gm::PolygonMType, te::gm::PolygonType, te::gm::PolygonZMType, te::gm::PolygonZType, 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 74 of file GeometricOp.cpp.
References m_outDsetNameVec.
Referenced by te::vp::GeometricOpDialog::onOkPushButtonClicked().
|
virtual |
Definition at line 60 of file GeometricOp.cpp.
References m_converter, m_outDsetName, and m_outDsrc.
Referenced by te::vp::GeometricOpDialog::onOkPushButtonClicked().
|
pure virtual |
Implemented in te::vp::GeometricOpQuery, and te::vp::GeometricOpMemory.
Referenced by te::vp::GeometricOpDialog::onOkPushButtonClicked().
| void te::vp::GeometricOp::setInput | ( | te::da::DataSourcePtr | inDsrc, |
| std::string | inDsetName, | ||
| std::unique_ptr< te::da::DataSetTypeConverter > | converter | ||
| ) |
Definition at line 31 of file GeometricOp.cpp.
References m_converter, m_inDsetName, and m_inDsrc.
Referenced by te::vp::GeometricOpDialog::onOkPushButtonClicked().
| void te::vp::GeometricOp::setOutput | ( | std::unique_ptr< da::DataSource > | outDsrc, |
| std::string | dsname | ||
| ) |
Definition at line 53 of file GeometricOp.cpp.
References m_outDsetName, and m_outDsrc.
Referenced by te::vp::GeometricOpDialog::onOkPushButtonClicked().
| void te::vp::GeometricOp::setParams | ( | std::vector< std::string > | selectedProps, |
| std::vector< te::vp::GeometricOperation > | operations, | ||
| te::vp::GeometricOpObjStrategy | objStrategy, | ||
| std::string | attribute, | ||
| int | newSRID | ||
| ) |
Definition at line 40 of file GeometricOp.cpp.
References te::qt::plugins::wtss::attribute, m_attribute, m_newSRID, m_objStrategy, m_operations, and m_selectedProps.
Referenced by te::vp::GeometricOpDialog::onOkPushButtonClicked().
|
protected |
Definition at line 88 of file GeometricOp.h.
Referenced by GetDataSetType(), te::vp::GeometricOpMemory::SetAggregByAttribute(), te::vp::GeometricOpQuery::SetAggregByAttribute(), and setParams().
|
protected |
Definition at line 83 of file GeometricOp.h.
Referenced by GetDataSetType(), paramsAreValid(), te::vp::GeometricOpMemory::SetAggregByAttribute(), te::vp::GeometricOpQuery::SetAggregByAttribute(), te::vp::GeometricOpMemory::SetAggregObj(), te::vp::GeometricOpQuery::SetAggregObj(), te::vp::GeometricOpMemory::SetAllObjects(), te::vp::GeometricOpQuery::SetAllObjects(), and setInput().
|
protected |
Definition at line 82 of file GeometricOp.h.
Referenced by te::vp::GeometricOpMemory::SetAggregByAttribute(), te::vp::GeometricOpQuery::SetAggregByAttribute(), te::vp::GeometricOpMemory::SetAggregObj(), te::vp::GeometricOpQuery::SetAggregObj(), te::vp::GeometricOpMemory::SetAllObjects(), te::vp::GeometricOpQuery::SetAllObjects(), and setInput().
|
protected |
Definition at line 81 of file GeometricOp.h.
Referenced by te::vp::GeometricOpMemory::SetAggregByAttribute(), te::vp::GeometricOpQuery::SetAggregByAttribute(), te::vp::GeometricOpMemory::SetAggregObj(), te::vp::GeometricOpQuery::SetAggregObj(), te::vp::GeometricOpMemory::SetAllObjects(), te::vp::GeometricOpQuery::SetAllObjects(), and setInput().
|
protected |
Definition at line 89 of file GeometricOp.h.
Referenced by te::vp::GeometricOpMemory::CalculateTabularOp(), te::vp::GeometricOpQuery::SetAggregByAttribute(), te::vp::GeometricOpQuery::SetAggregObj(), te::vp::GeometricOpQuery::SetAllObjects(), and setParams().
|
protected |
Definition at line 87 of file GeometricOp.h.
Referenced by te::vp::GeometricOpMemory::run(), te::vp::GeometricOpQuery::run(), and setParams().
|
protected |
Definition at line 86 of file GeometricOp.h.
Referenced by GetDataSetType(), te::vp::GeometricOpMemory::run(), te::vp::GeometricOpQuery::run(), and setParams().
|
protected |
Definition at line 92 of file GeometricOp.h.
Referenced by GetDataSetType(), paramsAreValid(), and setOutput().
|
protected |
Definition at line 93 of file GeometricOp.h.
Referenced by GetOutputDSetNames(), te::vp::GeometricOpMemory::run(), and te::vp::GeometricOpQuery::run().
|
protected |
Definition at line 91 of file GeometricOp.h.
Referenced by paramsAreValid(), te::vp::GeometricOpMemory::run(), te::vp::GeometricOpQuery::run(), and setOutput().
|
protected |
Definition at line 85 of file GeometricOp.h.
Referenced by GetDataSetType(), te::vp::GeometricOpMemory::SetAllObjects(), te::vp::GeometricOpQuery::SetAllObjects(), and setParams().