te::edit::Feature Class Reference

#include <Feature.h>

Public Member Functions

Featureclone () const
 
 Feature ()
 
 Feature (te::da::ObjectId *id)
 
 Feature (te::da::ObjectId *id, te::gm::Geometry *geom)
 
te::color::RGBAColor getContourColor () const
 
const std::map< std::string, te::dt::AbstractData * > & getData () const
 
te::color::RGBAColor getFillColor () const
 
te::gm::GeometrygetGeometry () const
 
te::da::ObjectIdgetId () const
 
te::edit::OperationType getOperationTypeId () const
 
bool hasColorChanged ()
 
bool isEditable () const
 
bool isEquals (te::da::ObjectId *id)
 
void set (te::da::ObjectId *id, te::gm::Geometry *geom)
 
void setContourColor (const te::color::RGBAColor &contourColor)
 
void setData (const std::map< std::string, te::dt::AbstractData *> &data)
 
void setEditable (const bool &editable)
 
void setFillColor (const te::color::RGBAColor &fillColor)
 
void setGeometry (te::gm::Geometry *geom)
 
void setId (te::da::ObjectId *id)
 
void setOperationTypeId (const te::edit::OperationType &currentOperationType)
 
 ~Feature ()
 

Private Attributes

bool m_colorChanged
 
te::color::RGBAColor m_contourColor
 
te::edit::OperationType m_currentOperationType
 
std::map< std::string, te::dt::AbstractData * > m_data
 
te::color::RGBAColor m_fillColor
 
te::gm::Geometrym_geom
 
te::da::ObjectIdm_id
 
bool m_isEditable
 

Detailed Description

Definition at line 57 of file Feature.h.

Constructor & Destructor Documentation

◆ Feature() [1/3]

te::edit::Feature::Feature ( )

◆ Feature() [2/3]

te::edit::Feature::Feature ( te::da::ObjectId id)

◆ Feature() [3/3]

te::edit::Feature::Feature ( te::da::ObjectId id,
te::gm::Geometry geom 
)

◆ ~Feature()

te::edit::Feature::~Feature ( )

Member Function Documentation

◆ clone()

Feature* te::edit::Feature::clone ( ) const

◆ getContourColor()

te::color::RGBAColor te::edit::Feature::getContourColor ( ) const

◆ getData()

const std::map<std::string, te::dt::AbstractData*>& te::edit::Feature::getData ( ) const

◆ getFillColor()

te::color::RGBAColor te::edit::Feature::getFillColor ( ) const

◆ getGeometry()

te::gm::Geometry* te::edit::Feature::getGeometry ( ) const

◆ getId()

te::da::ObjectId* te::edit::Feature::getId ( ) const

◆ getOperationTypeId()

te::edit::OperationType te::edit::Feature::getOperationTypeId ( ) const

◆ hasColorChanged()

bool te::edit::Feature::hasColorChanged ( )

◆ isEditable()

bool te::edit::Feature::isEditable ( ) const

◆ isEquals()

bool te::edit::Feature::isEquals ( te::da::ObjectId id)

◆ set()

void te::edit::Feature::set ( te::da::ObjectId id,
te::gm::Geometry geom 
)

◆ setContourColor()

void te::edit::Feature::setContourColor ( const te::color::RGBAColor contourColor)

◆ setData()

void te::edit::Feature::setData ( const std::map< std::string, te::dt::AbstractData *> &  data)

◆ setEditable()

void te::edit::Feature::setEditable ( const bool &  editable)

◆ setFillColor()

void te::edit::Feature::setFillColor ( const te::color::RGBAColor fillColor)

◆ setGeometry()

void te::edit::Feature::setGeometry ( te::gm::Geometry geom)

◆ setId()

void te::edit::Feature::setId ( te::da::ObjectId id)

◆ setOperationTypeId()

void te::edit::Feature::setOperationTypeId ( const te::edit::OperationType currentOperationType)

Member Data Documentation

◆ m_colorChanged

bool te::edit::Feature::m_colorChanged
private

Definition at line 113 of file Feature.h.

◆ m_contourColor

te::color::RGBAColor te::edit::Feature::m_contourColor
private

Definition at line 112 of file Feature.h.

◆ m_currentOperationType

te::edit::OperationType te::edit::Feature::m_currentOperationType
private

Definition at line 115 of file Feature.h.

◆ m_data

std::map<std::string, te::dt::AbstractData*> te::edit::Feature::m_data
private

Definition at line 109 of file Feature.h.

◆ m_fillColor

te::color::RGBAColor te::edit::Feature::m_fillColor
private

Definition at line 111 of file Feature.h.

◆ m_geom

te::gm::Geometry* te::edit::Feature::m_geom
private

Definition at line 108 of file Feature.h.

◆ m_id

te::da::ObjectId* te::edit::Feature::m_id
private

Definition at line 107 of file Feature.h.

◆ m_isEditable

bool te::edit::Feature::m_isEditable
private

Definition at line 116 of file Feature.h.


The documentation for this class was generated from the following file: