VR-Forces 4.6 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
3DEntityExtentVisualizer.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 DtAttachableCuboidModelAgent;
19  class DtScribeBoxModelAgent;
20 }
21 
22 namespace makVrf
23 {
29  {
30  public:
33  makVrv::DtStateListener& listener, int modelSet);
34 
36  virtual ~Dt3DEntityExtentVisualizer();
37 
40  virtual void setDimensions(const DtVector& dim);
41 
43  virtual void setColor(float r,float g,float b,float a);
44 
46  virtual const makVrv::DtStateVisualizer::TypeInfo& typeInfo() const;
47 
49  static const makVrv::DtStateVisualizer::TypeInfo& theTypeInfo();
50 
52  static const makVrv::DtVisualizerSchema& theDt3DEntityExtentSchema();
53 
55  virtual void setVisible(bool);
56 
57  protected:
59  virtual makVrv::DtModelAgent* createExtentModelAgent();
60 
62  virtual void createModelAgents();
63 
65  virtual void destroyModelAgents();
66 
68  virtual void setVisualizerDefinition(const makVrv::DtVisualizerDefinition& visDef);
69 
70  protected:
71  makVrv::DtAttachableCuboidModelAgent* myCuboidAgent;
72  makVrv::DtScribeBoxModelAgent* myScribeBox;
73  double myScribeWidth;
77  };
78 
81 
87  {
88  public:
91  makVrv::DtStateListener& listener, int modelSet);
92 
95 
97  virtual void createModelAgents();
98 
99  protected:
100  virtual bool hasPhysicalFootprint();
101  };
102 
105 }

Document ID: Generated on Thu Apr 12 03:15:37 EDT 2018 from SVN revision 187986
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)