VR-Forces 4.1.1 Class Documentation
Dt2DEntityExtentVisualizer.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 2012 MaK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 /*********************************************************************
6 ** $RCSfile: Dt2DEntityExtentVisualizer.h,v $ $Revision: 1.1 $ $State: Exp $
7 *********************************************************************/
11 
12 #pragma once
13 
14 #include <vrfGuiCore/vrfGuiCore.h>
16 
17 namespace makVrv
18 {
19  class DtOverlayRectangleModelAgent;
20 }
21 
22 namespace makVrf
23 {
29  {
30  public:
33  makVrv::DtStateListener& listener, int modelSet);
34 
36  virtual ~Dt2DEntityExtentVisualizer();
37 
40  virtual void setDimensions(const DtVector& dim);
41 
43  virtual void setColor(float r,float g,float b,float a);
44 
46  virtual void setLockUpdates(bool b);
47 
49  virtual const makVrv::DtStateVisualizer::TypeInfo& typeInfo() const;
50 
52  static const makVrv::DtStateVisualizer::TypeInfo& theTypeInfo();
53 
54  protected:
56  virtual makVrv::DtModelAgent* createExtentModelAgent();
57 
59  virtual void createModelAgents();
60 
62  virtual void destroyModelAgents();
63 
66  virtual void setVisualizerDefinition(const makVrv::DtVisualizerDefinition& visDef);
67 
69  static const makVrv::DtVisualizerSchema& theDt2DEntityExtentSchema();
70 
71  protected:
72  makVrv::DtOverlayRectangleModelAgent* myPolygonAgent;
73 
75  bool myFill;
76  };
77 
80 }

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)