VR-Forces 4.1.1 Class Documentation
lineObjSymbol.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 2000 MaK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 /*********************************************************************
6 ** $RCSfile: lineObjSymbol.h,v $ $Revision: 1.10 $ $State: Exp $
7 *********************************************************************/
8 
11 
12 #ifndef LINEOBJSYMBOL_H
13 #define LINEOBJSYMBOL_H
14 
16 #include "ngutil/dtqlist.h"
17 
18 class DtLineSymbol;
19 class DtTTSSymbol;
20 class QPolygon;
21 class DtPoint;
22 
26 
29 {
30 
31 public:
32 
36 
38  virtual ~DtLineObjectSymbol();
39 
42 
45 
46  virtual bool select(const QPoint& point);
47 
48  virtual bool select(const QPoint& point, const QSize& s);
49 
50  virtual void setHighlight(const bool highlight);
51 
52  virtual bool highlight() const;
53 
54  virtual DtSymbol* clone() const;
55 
56  virtual int resetLabelPositions() const;
57 
58  virtual const QPolygon* getLocationData() const;
59 
60  virtual bool closedFigure() const;
61 
63  virtual bool adjustPoints(QPolygon& pnts, bool constrain);
64 
69  virtual bool setAndCalculatePoint(int iIndex, const QPoint& pnt);
70 
74  virtual bool setAndCalculatePoint(int iIndex, const DtPoint& pnt, QVector<DtPoint>* list);
75  virtual void setAdjustPoints(bool);
76  virtual bool adjustPoints() const;
77 
78 public:
79  static DtSymbol* create(DtSymbolDrawer& drawer);
80 };
81 
82 #endif

Document ID: Generated on Mon Apr 8 19:24:01 EDT 2013 from SVN revision 125877
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)