VR-Forces 4.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
gdb
gdbNodeExtentEvaluationFunctor.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 2005 MAK Technologies, Inc.
3
** All rights reserved.
4
******************************************************************************/
5
/******************************************************************************
6
** $RCSfile: gdbNodeExtentEvaluationFunctor.h,v $ $Revision: 1.3 $ $State: Exp $
7
******************************************************************************/
8
#ifndef gdbNodeExtentEvaluationFunctor_H_
9
#define gdbNodeExtentEvaluationFunctor_H_
10
11
//
12
// \file gdbNodeExtentEvaluationFunctor.h
13
// \brief Contains the DtGdbNodeExtentSelectionFunctor class desclaration and related functionality.
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 determines if a specified DtGdbNode's extent intersects a
25
// specified extent. If so, then it evaluates to true. Otherwise, it evaluates
26
// to false.
27
class
DT_DLL_gdb
DtGdbNodeExtentSelectionFunctor
:
public
DtGdbNodeEvaluationFunctor
28
{
29
public
:
30
DtGdbNodeExtentSelectionFunctor
(
const
DtExtent
& extent);
31
32
virtual
~
DtGdbNodeExtentSelectionFunctor
();
33
34
private
:
35
// Copy constructor and Assignment operator not implemented
36
DtGdbNodeExtentSelectionFunctor
(
const
DtGdbNodeExtentSelectionFunctor
& original);
37
const
DtGdbNodeExtentSelectionFunctor
&
operator=
(
const
DtGdbNodeExtentSelectionFunctor
& 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
51
private
:
52
53
DtExtent
myExtent
;
54
};
55
56
#endif
Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (
www.mak.com
)