VR-Forces 4.5 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 const makVrv::DtStateVisualizer::TypeInfo& typeInfo() const;
46 
48  static const makVrv::DtStateVisualizer::TypeInfo& theTypeInfo();
49 
50  protected:
52  virtual makVrv::DtModelAgent* createExtentModelAgent();
53 
55  virtual void createModelAgents();
56 
58  virtual void destroyModelAgents();
59 
62  virtual void setVisualizerDefinition(const makVrv::DtVisualizerDefinition& visDef);
63 
65  static const makVrv::DtVisualizerSchema& theDt2DEntityExtentSchema();
66 
67  protected:
68  makVrv::DtOverlayRectangleModelAgent* myPolygonAgent;
69 
71  bool myFill;
72  };
73 
76 
82  {
83  public:
86  makVrv::DtStateListener& listener, int modelSet);
87 
90 
92  virtual void createModelAgents();
93 
94  protected:
95  virtual bool hasPhysicalFootprint();
96  };
97 
100 }

Document ID: Generated on Thu Mar 23 18:54:12 EDT 2017 from SVN revision 174804
Copyright © 2005-2017 VT MÄK. All Rights Reserved (www.mak.com)