gwnavgeneration/navmesh/navmeshelementblobbuilder.h Source File

navmeshelementblobbuilder.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: LASI - secondary contact: GUAL
10 #ifndef GwNavGen_NavMeshElementBlobBuilder_H
11 #define GwNavGen_NavMeshElementBlobBuilder_H
12 
13 
17 
18 
19 namespace Kaim
20 {
21 
22 class GeneratorSystem;
23 class DynamicNavCell;
24 class GeneratorGuidCompound;
25 class NavCellBlob;
26 
27 
28 class NavMeshElementBlobBuilder : public BaseBlobBuilder<NavMeshElementBlob>
29 {
30 public:
31  NavMeshElementBlobBuilder(
32  GeneratorSystem* sys, const GeneratorGuidCompound* guidCompound, const KyArray< Ptr<BlobHandler<NavCellBlob> > >* navCellHandlers,
33  NavMeshElementBlob::NavMeshFlags flags = NavMeshElementBlob::NAVMESH_NO_FLAG);
34 
35 private:
36  virtual void DoBuild();
37  void ComputeAndSetCellBox();
38 private:
39  GeneratorSystem* m_sys;
40  const GeneratorGuidCompound* m_guidCompound;
41  const KyArray< Ptr<BlobHandler<NavCellBlob> > >* m_navCellHandlers;
42  NavMeshElementBlob::NavMeshFlags m_navmeshFlags;
43 };
44 
45 }
46 
47 
48 #endif
Definition: gamekitcrowddispersion.h:20