#include <BufferOp.h>
Public Member Functions | |
BufferOp () | |
virtual bool | paramsAreValid () |
virtual bool | run ()=0 |
void | setInput (te::da::DataSourcePtr inDsrc, std::string inDsetName, std::auto_ptr< te::da::DataSetType > inDsetType, const te::da::ObjectIdSet *oidSet=0) |
void | setOutput (te::da::DataSourcePtr outDsrc, std::string dsname) |
void | setParams (const double &distance, const int &bufferPolygonRule, const int &bufferBoundariesRule, const bool ©InputColumns, const int &levels) |
virtual | ~BufferOp () |
Protected Member Functions | |
te::da::DataSetType * | GetDataSetType () |
te::gm::GeomType | getGeomResultType (te::gm::GeomType geom) |
Protected Attributes | |
int | m_bufferBoundariesRule |
int | m_bufferPolygonRule |
bool | m_copyInputColumns |
double | m_distance |
std::string | m_inDsetName |
std::auto_ptr < te::da::DataSetType > | m_inDsetType |
te::da::DataSourcePtr | m_inDsrc |
int | m_levels |
const te::da::ObjectIdSet * | m_oidSet |
std::string | m_outDsetName |
te::da::DataSourcePtr | m_outDsrc |
Definition at line 55 of file BufferOp.h.
te::vp::BufferOp::BufferOp | ( | ) |
Definition at line 42 of file BufferOp.cpp.
|
inlinevirtual |
Definition at line 61 of file BufferOp.h.
|
protected |
Definition at line 88 of file BufferOp.cpp.
References te::da::PrimaryKey::add(), te::da::DataSetType::add(), te::gm::GeometryProperty::clone(), te::dt::DOUBLE_TYPE, te::dt::GEOMETRY_TYPE, te::da::GetFirstGeomProperty(), te::dt::INT32_TYPE, te::gm::MultiPolygonType, te::dt::SimpleProperty::setAutoNumber(), te::gm::GeometryProperty::setGeometryType(), te::da::DataSetType::setPrimaryKey(), and te::gm::GeometryProperty::setSRID().
|
protected |
|
virtual |
Definition at line 77 of file BufferOp.cpp.
Referenced by te::vp::BufferDialog::onOkPushButtonClicked().
|
pure virtual |
Implemented in te::vp::BufferMemory, and te::vp::BufferQuery.
Referenced by te::vp::BufferDialog::onOkPushButtonClicked().
void te::vp::BufferOp::setInput | ( | te::da::DataSourcePtr | inDsrc, |
std::string | inDsetName, | ||
std::auto_ptr< te::da::DataSetType > | inDsetType, | ||
const te::da::ObjectIdSet * | oidSet = 0 |
||
) |
Definition at line 47 of file BufferOp.cpp.
Referenced by te::vp::BufferDialog::onOkPushButtonClicked().
void te::vp::BufferOp::setOutput | ( | te::da::DataSourcePtr | outDsrc, |
std::string | dsname | ||
) |
Definition at line 71 of file BufferOp.cpp.
Referenced by te::vp::BufferDialog::onOkPushButtonClicked().
void te::vp::BufferOp::setParams | ( | const double & | distance, |
const int & | bufferPolygonRule, | ||
const int & | bufferBoundariesRule, | ||
const bool & | copyInputColumns, | ||
const int & | levels | ||
) |
Definition at line 58 of file BufferOp.cpp.
Referenced by te::vp::BufferDialog::onOkPushButtonClicked().
|
protected |
Definition at line 94 of file BufferOp.h.
|
protected |
Definition at line 93 of file BufferOp.h.
|
protected |
Definition at line 95 of file BufferOp.h.
|
protected |
Definition at line 92 of file BufferOp.h.
|
protected |
Definition at line 88 of file BufferOp.h.
|
protected |
Definition at line 89 of file BufferOp.h.
|
protected |
Definition at line 87 of file BufferOp.h.
|
protected |
Definition at line 96 of file BufferOp.h.
|
protected |
Definition at line 90 of file BufferOp.h.
|
protected |
Definition at line 99 of file BufferOp.h.
|
protected |
Definition at line 98 of file BufferOp.h.