VR-Forces 5.0.3 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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"
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.
28 {
29 public:
31 
33 
34 private:
35  // Copy constructor and Assignment operator not implemented
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 
54 };
55 
56 #endif
const DtGdbNodeEvaluationFunctor & operator=(const DtGdbNodeEvaluationFunctor &original)
virtual bool operator()(const DtGdbNode &nodeToEvaluate)
Definition: gdbNode.h:44
The DtExtent represents an axis-aligned 3d bounding box.
Definition: extent.h:43
#define DT_DLL_gdb
Definition: gdbDefines.h:25
DtExtent myExtent
Definition: gdbNodeExtentSelectionFunctor.h:53
Definition: gdbNodeEvaluationFunctor.h:28
Definition: gdbNodeExtentSelectionFunctor.h:27
Contains the declaration of the DtExtent class.

Document ID: Generated on Thu Jun 1 17:58:13 EDT 2023 from SVN revision 255404
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)