VR-Forces 4.1.1 Class Documentation
DtEnvironmentalPointKinStateVisualizer.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2012 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
11 
12 #pragma once
13 
15 #include <vrvCore/DtSceneObject.h>
16 #include <matrix/vlVector.h>
18 
19 namespace makVrv
20 {
21  class DtModelAgent;
22  class DtGroundClampingUpdaterAgent;
23 
29  {
30  public:
31 
34  DtStateListener& listener, int modelSet);
35 
38 
40  virtual void setOriginAndOffset(const DtVector& origin,
41  const DtVector& offset);
42 
45  const DtVector& offset() const;
46 
48  const DtVector& origin() const;
49 
51  virtual void setVisualizerDefinition(const DtVisualizerDefinition& visDef);
52 
55  virtual DtTaitBryan level();
56 
57  DtEnvironmentalStateListener& environmentalStateListener()
58  {
59  return *myEnvironmentalListener;
60  }
61 
62  DtGroundClampingUpdaterAgent* updaterAgent()
63  {
64  return myUpdater;
65  }
66 
68  virtual const DtStateVisualizer::TypeInfo& typeInfo() const;
69 
71  static const DtStateVisualizer::TypeInfo& theTypeInfo();
72 
73  protected:
74 
75  virtual void createModelAgents();
76  virtual void destroyModelAgents();
77  virtual void setModelDefinitionForAgents();
78 
79  virtual void resetSpatial();
80  virtual void initializeObjectAgent();
81 
82  protected:
83  DtModelAgent* myModelAgent;
84  DtGroundClampingUpdaterAgent* myUpdater;
88 
89  // Same as myListener, but casted for convenience
91  };
92 
97 }

Document ID: Generated on Mon Apr 8 19:24:01 EDT 2013 from SVN revision 125877
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)