Quantum GIS API Documentation  1.8
Signals | Public Member Functions | Protected Attributes
QgsGraphDirector Class Reference

Determine making the graph. More...

#include <qgsgraphdirector.h>

Inheritance diagram for QgsGraphDirector:
Inheritance graph
[legend]

List of all members.

Signals

void buildProgress (int, int) const
void buildMessage (QString) const

Public Member Functions

virtual ~QgsGraphDirector ()
 Destructor.
virtual void makeGraph (QgsGraphBuilderInterface *builder, const QVector< QgsPoint > &additionalPoints, QVector< QgsPoint > &tiedPoints) const
 Make a graph using RgGraphBuilder.
void addProperter (QgsArcProperter *prop)
virtual QString name () const =0
 return Director name

Protected Attributes

QList< QgsArcProperter * > mProperterList

Detailed Description

Determine making the graph.

QgsGraphBuilder and QgsGraphDirector is a builder patter.

Definition at line 35 of file qgsgraphdirector.h.


Constructor & Destructor Documentation

virtual QgsGraphDirector::~QgsGraphDirector ( ) [inline, virtual]

Destructor.

Definition at line 45 of file qgsgraphdirector.h.


Member Function Documentation

Definition at line 67 of file qgsgraphdirector.h.

void QgsGraphDirector::buildMessage ( QString  ) const [signal]
void QgsGraphDirector::buildProgress ( int  ,
int   
) const [signal]
virtual void QgsGraphDirector::makeGraph ( QgsGraphBuilderInterface builder,
const QVector< QgsPoint > &  additionalPoints,
QVector< QgsPoint > &  tiedPoints 
) const [inline, virtual]

Make a graph using RgGraphBuilder.

Parameters:
builderThe graph builder
additionalPointsVector of points that must be tied to the graph
tiedPointsVector of tied points
Note:
if tiedPoints[i]==QgsPoint(0.0,0.0) then tied failed.

Reimplemented in QgsLineVectorLayerDirector.

Definition at line 58 of file qgsgraphdirector.h.

virtual QString QgsGraphDirector::name ( ) const [pure virtual]

return Director name

Implemented in QgsLineVectorLayerDirector.


Member Data Documentation

Definition at line 78 of file qgsgraphdirector.h.

Referenced by QgsLineVectorLayerDirector::makeGraph().


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines