73 lines
2.0 KiB
Objective-C
Executable File
73 lines
2.0 KiB
Objective-C
Executable File
/**
|
|
**
|
|
** @RDE_HEADER@
|
|
** Definition of rubberband class to define multi point feature geoemtry with rounded edges
|
|
** $Id$
|
|
** $HeadURL$
|
|
** $Author$
|
|
**
|
|
** -----------------------------------------------------------------------------------------------
|
|
**
|
|
** Hardware-Environment: Intel-PC
|
|
** Software-Environment: Windows 7, Qt 5.4. ArcGIS 10.2.5
|
|
**
|
|
** Language ........: C++ 11
|
|
**
|
|
** -----------------------------------------------------------------------------------------------
|
|
**
|
|
** Author ...........: Jörg Turla, SPD G, Tel. 3132
|
|
**
|
|
** -----------------------------------------------------------------------------------------------
|
|
**
|
|
** Notes .........:
|
|
**
|
|
** 17.06.2015, JT : First edition for use with Qt5
|
|
**
|
|
** -----------------------------------------------------------------------------------------------
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include "rubberband_multi_point_feature.h"
|
|
|
|
|
|
namespace SituationMap { namespace RB
|
|
{
|
|
/**
|
|
@class RubberbandSmoothLine rubberband_smooth_line.h
|
|
@brief Implementation of a multi point feature rubberband with rounded edges.
|
|
@see RubberbandFactory, Rubberband, RubberbandMultiPointFeature
|
|
|
|
*/
|
|
class SITUATIONMAP_EXPORT RubberbandSmoothLine : public RubberbandMultiPointFeature
|
|
{
|
|
Q_OBJECT
|
|
/**
|
|
@name Construction & Destruction
|
|
@{
|
|
*/
|
|
|
|
friend class RubberbandFactory;
|
|
|
|
explicit RubberbandSmoothLine( SituationMap::Map * map, QObject * parent = nullptr );
|
|
|
|
public:
|
|
|
|
~RubberbandSmoothLine();
|
|
/** @} */
|
|
|
|
protected:
|
|
/*
|
|
Forward declaration of InternalData to hold private member variables. Becareful the base class Rubberband
|
|
has similary a class for internal data member with name "InternalData". Don't be confused it is not the same.
|
|
*/
|
|
struct InternalData;
|
|
|
|
InternalData * _internal;
|
|
|
|
void update() override;
|
|
|
|
}; /* RubberbandSmoothLine */
|
|
|
|
} } /* namespace SituationMap::RB */
|