VR-Forces 4.0.4 Class Documentation
include/terrainqt/intersectionInfo.h
Go to the documentation of this file.
00001 /*******************************************************************************
00002 ** Copyright (c) 2003 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 *******************************************************************************/
00005 /*******************************************************************************
00006 ** $RCSfile: intersectionInfo.h,v $ $Revision: 108016 $ $State: Exp $
00007 *******************************************************************************/
00008 
00011 
00012 #ifndef DtIntersectionInfo_H_
00013 #define DtIntersectionInfo_H_
00014 
00015 #include "archiver/archivableObject.h"
00016 #include <QtCore/QHash>
00017 
00018 class DtVectorNetworkRecord;
00019 
00020 const int DtCheckPolygons = 0x00000001;
00021 const int DtCheckFeatures = 0x00000002;
00022 const int DtCheckEntities = 0x00000004;
00023 
00024 #include "terrainqt/terrainqtDefines.h"
00025 class DT_DLL_terrainqt DtIntersectionInfo : public DtArchivableObject
00026 {
00027 public:
00028    DtIntersectionInfo();
00029    DtIntersectionInfo(const DtIntersectionInfo& orig);
00030 
00031    virtual DtIntersectionInfo& operator=(const DtIntersectionInfo& rhs);
00032 
00033    virtual bool operator==(const DtIntersectionInfo& info) const;
00034    virtual bool operator!=(const DtIntersectionInfo& info) const;
00035 
00036    virtual ~DtIntersectionInfo();
00037 
00040    virtual void setCheckInZ(bool z);
00041    virtual bool checkInZ() const;
00042 
00043    virtual void setInterestRange(double r);
00044    virtual double interestRange() const;
00045 
00049    virtual void addSpecification(const QString& value, const QString& label);
00050    virtual void clearSpecifications();
00051    virtual void setSpecifications(const QHash<QString, QString>& specifications);
00052    virtual const QHash<QString, QString>& specifications() const;
00053 
00055    virtual DtVectorNetworkRecord* vectorRecord() const;
00056 
00057    virtual void setCheckPolygons(bool b);
00058    virtual bool checkPolygons() const;
00059 
00060    virtual void setCheckFeatures(bool b);
00061    virtual bool checkFeatures() const;
00062 
00063    virtual void setCheckEntities(bool b);
00064    virtual bool checkEntities() const;
00065 
00066 protected:
00069    virtual void createVectorNetworkRecord();
00070 
00071 protected:
00072    bool myCheckInZ;
00073    double myInterestRange;
00074    int myCheckNodes;
00075    QHash<QString, QString> mySpecifications;
00076    DtVectorNetworkRecord* myVectorRecord;
00077 };
00078 
00079 #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)