gwnavruntime/navmesh/navmeshelementvisualgeometrybuilder.h Source File

navmeshelementvisualgeometrybuilder.h
Go to the documentation of this file.
1 /*
2 * Copyright 2016 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 #pragma once
8 
10 
11 namespace Kaim
12 {
13 
14 class NavMeshElementBlob;
15 
16 // This class of VisualRepresentation defines the way the data in a NavMeshElementBlob
17 // should be rendered using triangles.
18 // A NavCellVisualRepresentation is used to build the geometry for each NavCellBlob
19 // in the NavMeshElementBlob, and the geometries of all NavCells are combined to build the geometry for the
20 // NavMeshElementBlob.
21 class NavMeshElementVisualGeometryBuilder : public IVisualGeometryBuilder
22 {
23 public:
24  NavMeshElementVisualGeometryBuilder(const NavMeshElementBlob* Blob) : m_navMeshElementBlob(Blob) {}
25 
26  virtual void DoBuild();
27 
28 public:
29  const NavMeshElementBlob* m_navMeshElementBlob;
30 };
31 
32 
33 }
34 
35 
36 
The Autodesk Navigation namespace.
Definition: gamekitcrowddispersion.cpp:17