VR-Forces 4.6.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
include
gdb
gdbNodeExtentSelectionFunctor.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 gdbNodeExtentSelectionFunctor_H_
9
#define gdbNodeExtentSelectionFunctor_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/extent.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 Wed Jul 25 16:57:45 EDT 2018 from SVN revision 190790
Copyright © 2005-2018 VT MÄK. All Rights Reserved (
www.mak.com
)