VR-Forces 4.0.4 Class Documentation
include/symbology/lineObjSymbol.h
Go to the documentation of this file.
00001 /*********************************************************************
00002 ** Copyright (c) 2000 MaK Technologies, Inc.
00003 ** All rights reserved.
00004 *********************************************************************/
00005 /*********************************************************************
00006 ** $RCSfile: lineObjSymbol.h,v $ $Revision: 1.10 $ $State: Exp $
00007 *********************************************************************/
00008 
00011 
00012 #ifndef LINEOBJSYMBOL_H
00013 #define LINEOBJSYMBOL_H
00014 
00015 #include "symbology/nameLabelSymbol.h"
00016 #include "ngutil/dtqlist.h"
00017 
00018 class DtLineSymbol;
00019 class DtTTSSymbol;
00020 class QPolygon;
00021 class DtPoint;
00022 
00026 
00027 #include "symbology/symbologyDefines.h"
00028 class DT_DLL_symbology DtLineObjectSymbol : public DtNameLabelSymbol
00029 {
00030 
00031 public:
00032 
00034    DtLineObjectSymbol();
00035    DtLineObjectSymbol(DtSymbolDrawer& d);
00036 
00038    virtual ~DtLineObjectSymbol();
00039 
00041    DtLineObjectSymbol(const DtLineObjectSymbol& orig);
00042 
00044    DtLineObjectSymbol& operator=(const DtLineObjectSymbol& rhs);
00045 
00046    virtual bool select(const QPoint& point);
00047 
00048    virtual bool select(const QPoint& point, const QSize& s);
00049 
00050    virtual void setHighlight(const bool highlight);
00051 
00052    virtual bool highlight() const;
00053 
00054    virtual DtSymbol* clone() const;
00055 
00056    virtual int resetLabelPositions() const;
00057    
00058    virtual const QPolygon* getLocationData() const;
00059 
00060    virtual bool closedFigure() const;
00061 
00063    virtual bool adjustPoints(QPolygon& pnts, bool constrain);
00064 
00069    virtual bool setAndCalculatePoint(int iIndex, const QPoint& pnt);
00070 
00074    virtual bool setAndCalculatePoint(int iIndex, const DtPoint& pnt, QVector<DtPoint>* list);
00075    virtual void setAdjustPoints(bool);
00076    virtual bool adjustPoints() const;
00077 
00078 public:
00079    static DtSymbol* create(DtSymbolDrawer& drawer);
00080 };
00081 
00082 #endif

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)