gwnavgeneration/navmesh/navmeshelementblobbuilder.h Source File

navmeshelementblobbuilder.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 
12 
13 namespace Kaim
14 {
15 
16 class GeneratorSystem;
17 class DynamicNavCell;
18 class GeneratorGuidCompound;
19 class NavCellBlob;
20 
21 
22 class NavMeshElementBlobBuilder : public BaseBlobBuilder<NavMeshElementBlob>
23 {
24 public:
25  NavMeshElementBlobBuilder(
26  GeneratorSystem* sys, const GeneratorGuidCompound* guidCompound, const KyArray< Ptr<BlobHandler<NavCellBlob> > >* navCellHandlers,
27  NavMeshElementBlob::NavMeshFlags flags = NavMeshElementBlob::NAVMESH_NO_FLAG);
28 
29 private:
30  virtual void DoBuild();
31  void ComputeAndSetCellBox();
32 private:
33  GeneratorSystem* m_sys;
34  const GeneratorGuidCompound* m_guidCompound;
35  const KyArray< Ptr<BlobHandler<NavCellBlob> > >* m_navCellHandlers;
36  NavMeshElementBlob::NavMeshFlags m_navmeshFlags;
37 };
38 
39 }
40 
The Autodesk Navigation namespace.
Definition: gamekitcrowddispersion.cpp:17