VR-Forces 4.1.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
drawerNative
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
12
#include "
drawerNative/drawerNativeDefines.h
"
13
#include "
drawerNative/2dIntPoint.h
"
14
15
#include <QtCore/QPoint>
16
17
#include <iosfwd>
18
22
24
25
class
DT_DLL_drawerNative
DtDisplayPoint
:
public
Dt2DIntPoint
26
{
27
public
:
28
29
DtDisplayPoint
();
30
DtDisplayPoint
(
const
QPoint& p);
31
DtDisplayPoint
(
const
int
,
const
int
);
32
DtDisplayPoint
(
const
DtDisplayPoint
& orig);
33
34
virtual
~
DtDisplayPoint
();
35
36
DtDisplayPoint
&
operator=
(
const
DtDisplayPoint
& rhs);
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 Mon Apr 8 19:24:01 EDT 2013 from SVN revision 125877
Copyright © 2005-2013 VT MÄK. All Rights Reserved (
www.mak.com
)