VR-Forces Development_Version Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Dt3DAreaStateVisualizer.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 2012 MaK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 
9 
10 #pragma once
11 
12 #include <vrvCore/vrvCore.h>
15 #include <vrvCore/DtPolygonModelAgent.hpp>
17 #include <matrix/vlVector.h>
18 
19 namespace makVrv
20 {
25  {
26  public:
29  int modelSet);
30 
32  virtual ~Dt3DAreaStateVisualizer();
33 
35  virtual void setVertices(const std::vector<DtVector>& vertices);
36 
38  virtual void setColor(float r,float g,float b,float a);
39 
41  virtual void setFlashing(bool flashing);
42 
44  virtual void setTexturePath(const std::string& path);
45 
47  virtual void setNumberOfTextureTiles(int num);
48 
50  virtual const DtStateVisualizer::TypeInfo& typeInfo() const;
51 
53  static const DtStateVisualizer::TypeInfo& theTypeInfo();
54 
55  protected:
58  virtual void setVisible(bool yesNo);
59 
61  virtual void createModelAgents();
62 
69  virtual void destroyModelAgents();
70 
72  virtual void setModelDefinitionForAgents();
73 
74  protected:
75  DtPolygonModelAgent* myPolygonModelAgent;
77  };
78 
83 }

Document ID: Generated on Tue Mar 8 22:13:38 EST 2016 from SVN revision 162938
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)