VR-Forces Development_Version Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
shapeBasedTerrainPreloadController.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 
14 
17 
18 #include "features/featureSet.h"
19 #include "features/areaFeature.h"
20 
22 
27 {
28 
29 private:
30 
39 
40 public:
41 
45  DtVrfObject* owner,
46  DtSimManager* simManager,
47  DtComponentDescriptor* desc = 0,
48  DtReaderWriterRegistry* parentRegistry = 0);
49 
52 
53  virtual bool init();
54 
55  virtual void preFirstTickInit();
56 
59  virtual const char* type() const;
60 
63  virtual void calculateTerrainPreLoad(DtVrfObjectTerrainPreloadArgs& args);
64 
66  virtual void geometryChanged();
67 
68  static DtSimComponent * creator(const DtString& name,
69  DtVrfObject* owner,
70  DtSimManager* simManager,
71  DtComponentDescriptor* desc = 0,
72  DtReaderWriterRegistry* parentRegistry = 0);
73 
74 protected:
77  static void calculateTerrainPreLoadCallback(
78  DtVrfObjectTerrainPreloadArgs& args, void* usr);
79 
82  static void geometryChangedCallback(DtVrfObject* obj, void* user);
83 
85 
86  boost::scoped_ptr<MAKVRinTerra::DtFeatureSet> myLoadedFeatures;
87  boost::scoped_ptr<MAKVRinTerra::DtAreaFeatureSet> myLOSFeatures;
88 };

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)