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::edit::FeatureType type)
 
te::color::RGBAColor getContourColor () const
 
std::vector< te::gm::Coord2DgetCoords () const
 
const std::map< std::size_t, te::dt::AbstractData * > & getData () const
 
te::color::RGBAColor getFillColor () const
 
te::gm::GeometrygetGeometry () const
 
te::da::ObjectIdgetId () const
 
FeatureType getType () const
 
bool isColorChanged ()
 
bool isEquals (te::da::ObjectId *id)
 
void set (te::da::ObjectId *id, te::gm::Geometry *geom, te::edit::FeatureType type)
 
void setContourColor (const te::color::RGBAColor &contourColor)
 
void setCoords (std::vector< te::gm::Coord2D > coords)
 
void setData (const std::map< std::size_t, te::dt::AbstractData * > &data)
 
void setFillColor (const te::color::RGBAColor &fillColor)
 
void setGeometry (te::gm::Geometry *geom)
 
void setId (te::da::ObjectId *id)
 
void setType (te::edit::FeatureType type)
 
 ~Feature ()
 

Private Attributes

bool m_colorChanged
 
te::color::RGBAColor m_contourColor
 
std::vector< te::gm::Coord2Dm_coords
 
std::map< std::size_t, te::dt::AbstractData * > m_data
 
te::color::RGBAColor m_fillColor
 
te::gm::Geometrym_geom
 
te::da::ObjectIdm_id
 
te::edit::FeatureType m_type
 

Detailed Description

Definition at line 56 of file Feature.h.

Constructor & Destructor Documentation

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

Member Function Documentation

Feature* te::edit::Feature::clone ( ) const
te::color::RGBAColor te::edit::Feature::getContourColor ( ) const
std::vector<te::gm::Coord2D> te::edit::Feature::getCoords ( ) const
const std::map<std::size_t, te::dt::AbstractData*>& te::edit::Feature::getData ( ) const
te::color::RGBAColor te::edit::Feature::getFillColor ( ) const
te::gm::Geometry* te::edit::Feature::getGeometry ( ) const
te::da::ObjectId* te::edit::Feature::getId ( ) const
FeatureType te::edit::Feature::getType ( ) const
bool te::edit::Feature::isColorChanged ( )
bool te::edit::Feature::isEquals ( te::da::ObjectId id)
void te::edit::Feature::set ( te::da::ObjectId id,
te::gm::Geometry geom,
te::edit::FeatureType  type 
)
void te::edit::Feature::setContourColor ( const te::color::RGBAColor contourColor)
void te::edit::Feature::setCoords ( std::vector< te::gm::Coord2D coords)
void te::edit::Feature::setData ( const std::map< std::size_t, te::dt::AbstractData * > &  data)
void te::edit::Feature::setFillColor ( const te::color::RGBAColor fillColor)
void te::edit::Feature::setGeometry ( te::gm::Geometry geom)
void te::edit::Feature::setId ( te::da::ObjectId id)
void te::edit::Feature::setType ( te::edit::FeatureType  type)

Member Data Documentation

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

Definition at line 114 of file Feature.h.

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

Definition at line 113 of file Feature.h.

std::vector<te::gm::Coord2D> te::edit::Feature::m_coords
private

Definition at line 110 of file Feature.h.

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

Definition at line 108 of file Feature.h.

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

Definition at line 112 of file Feature.h.

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

Definition at line 107 of file Feature.h.

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

Definition at line 106 of file Feature.h.

te::edit::FeatureType te::edit::Feature::m_type
private

Definition at line 109 of file Feature.h.


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