VR-Forces 4.3.1 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
2DEntityExtentVisualizer.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 2014 MaK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 
9 
10 #pragma once
11 
12 #include <vrfGuiCore/vrfGuiCore.h>
15 
16 namespace makVrv
17 {
18  class DtOverlayRectangleModelAgent;
19 }
20 
21 namespace makVrf
22 {
28  {
29  public:
32  makVrv::DtStateListener& listener, int modelSet);
33 
35  virtual ~Dt2DEntityExtentVisualizer();
36 
39  virtual void setDimensions(const DtVector& dim);
40 
42  virtual void setColor(float r,float g,float b,float a);
43 
45  virtual void setLockUpdates(bool b);
46 
48  virtual const makVrv::DtStateVisualizer::TypeInfo& typeInfo() const;
49 
51  static const makVrv::DtStateVisualizer::TypeInfo& theTypeInfo();
52 
53  protected:
55  virtual makVrv::DtModelAgent* createExtentModelAgent();
56 
58  virtual void createModelAgents();
59 
61  virtual void destroyModelAgents();
62 
65  virtual void setVisualizerDefinition(const makVrv::DtVisualizerDefinition& visDef);
66 
68  static const makVrv::DtVisualizerSchema& theDt2DEntityExtentSchema();
69 
70  protected:
71  makVrv::DtOverlayRectangleModelAgent* myPolygonAgent;
72 
74  bool myFill;
75  };
76 
79 
85  {
86  public:
89  makVrv::DtStateListener& listener, int modelSet);
90 
93 
95  virtual void createModelAgents();
96 
97  protected:
98  virtual bool hasPhysicalFootprint();
99  };
100 
103 }

Document ID: Generated on Wed Jul 29 00:55:00 EDT 2015 from SVN revision 155257
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)