VR-Forces 4.3.1 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DtAggregateExtentVisualizer.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 2010 MaK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 /*********************************************************************
6 ** $RCSfile: DtAggregateExtentVisualizer.h,v $ $Revision: 1.1 $ $State: Exp $
7 *********************************************************************/
11 
12 #pragma once
13 
14 #include <vrvCore/vrvCore.h>
16 #include <matrix/vlVector.h>
17 
18 namespace makVrv
19 {
20  class DtModelAgent;
21 
25  {
26  public:
29  int modelSet);
30 
32  virtual ~DtAggregateExtentVisualizer();
33 
35  virtual void setDimensions(const DtVector& dim);
36 
38  virtual void setColor(float r,float g,float b,float a);
39 
41  virtual void setShowExtents(bool);
42 
44  virtual void setShowOnlyIfSelected(bool);
45  bool showOnlyIfSelected() const
46  {
47  return myShowOnlyIfSelected;
48  }
49 
50  virtual void setVisible(bool yesNo);
51 
53  virtual void setSelected(bool);
54 
55  virtual void setLockUpdates(bool b);
56  bool updatesLocked() const;
57 
58  protected:
59  virtual void createModelAgents();
60 
61  virtual void destroyModelAgents();
62 
63  virtual void setModelDefinitionForAgents();
64 
66  virtual DtModelAgent* createExtentModelAgent() = 0;
67 
68  protected:
70  float myColor[4];
73 
75  };
76 }
77 

Document ID: Generated on Wed Jul 29 00:55:00 EDT 2015 from SVN revision 155257
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)