VR-Forces 4.2 Class Documentation
displayPoint.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2006 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 /*******************************************************************************
6 ** $RCSfile: displayPoint.h,v $ $Revision: 1.5 $ $State: Exp $
7 *******************************************************************************/
8 
9 #ifndef DtDisplayPoint_H
10 #define DtDisplayPoint_H
11 
14 
15 #include <QtCore/QPoint>
16 
17 #include <iosfwd>
18 
22 
24 
26 {
27 public:
28 
30  DtDisplayPoint(const QPoint& p);
31  DtDisplayPoint(const int, const int);
32  DtDisplayPoint(const DtDisplayPoint& orig);
33 
34  virtual ~DtDisplayPoint();
35 
37  DtDisplayPoint operator-(const DtDisplayPoint& rhs) { return DtDisplayPoint(x() - rhs.x(), y() - rhs.y()); };
38  DtDisplayPoint operator+(const DtDisplayPoint& rhs) { return DtDisplayPoint(x() + rhs.x(), y() + rhs.y()); };
39 
40  operator QPoint() { return QPoint(x(), y()); };
41 
42 protected:
43 
44 };
45 
46 #endif
47 

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)