#include <PolygonToLineMemory.h>
Public Member Functions | |
| virtual bool | paramsAreValid () |
| PolygonToLineMemory () | |
| bool | run () throw (te::common::Exception) |
| void | setInput (te::da::DataSourcePtr inDsrc, std::string inDsetName, std::unique_ptr< te::da::DataSetTypeConverter > converter, const te::da::ObjectIdSet *oidSet=0) |
| void | setOutput (te::da::DataSourcePtr outDsrc, std::string dsname) |
| ~PolygonToLineMemory () | |
Protected Member Functions | |
| std::unique_ptr< te::da::DataSetType > | buildOutDataSetType () |
| te::gm::GeomType | getGeomResultType (te::gm::GeomType geom) |
Protected Attributes | |
| std::unique_ptr< te::da::DataSetTypeConverter > | m_converter |
| std::string | m_inDsetName |
| te::da::DataSourcePtr | m_inDsrc |
| const te::da::ObjectIdSet * | m_oidSet |
| std::string | m_outDset |
| te::da::DataSourcePtr | m_outDsrc |
Private Member Functions | |
| void | getLines (te::gm::Geometry *geom, std::vector< te::gm::LineString * > &lines) |
| void | getLines (te::gm::GeometryCollection *gc, std::vector< te::gm::LineString * > &lines) |
| void | getLines (te::gm::Polygon *p, std::vector< te::gm::LineString * > &lines) |
| void | getLines (te::gm::LineString *l, std::vector< te::gm::LineString * > &lines) |
| std::unique_ptr< te::gm::MultiLineString > | polygon2Line (te::gm::Geometry *geom) |
Definition at line 51 of file PolygonToLineMemory.h.
|
default |
|
default |
|
protectedinherited |
Definition at line 60 of file PolygonToLineOp.cpp.
References te::da::PrimaryKey::add(), te::dt::GEOMETRY_TYPE, te::dt::Property::getName(), te::gm::GeometryProperty::getSRID(), te::vp::PolygonToLineOp::m_converter, te::vp::PolygonToLineOp::m_outDset, te::vp::PolygonToLineOp::m_outDsrc, te::gm::MultiLineStringType, p, te::gm::GeometryProperty::setGeometryType(), and te::gm::GeometryProperty::setSRID().
Referenced by te::vp::PolygonToLineQuery::run(), and run().
|
protectedinherited |
Definition at line 126 of file PolygonToLineOp.cpp.
References te::gm::LineStringType, te::gm::MultiLineStringType, te::gm::MultiPointType, te::gm::MultiPolygonType, te::gm::PointType, and te::gm::PolygonType.
|
private |
Definition at line 155 of file PolygonToLineMemory.cpp.
References te::gm::Geometry::getGeomTypeId(), te::gm::LineStringType, te::gm::MultiPolygonType, and te::gm::PolygonType.
Referenced by getLines(), and polygon2Line().
|
private |
Definition at line 179 of file PolygonToLineMemory.cpp.
References te::gm::GeometryCollection::getGeometryN(), getLines(), and te::gm::GeometryCollection::getNumGeometries().
|
private |
Definition at line 187 of file PolygonToLineMemory.cpp.
References getLines(), and te::gm::CurvePolygon::getRings().
|
private |
Definition at line 202 of file PolygonToLineMemory.cpp.
|
virtualinherited |
Definition at line 140 of file PolygonToLineOp.cpp.
References te::vp::PolygonToLineOp::m_inDsetName, te::vp::PolygonToLineOp::m_inDsrc, te::vp::PolygonToLineOp::m_outDset, and te::vp::PolygonToLineOp::m_outDsrc.
Referenced by te::vp::PolygonToLineDialog::onOkPushButtonClicked().
|
private |
Definition at line 136 of file PolygonToLineMemory.cpp.
References getLines(), te::gm::Geometry::getSRID(), te::gm::Multi2Single(), and te::gm::MultiLineStringType.
Referenced by run().
|
virtual | |||||||||||||
Implements te::vp::PolygonToLineOp.
Definition at line 51 of file PolygonToLineMemory.cpp.
References te::vp::PolygonToLineOp::buildOutDataSetType(), te::da::CreateAdapter(), te::dt::GEOMETRY_TYPE, te::da::GetFirstGeomProperty(), te::dt::Property::getName(), te::mem::DataSetItem::getNumProperties(), te::mem::DataSetItem::getPropertyDataType(), te::mem::DataSetItem::getPropertyName(), te::da::GetPropertyPos(), te::common::TaskProgress::isActive(), te::vp::PolygonToLineOp::m_converter, te::vp::PolygonToLineOp::m_inDsetName, te::vp::PolygonToLineOp::m_inDsrc, te::vp::PolygonToLineOp::m_oidSet, te::vp::PolygonToLineOp::m_outDsrc, polygon2Line(), te::common::TaskProgress::pulse(), te::vp::Save(), te::mem::DataSetItem::setGeometry(), te::common::TaskProgress::setTotalSteps(), te::mem::DataSetItem::setValue(), TE_LOG_ERROR, TE_TR, te::common::TaskProgress::useTimer(), and te::common::Exception::what().
|
inherited |
Definition at line 43 of file PolygonToLineOp.cpp.
References te::vp::PolygonToLineOp::m_converter, te::vp::PolygonToLineOp::m_inDsetName, te::vp::PolygonToLineOp::m_inDsrc, and te::vp::PolygonToLineOp::m_oidSet.
Referenced by te::vp::PolygonToLineDialog::onOkPushButtonClicked().
|
inherited |
Definition at line 54 of file PolygonToLineOp.cpp.
References te::vp::PolygonToLineOp::m_outDset, and te::vp::PolygonToLineOp::m_outDsrc.
Referenced by te::vp::PolygonToLineDialog::onOkPushButtonClicked().
|
protectedinherited |
Definition at line 74 of file PolygonToLineOp.h.
Referenced by te::vp::PolygonToLineOp::buildOutDataSetType(), te::vp::PolygonToLineQuery::run(), run(), and te::vp::PolygonToLineOp::setInput().
|
protectedinherited |
Definition at line 73 of file PolygonToLineOp.h.
Referenced by te::vp::PolygonToLineOp::paramsAreValid(), te::vp::PolygonToLineQuery::run(), run(), and te::vp::PolygonToLineOp::setInput().
|
protectedinherited |
Definition at line 72 of file PolygonToLineOp.h.
Referenced by te::vp::PolygonToLineOp::paramsAreValid(), te::vp::PolygonToLineQuery::run(), run(), and te::vp::PolygonToLineOp::setInput().
|
protectedinherited |
Definition at line 75 of file PolygonToLineOp.h.
Referenced by te::vp::PolygonToLineQuery::run(), run(), and te::vp::PolygonToLineOp::setInput().
|
protectedinherited |
Definition at line 78 of file PolygonToLineOp.h.
Referenced by te::vp::PolygonToLineOp::buildOutDataSetType(), te::vp::PolygonToLineOp::paramsAreValid(), and te::vp::PolygonToLineOp::setOutput().
|
protectedinherited |
Definition at line 77 of file PolygonToLineOp.h.
Referenced by te::vp::PolygonToLineOp::buildOutDataSetType(), te::vp::PolygonToLineOp::paramsAreValid(), te::vp::PolygonToLineQuery::run(), run(), and te::vp::PolygonToLineOp::setOutput().