VR-Forces 4.1 Class Documentation
DtEntityDIGuyStateVisualizer.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
15 #include <vrvUtil/signalslib.h>
16 
17 namespace makVrv
18 {
19  class DtCharacterModelAgent;
20 
25  {
26  public:
29  DtStateListener& listener, int modelSet);
30 
33 
34  virtual void setCharacterPosture(DtCharacterModel::Posture);
35  virtual void setCharacterAlive(bool);
36  virtual void setCharacterAppearance( const std::string& appearance );
37  virtual void setCharacterModel( const std::string& m );
38  virtual void setCharacterAction( const std::string& action, bool paused );
39  virtual void setCharacterWeaponAiming( bool aiming);
40  virtual void setCharacterPaused(bool paused);
41 
43  virtual void setVisualizerDefinition(const DtVisualizerDefinition& visDef);
44 
45  virtual void setColorizedColor( float r, float g, float b, float alpha );
46 
48  virtual void setDisableModelScaling( bool b );
49 
51  virtual const DtStateVisualizer::TypeInfo& typeInfo() const;
52 
54  static const DtStateVisualizer::TypeInfo& theTypeInfo();
55 
56  protected:
57  virtual void createModelAgents();
58  virtual void destroyModelAgents();
59  virtual void setModelDefinitionForAgents();
60  virtual void resetSpatial();
61  virtual void updateColorBlending();
62 
63  protected:
64 
65  DtCharacterModelAgent* myCharacterModelAgent;
67  bool myAlive;
68  bool myDeployed;
75 
76  std::string myLastAction;
79  };
80 
81 
86 }
87 

Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (www.mak.com)