VR-Forces Development_Version Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
movementBasedTerrainPreloadController.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2010 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
10 
11 #pragma once
12 
16 
17 #include "features/featureSet.h"
18 #include "features/areaFeature.h"
19 
21 
28 {
29 
30 private:
31 
40 
41 public:
42 
46  DtVrfObject* owner,
47  DtSimManager* simManager,
48  DtComponentDescriptor* desc = 0,
49  DtReaderWriterRegistry* parentRegistry = 0);
50 
53 
54  virtual bool init();
55 
58  virtual const char* type() const;
59 
62  static void calculateTerrainPreLoadCallback(
63  DtVrfObjectTerrainPreloadArgs& args, void* usr);
64 
67  virtual void calculateTerrainPreLoad(DtVrfObjectTerrainPreloadArgs& args);
68 
69  static DtSimComponent * creator(const DtString& name,
70  DtVrfObject* owner,
71  DtSimManager* simManager,
72  DtComponentDescriptor* desc = 0,
73  DtReaderWriterRegistry* parentRegistry = 0);
74 
75 protected:
77 
79  std::auto_ptr<MAKVRinTerra::DtAreaFeatureSet> myLOSFeatures;
80 
82  double myLastSpeed;
84 };

Document ID: Generated on Mon Jul 4 01:00:18 EDT 2016 from SVN revision 166489
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)