VR-Forces Development_Version Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
include
gdb
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
"
12
#include "
geometry/spatialSubdivision.h
"
13
14
class
DtGdbNode
;
15
16
// The DtSsGdbNodeInserter class is responsible for properly inserting
17
// a DtGdbNode into a DtSpatialSubdivision.
18
//
19
class
DT_DLL_gdb
DtSsGdbNodeInserter
20
{
21
public
:
22
DtSsGdbNodeInserter
();
23
24
virtual
~
DtSsGdbNodeInserter
();
25
26
private
:
27
// not implemented
28
DtSsGdbNodeInserter
(
const
DtSsGdbNodeInserter
& original);
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
Document ID: Generated on Mon Jul 4 01:00:18 EDT 2016 from SVN revision 166489
Copyright © 2005-2015 VT MÄK. All Rights Reserved (
www.mak.com
)