VR-Forces 4.5 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator 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 
54  protected:
56  virtual makVrv::DtModelAgent* createExtentModelAgent();
57 
59  virtual void createModelAgents();
60 
62  virtual void destroyModelAgents();
63 
65  virtual void setVisualizerDefinition(const makVrv::DtVisualizerDefinition& visDef);
66 
67  protected:
68  makVrv::DtAttachableCuboidModelAgent* myCuboidAgent;
69  makVrv::DtScribeBoxModelAgent* myScribeBox;
70  double myScribeWidth;
74  };
75 
78 
84  {
85  public:
88  makVrv::DtStateListener& listener, int modelSet);
89 
92 
94  virtual void createModelAgents();
95 
96  protected:
97  virtual bool hasPhysicalFootprint();
98  };
99 
102 }

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)