VR-Forces 4.1.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
gdb
featureExtIntersectNetNodMet.h
Go to the documentation of this file.
1
/*********************************************************************
2
** Copyright (c) 2005 MAK Technologies, Inc.
3
** All rights reserved.
4
*********************************************************************/
5
/*********************************************************************
6
** $RCSfile: featureExtIntersectNetNodMet.h,v $ $Revision: 1.5 $ $State: Exp $
7
** Created: 10/24/05 MEM, Updated:
8
*********************************************************************/
9
#ifndef featureExtIntersectNetNodMet_H_
10
#define featureExtIntersectNetNodMet_H_
11
12
//
13
// \file featureExtIntersectNetNodMet.h
14
// \brief This file contains the DtFeatureExtentIntersectNetworkNodeMetric
15
// class declaration. The purpose of this class is to do a rough selection
16
// of features based on whether their extent intersects with the given extent
17
// This metric takes advantage of a quadtree structure such as the vector
18
// network's node quadtree.
19
//
20
21
#include "
gdb/gdbDefines.h
"
22
#include <stdio.h>
23
#include <vlutil/vlNetTypes.h>
24
#include "
gdb/intersectNetNodMet.h
"
25
#include "
geometry/tdbextent.h
"
26
27
class
DtNetworkNode
;
28
29
class
DT_DLL_gdb
DtFeatureExtentIntersectNetworkNodeMetric
:
public
DtIntersectNetworkNodeMetric
30
{
31
public
:
32
33
// default constructor
34
DtFeatureExtentIntersectNetworkNodeMetric
();
35
36
// destructor
37
virtual
~
DtFeatureExtentIntersectNetworkNodeMetric
();
38
39
// copy constructor
40
DtFeatureExtentIntersectNetworkNodeMetric
(
const
41
DtFeatureExtentIntersectNetworkNodeMetric
& orig);
42
43
// assignment operator
44
DtFeatureExtentIntersectNetworkNodeMetric
&
operator=
(
const
45
DtFeatureExtentIntersectNetworkNodeMetric
& orig);
46
47
public
:
48
49
// validate the node
50
virtual
bool
valid
(
const
DtNetworkNode
& node)
const
;
51
52
// get/set extent of interest
53
virtual
const
DtExtent
& extentOfInterest()
const
;
54
virtual
void
setExtentOfInterest(
const
DtExtent
& ext);
55
56
protected
:
57
58
DtExtent
myExtentOfInterest
;
59
};
60
61
#endif
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
)