VR-Forces 4.1.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
gdb
gdbNodeXyExtentEvaluationFunctor.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 2005 MAK Technologies, Inc.
3
** All rights reserved.
4
******************************************************************************/
5
/******************************************************************************
6
** $RCSfile: gdbNodeXyExtentEvaluationFunctor.h,v $ $Revision: 1.3 $ $State: Exp $
7
******************************************************************************/
8
#ifndef gdbNodeXyExtentEvaluationFunctor_H_
9
#define gdbNodeXyExtentEvaluationFunctor_H_
10
11
//
12
// \file gdbNodeXyExtentEvaluationFunctor.h
13
// \brief This file contains the declaration of the DtGdbNodeXyExtentIntersectionFunctor
14
//
15
16
#include "
gdb/gdbDefines.h
"
17
#include "
gdb/gdbNodeEvaluationFunctor.h
"
18
#include <
geometry/tdbextent.h
>
19
20
class
DtGdbNode
;
21
22
23
//
24
// This functor is used to determine if a specified DtGdbNode's extent
25
// intersects another specified extent in the XY plane. If so, then it
26
// evaluates to true. Otherwise, it evaluates to false.
27
class
DT_DLL_gdb
DtGdbNodeXyExtentEvaluationFunctor
:
public
DtGdbNodeEvaluationFunctor
28
{
29
public
:
30
DtGdbNodeXyExtentEvaluationFunctor
(
const
DtExtent
& extent);
31
32
virtual
~
DtGdbNodeXyExtentEvaluationFunctor
();
33
34
private
:
35
// Copy constructor and Assignment operator not implemented
36
DtGdbNodeXyExtentEvaluationFunctor
(
const
DtGdbNodeXyExtentEvaluationFunctor
& original);
37
const
DtGdbNodeXyExtentEvaluationFunctor
&
operator=
(
const
DtGdbNodeXyExtentEvaluationFunctor
& original);
38
39
public
:
40
41
// \return True if the specified node's extent intersects this functor's
42
// extent and false otherwise.
43
// \note This does \b not do an exact intersection test between this functor's
44
// extent and the specified node's actual dimensions, whatever they may be.
45
// It tests the extent \b only.
46
bool
operator()
(
const
DtGdbNode
& nodeToEvalulate);
47
48
49
protected
:
50
private
:
51
52
DtExtent
myExtent
;
53
};
54
55
#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
)