VR-Forces 4.2 Class Documentation
intersectionInfo.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2003 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 /*******************************************************************************
6 ** $RCSfile: intersectionInfo.h,v $ $Revision: 108016 $ $State: Exp $
7 *******************************************************************************/
8 
11 
12 #ifndef DtIntersectionInfo_H_
13 #define DtIntersectionInfo_H_
14 
16 #include <QtCore/QHash>
17 
18 class DtVectorNetworkRecord;
19 
20 const int DtCheckPolygons = 0x00000001;
21 const int DtCheckFeatures = 0x00000002;
22 const int DtCheckEntities = 0x00000004;
23 
26 {
27 public:
30 
31  virtual DtIntersectionInfo& operator=(const DtIntersectionInfo& rhs);
32 
33  virtual bool operator==(const DtIntersectionInfo& info) const;
34  virtual bool operator!=(const DtIntersectionInfo& info) const;
35 
36  virtual ~DtIntersectionInfo();
37 
40  virtual void setCheckInZ(bool z);
41  virtual bool checkInZ() const;
42 
43  virtual void setInterestRange(double r);
44  virtual double interestRange() const;
45 
49  virtual void addSpecification(const QString& value, const QString& label);
50  virtual void clearSpecifications();
51  virtual void setSpecifications(const QHash<QString, QString>& specifications);
52  virtual const QHash<QString, QString>& specifications() const;
53 
55  virtual DtVectorNetworkRecord* vectorRecord() const;
56 
57  virtual void setCheckPolygons(bool b);
58  virtual bool checkPolygons() const;
59 
60  virtual void setCheckFeatures(bool b);
61  virtual bool checkFeatures() const;
62 
63  virtual void setCheckEntities(bool b);
64  virtual bool checkEntities() const;
65 
66 protected:
69  virtual void createVectorNetworkRecord();
70 
71 protected:
72  bool myCheckInZ;
75  QHash<QString, QString> mySpecifications;
76  DtVectorNetworkRecord* myVectorRecord;
77 };
78 
79 #endif

Document ID: Generated on Sun Nov 24 19:49:21 EST 2013 from SVN revision 133924
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)