QGIS API Documentation  2.6.0-Brighton
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | Protected Attributes | Friends | List of all members
pal::Feature Class Reference

#include <feature.h>

Public Member Functions

 Feature (Layer *l, const char *id, PalGeometry *userG, double lx, double ly)
 ~Feature ()
void setLabelInfo (LabelInfo *info)
void setDistLabel (double dist)
void setFixedPosition (double x, double y)
void setQuadOffset (double x, double y)
void setPosOffset (double x, double y)
bool fixedPosition () const
void setFixedAngle (double a)
void setRepeatDistance (double dist)
double repeatDistance () const
void setAlwaysShow (bool bl)

Protected Attributes

Layerlayer
PalGeometryuserGeom
double label_x
double label_y
double distlabel
LabelInfolabelInfo
char * uid
bool fixedPos
double fixedPosX
double fixedPosY
bool quadOffset
double quadOffsetX
double quadOffsetY
bool offsetPos
double offsetPosX
double offsetPosY
bool fixedRotation
double fixedAngle
double repeatDist
bool alwaysShow

Friends

class FeaturePart

Constructor & Destructor Documentation

pal::Feature::Feature ( Layer l,
const char *  id,
PalGeometry userG,
double  lx,
double  ly 
)
pal::Feature::~Feature ( )

Member Function Documentation

bool pal::Feature::fixedPosition ( ) const
inline
double pal::Feature::repeatDistance ( ) const
inline
void pal::Feature::setAlwaysShow ( bool  bl)
inline
void pal::Feature::setDistLabel ( double  dist)
inline
void pal::Feature::setFixedAngle ( double  a)
inline
void pal::Feature::setFixedPosition ( double  x,
double  y 
)
inline
void pal::Feature::setLabelInfo ( LabelInfo info)
inline
void pal::Feature::setPosOffset ( double  x,
double  y 
)
inline
void pal::Feature::setQuadOffset ( double  x,
double  y 
)
inline
void pal::Feature::setRepeatDistance ( double  dist)
inline

Friends And Related Function Documentation

friend class FeaturePart
friend

Member Data Documentation

bool pal::Feature::alwaysShow
protected
double pal::Feature::distlabel
protected
double pal::Feature::fixedAngle
protected
bool pal::Feature::fixedPos
protected
double pal::Feature::fixedPosX
protected
double pal::Feature::fixedPosY
protected
bool pal::Feature::fixedRotation
protected
double pal::Feature::label_x
protected
double pal::Feature::label_y
protected
LabelInfo* pal::Feature::labelInfo
protected
Layer* pal::Feature::layer
protected
bool pal::Feature::offsetPos
protected
double pal::Feature::offsetPosX
protected
double pal::Feature::offsetPosY
protected
bool pal::Feature::quadOffset
protected
double pal::Feature::quadOffsetX
protected
double pal::Feature::quadOffsetY
protected
double pal::Feature::repeatDist
protected
char* pal::Feature::uid
protected
PalGeometry* pal::Feature::userGeom
protected

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