VR-Forces 4.0.4 Class Documentation
include/gdb/ssGdbNodeInserter.h
Go to the documentation of this file.
00001 /******************************************************************************
00002 ** Copyright (c) 2005 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 ******************************************************************************/
00005 /******************************************************************************
00006 ** $RCSfile: ssGdbNodeInserter.h,v $ $Revision: 1.6 $ $State: Exp $
00007 ******************************************************************************/
00008 #ifndef ssGdbNodeInserter_H_
00009 #define ssGdbNodeInserter_H_
00010 
00011 #include "gdb/gdbDefines.h"
00012 #include "geometry/spatialSubdivision.h"
00013 
00014 class DtGdbNode;
00015 
00016 // The DtSsGdbNodeInserter class is responsible for properly inserting
00017 // a DtGdbNode into a DtSpatialSubdivision.
00018 // 
00019 class DT_DLL_gdb DtSsGdbNodeInserter
00020 {
00021 public:
00022    DtSsGdbNodeInserter();
00023 
00024    virtual ~DtSsGdbNodeInserter();
00025    
00026 private:
00027    // not implemented
00028    DtSsGdbNodeInserter(const DtSsGdbNodeInserter& original);
00029    DtSsGdbNodeInserter& operator=(const DtSsGdbNodeInserter& original);
00030 
00031 public:
00032    // Function to insert a DtGdbNode into a spatial subdivision.  If the insertion
00033    // is successful, pointers to the specified DtGdbNode will be contained by all
00034    // cells in the spatial subdivision that intersect the node.
00035    //
00036    // @returns A boolean indicating whether or not the node was inserted into the
00037    // spatial subdivision.
00038    virtual bool insert(DtGdbNode* terrain, DtSpatialSubdivision<DtGdbNode*>& spatialSubdivision);
00039 };
00040 
00041 #endif

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)