VR-Forces 4.6 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtAggregateExtentVisualizer.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 2015 MaK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 
9 
10 #pragma once
11 
12 #include <vrvCore/vrvCore.h>
14 #include <matrix/vlVector.h>
15 
16 namespace makVrv
17 {
18  class DtModelAgent;
19 
23  {
24  public:
27  int modelSet);
28 
30  virtual ~DtAggregateExtentVisualizer();
31 
33  virtual void setDimensions(const DtVector& dim);
34 
36  virtual void setColor(float r,float g,float b,float a);
37 
39  virtual void setShowExtents(bool);
40 
42  virtual void setShowOnlyIfSelected(bool);
43  bool showOnlyIfSelected() const
44  {
45  return myShowOnlyIfSelected;
46  }
47 
48  virtual void setVisible(bool yesNo);
49 
51  virtual void setSelected(bool);
52 
53  protected:
54  virtual void createModelAgents();
55 
56  virtual void destroyModelAgents();
57 
58  virtual void setModelDefinitionForAgents();
59 
61  virtual DtModelAgent* createExtentModelAgent() = 0;
62 
63  protected:
65  float myColor[4];
68  };
69 }
70 

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)