QGIS API Documentation  2.10.1-Pisa
 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 *geom_id, PalGeometry *userG, double lx, double ly)
 
 ~Feature ()
 
bool fixedPosition () const
 
double repeatDistance () const
 
void setAlwaysShow (bool bl)
 
void setDistLabel (double dist)
 
void setFixedAngle (double a)
 
void setFixedPosition (double x, double y)
 
void setLabelInfo (LabelInfo *info)
 
void setPosOffset (double x, double y)
 
void setQuadOffset (double x, double y)
 
void setRepeatDistance (double dist)
 

Protected Attributes

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

Friends

class FeaturePart
 

Detailed Description

Definition at line 82 of file feature.h.

Constructor & Destructor Documentation

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

Definition at line 64 of file feature.cpp.

pal::Feature::~Feature ( )

Definition at line 91 of file feature.cpp.

Member Function Documentation

bool pal::Feature::fixedPosition ( ) const
inline

Definition at line 96 of file feature.h.

double pal::Feature::repeatDistance ( ) const
inline

Definition at line 100 of file feature.h.

void pal::Feature::setAlwaysShow ( bool  bl)
inline

Definition at line 101 of file feature.h.

void pal::Feature::setDistLabel ( double  dist)
inline

Definition at line 91 of file feature.h.

void pal::Feature::setFixedAngle ( double  a)
inline

Definition at line 98 of file feature.h.

void pal::Feature::setFixedPosition ( double  x,
double  y 
)
inline

Definition at line 93 of file feature.h.

void pal::Feature::setLabelInfo ( LabelInfo info)
inline

Definition at line 90 of file feature.h.

void pal::Feature::setPosOffset ( double  x,
double  y 
)
inline

Definition at line 95 of file feature.h.

void pal::Feature::setQuadOffset ( double  x,
double  y 
)
inline

Definition at line 94 of file feature.h.

void pal::Feature::setRepeatDistance ( double  dist)
inline

Definition at line 99 of file feature.h.

Friends And Related Function Documentation

friend class FeaturePart
friend

Definition at line 84 of file feature.h.

Member Data Documentation

bool pal::Feature::alwaysShow
protected

Definition at line 127 of file feature.h.

double pal::Feature::distlabel
protected

Definition at line 108 of file feature.h.

double pal::Feature::fixedAngle
protected

Definition at line 124 of file feature.h.

bool pal::Feature::fixedPos
protected

Definition at line 113 of file feature.h.

double pal::Feature::fixedPosX
protected

Definition at line 114 of file feature.h.

double pal::Feature::fixedPosY
protected

Definition at line 115 of file feature.h.

bool pal::Feature::fixedRotation
protected

Definition at line 123 of file feature.h.

double pal::Feature::label_x
protected

Definition at line 106 of file feature.h.

double pal::Feature::label_y
protected

Definition at line 107 of file feature.h.

LabelInfo* pal::Feature::labelInfo
protected

Definition at line 109 of file feature.h.

Layer* pal::Feature::layer
protected

Definition at line 104 of file feature.h.

bool pal::Feature::offsetPos
protected

Definition at line 119 of file feature.h.

double pal::Feature::offsetPosX
protected

Definition at line 120 of file feature.h.

double pal::Feature::offsetPosY
protected

Definition at line 121 of file feature.h.

bool pal::Feature::quadOffset
protected

Definition at line 116 of file feature.h.

double pal::Feature::quadOffsetX
protected

Definition at line 117 of file feature.h.

double pal::Feature::quadOffsetY
protected

Definition at line 118 of file feature.h.

double pal::Feature::repeatDist
protected

Definition at line 125 of file feature.h.

char* pal::Feature::uid
protected

Definition at line 111 of file feature.h.

PalGeometry* pal::Feature::userGeom
protected

Definition at line 105 of file feature.h.


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