VR-Forces 4.1.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
gdb
rangeNetNodMet.h
Go to the documentation of this file.
1
/*********************************************************************
2
** Copyright (c) 2001 MaK Technologies, Inc.
3
** All rights reserved.
4
*********************************************************************/
5
/*********************************************************************
6
** $RCSfile: rangeNetNodMet.h,v $ $Revision: 1.11 $ $State: Exp $
7
*********************************************************************/
8
9
#pragma once
10
11
#include "
gdb/gdbDefines.h
"
12
#include "
gdb/netwrkNodMet.h
"
13
14
class
DtNetworkNode
;
15
16
// DtRangeNetworkNodeMetric is a metric for a point quadtree.
17
// It determines whether there is any network node within a given
18
// range from the center of interest.
19
class
DT_DLL_gdb
DtRangeNetworkNodeMetric
:
public
DtNetworkNodeMetric
20
{
21
public
:
22
24
DtRangeNetworkNodeMetric
();
25
27
virtual
~
DtRangeNetworkNodeMetric
();
28
30
DtRangeNetworkNodeMetric
(
const
DtRangeNetworkNodeMetric
& orig);
31
33
DtRangeNetworkNodeMetric
&
operator=
(
const
DtRangeNetworkNodeMetric
& orig);
34
35
public
:
36
39
virtual
double
measure
(
const
DtNetworkNode
& node)
const
;
40
42
virtual
bool
valid
(
const
DtNetworkNode
& node)
const
;
43
45
virtual
bool
validSW
(
const
DtNetworkNode
& node)
const
;
46
48
virtual
bool
validSE
(
const
DtNetworkNode
& node)
const
;
49
51
virtual
bool
validNE
(
const
DtNetworkNode
& node)
const
;
52
54
virtual
bool
validNW
(
const
DtNetworkNode
& node)
const
;
55
57
virtual
const
DtPoint
& centerOfInterest()
const
;
58
virtual
void
setCenterOfInterest(
const
DtPoint
& val);
59
61
virtual
DtVector
vectorCenterOfInterest()
const
;
62
virtual
void
setCenterOfInterest(
const
DtVector
& val);
63
65
virtual
double
maxRange()
const
;
66
virtual
void
setMaxRange(
double
val);
67
69
virtual
double
measureMultiplier()
const
;
70
virtual
void
setMeasureMultiplier(
double
val);
71
73
virtual
bool
evalInZ()
const
;
74
virtual
void
setEvalInZ(
bool
evalInZ);
75
76
protected
:
77
78
DtPoint
myCenterOfInterest
;
79
double
myMaxRange
;
80
double
myMeasureMultiplier
;
81
bool
myEvalInZ
;
82
};
83
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
)