VR-Forces 5.0.2 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
ssGdbNodeInserter.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2005 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 /******************************************************************************
6 ** $RCSfile: ssGdbNodeInserter.h,v $ $Revision: 1.6 $ $State: Exp $
7 ******************************************************************************/
8 #ifndef ssGdbNodeInserter_H_
9 #define ssGdbNodeInserter_H_
10 
11 #include "gdb/gdbDefines.h"
13 
14 class DtGdbNode;
15 
16 // The DtSsGdbNodeInserter class is responsible for properly inserting
17 // a DtGdbNode into a DtSpatialSubdivision.
18 //
20 {
21 public:
23 
24  virtual ~DtSsGdbNodeInserter();
25 
26 private:
27  // not implemented
29  DtSsGdbNodeInserter& operator=(const DtSsGdbNodeInserter& original);
30 
31 public:
32  // Function to insert a DtGdbNode into a spatial subdivision. If the insertion
33  // is successful, pointers to the specified DtGdbNode will be contained by all
34  // cells in the spatial subdivision that intersect the node.
35  //
36  // @returns A boolean indicating whether or not the node was inserted into the
37  // spatial subdivision.
38  virtual bool insert(DtGdbNode* terrain, DtSpatialSubdivision<DtGdbNode*>& spatialSubdivision);
39 };
40 
41 #endif
Definition: gdbNode.h:44
#define DT_DLL_gdb
Definition: gdbDefines.h:25
Definition: ssGdbNodeInserter.h:19

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)