VR-Forces 4.6 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtValueBarAttribute.h
Go to the documentation of this file.
1 /*****************************************************************************
2  * Copyright (c) 2012 MAK Technologies, Inc.
3  * All rights reserved.
4  *****************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <vrvOsg/vrvOsg.h>
13 #include <vrvOsg/DtAttribute.h>
16 #include <vrvCore/DtWidget.h>
17 
18 namespace makVrv
19 {
20 
21  class DtDe;
22 
26  {
27  public:
28 
31 
33  virtual ~DtValueBarAttribute();
34 
36  virtual void setOffset( double x, double y );
37 
40  virtual void setPosition( float x, float y, float z, float w );
41 
43  virtual void getMinSize( double& xOut, double& yOut );
44 
46  virtual void setSize( double x, double y );
47 
49  virtual void setValue( float val );
50 
52  virtual void setColor( float r, float g, float b, float a );
53 
55  virtual void setShadowText( bool enabled );
56 
58  virtual void setVisible( bool visible );
59 
61  virtual bool visible() const;
62 
65  virtual void setOverlay( unsigned int overlayId );
66 
69  virtual void setGroup( unsigned int group );
70 
71  protected:
72 
75 
77 
78  double mySizeX;
79  double mySizeY;
80 
81  double myValue;
82 
83  };
84 
85 }

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)