VR-Forces 5.0.2 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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"
18 #include <geometry/extent.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.
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 private:
51 
53 };
54 
55 #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
Definition: gdbNodeXyExtentEvaluationFunctor.h:27
Definition: gdbNodeEvaluationFunctor.h:28
Contains the declaration of the DtExtent class.
DtExtent myExtent
Definition: gdbNodeXyExtentEvaluationFunctor.h:52

Document ID: Generated on Sun Dec 4 20:22:03 EST 2022 from SVN revision 249613
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)