QCAD Application Framework
CAD Application Development and Automation.
Main Page
Related Pages
Modules
Classes
Files
File List
File Members
All
Classes
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
RSpatialIndexVisitorAdapter.h
Go to the documentation of this file.
1
#ifndef RSPATIALINDEXVISITORADAPTER_H
2
#define RSPATIALINDEXVISITORADAPTER_H
3
4
#include "
RDebug.h
"
5
#include "
RSpatialIndexVisitor.h
"
6
7
18
class
RSpatialIndexVisitorAdapter
:
public
RSpatialIndexVisitor
{
19
public
:
20
virtual
~RSpatialIndexVisitorAdapter
() {}
21
22
virtual
void
visitData
(
23
int
id
,
int
pos,
24
double
x1,
double
y1,
double
z1,
25
double
x2,
double
y2,
double
z2
26
) {
27
Q_UNUSED(
id
)
28
Q_UNUSED(x1)
29
Q_UNUSED(y1)
30
Q_UNUSED(z1)
31
Q_UNUSED(x2)
32
Q_UNUSED(y2)
33
Q_UNUSED(z2)
34
}
35
39
// virtual void visitData(
40
// int id, int pos,
41
// double x1, double y1, double z1,
42
// double x2, double y2, double z2
43
// ) {
44
// //Q_UNUSED(size)
45
// //Q_UNUSED(data)
46
// visitData(id, pos, x1,y1,z1, x2,y2,z2);
47
// }
48
49
50
virtual
void
visitNode
(
51
double
x1,
double
y1,
double
z1,
52
double
x2,
double
y2,
double
z2
53
) {
54
Q_UNUSED(x1)
55
Q_UNUSED(y1)
56
Q_UNUSED(z1)
57
Q_UNUSED(x2)
58
Q_UNUSED(y2)
59
Q_UNUSED(z2)
60
}
61
};
62
63
Q_DECLARE_METATYPE
(
RSpatialIndexVisitorAdapter
*)
64
65
#endif
src
core
RSpatialIndexVisitorAdapter.h
Generated on Tue Jun 26 2012 18:41:07 for QCAD Application Framework by
1.8.1.1