VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
terrainSelection.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2005 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 /******************************************************************************
6 ** $RCSfile: terrainSelection.h,v $ $Revision: 1.8 $ $State: Exp $
7 ******************************************************************************/
8 #ifndef terrainSelection_H_
9 #define terrainSelection_H_
10 
13 
14 #include "gdb/gdbDefines.h"
15 #include "gdb/allTypesPolygon.h"
16 #include <vlutil/vlConfig.h>
17 #include <set>
18 
19 class Coordinate_System;
20 class DtExtent;
21 class DtPoint;
23 
29 
35 typedef std::set<DtTerrainElement*> DtTerrainSelection;
36 typedef DtTerrainSelection::iterator DtTerrainElementIter;
37 typedef DtTerrainSelection::const_iterator DtTerrainElementConstIter;
38 
41  const DtTerrainSelection& selectionToRemove);
42 
44 DT_DLL_gdb void DtToggleSelection(DtTerrainSelection& primarySelection,
45  const DtTerrainSelection& selectionToToggle);
46 
48 DT_DLL_gdb void DtAddToSelection(DtTerrainSelection& primarySelection,
49  const DtTerrainSelection& selectionToAdd);
50 
53 DT_DLL_gdb bool xyPointInPolygon(const DtAllTypesPolygon& polygon, const DtPoint& point);
54 
55 
56 #endif
DT_DLL_gdb void DtToggleSelection(DtTerrainSelection &primarySelection, const DtTerrainSelection &selectionToToggle)
DT_DLL_gdb void DtRemoveFromSelection(DtTerrainSelection &primarySelection, const DtTerrainSelection &selectionToRemove)
DtAllTypesPolygon DtTerrainElement
The DtTerrainElement typedef is meant as an abstraction for future development.
Definition: terrainSelection.h:22
DT_DLL_gdb void DtAddToSelection(DtTerrainSelection &primarySelection, const DtTerrainSelection &selectionToAdd)
DT_DLL_gdb bool xyPointInPolygon(const DtAllTypesPolygon &polygon, const DtPoint &point)
Definition: polygon2D.h:24
The DtExtent represents an axis-aligned 3d bounding box.
Definition: extent.h:43
Definition: allTypesPolygon.h:22
#define DT_DLL_gdb
Definition: gdbDefines.h:25
DtTerrainSelection::const_iterator DtTerrainElementConstIter
Definition: terrainSelection.h:37
std::set< DtTerrainElement * > DtTerrainSelection
A DtTerrainSelection is a collection of DtTerrainElements, which have been selected, presumably by the user in order to perform an operation on them.
Definition: terrainSelection.h:35
Definition: coordSystem.h:54
DtTerrainSelection::iterator DtTerrainElementIter
Definition: terrainSelection.h:36
Definition: point.h:34

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)