VR-Forces 4.5 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ssGdbNodeIntersector.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 2005 MAK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 /*********************************************************************
6 ** $RCSfile: ssGdbNodeIntersector.h,v $ $Revision: 1.7 $ $State: Exp $
7 *********************************************************************/
8 #ifndef ssGdbNodeIntersector_H_
9 #define ssGdbNodeIntersector_H_
10 
11 #include "gdb/gdbDefines.h"
12 #include <vlutil/vlConfig.h>
14 #include "geometry/ssFunctor.h"
15 
16 
17 class DtGdbNode;
18 
19 //
20 // The DtSsGdbNodeIntersector class is responsible for knowing how to
21 // intersect DtGdbNodes and DtSpatialSubdivisions.
22 //
24 {
25 public:
26  // Constructor
28 
29  // Destructor
30  virtual ~DtSsGdbNodeIntersector();
31 
32 protected:
33  // Copy constructor & Assignment operator - not implemented
35  DtSsGdbNodeIntersector& operator=(const DtSsGdbNodeIntersector& orig);
36 
37 public:
38 
39  // Intersects the gdbNode and spatial subdivision. If the node is of type
40  // DtGroup, then it recursively intersects all the nodes children with the
41  // spatial subdivision until they are either not a DtGroup node, or are
42  // contained in a single cell. At that point, the functor is called with the
43  // appropriate cells.
44  //
45  // @returns a boolean indicating whether or not any intersection occurs.
46  virtual bool intersect(DtGdbNode* gdbNode,
47  DtSpatialSubdivision<DtGdbNode*>& spatialSubdivision,
49 
50 
51 };
52 
53 
54 
55 #endif

Document ID: Generated on Thu Mar 23 18:54:12 EDT 2017 from SVN revision 174804
Copyright © 2005-2017 VT MÄK. All Rights Reserved (www.mak.com)