gwnavruntime/navmesh/navmeshelementvisualgeometrybuilder.h Source File

navmeshelementvisualgeometrybuilder.h
Go to the documentation of this file.
1 /*
2 * Copyright 2015 Autodesk, Inc. All rights reserved.
3 * Use of this software is subject to the terms of the Autodesk license agreement and any attachments or Appendices thereto provided at the time of installation or download,
4 * or which otherwise accompanies this software in either electronic or hard copy form, or which is signed by you and accepted by Autodesk.
5 */
6 
7 
8 
9 // ---------- Primary contact: JUBA - secondary contact: MAMU
10 #ifndef Navigation_NavMeshElementVisualGeometryBuilder_H
11 #define Navigation_NavMeshElementVisualGeometryBuilder_H
12 
14 
15 namespace Kaim
16 {
17 
18 class NavMeshElementBlob;
19 
20 /* This class of VisualRepresentation defines the way the data in a NavMeshElementBlob
21  should be rendered using triangles.
22  A NavCellVisualRepresentation is used to build the geometry for each NavCellBlob
23  in the NavMeshElementBlob, and the geometries of all NavCells are combined to build the geometry for the
24  NavMeshElementBlob. */
25 class NavMeshElementVisualGeometryBuilder : public IVisualGeometryBuilder
26 {
27 public:
28  NavMeshElementVisualGeometryBuilder(const NavMeshElementBlob* Blob) : m_navMeshElementBlob(Blob) {}
29 
30  virtual void DoBuild();
31 
32 public:
33  const NavMeshElementBlob* m_navMeshElementBlob;
34 };
35 
36 
37 }
38 
39 
40 #endif
41 
Definition: gamekitcrowddispersion.h:20