VR-Forces 4.10 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 }
Declares the DtBaseOutlineAttribute class declaration.
#define DT_DLL_VRVOSG
Definition: vrvOsg.h:23
The attribute layout tells DtAttributes where to draw.
Definition: DtValueBarAttribute.h:25
double mySizeX
Definition: DtValueBarAttribute.h:78
The attribute layout tells DtAttributes where to draw.
Definition: DtBaseOutlineAttribute.h:25
The attribute layout tells DtAttributes where to draw.
Definition: DtAttribute.h:21
Attribute that generates a colored quad.
Definition: DtBaseQuadAttribute.h:25
Contains makVrv::DtWidget class.
DtDe & myDe
Definition: DtValueBarAttribute.h:76
Declares the DtBaseQuadAttribute class declaration.
DtBaseQuadAttribute myQuadAttribute
Definition: DtValueBarAttribute.h:73
DtBaseOutlineAttribute myOutlineAttribute
Definition: DtValueBarAttribute.h:74
Contains DLL export macros.
double mySizeY
Definition: DtValueBarAttribute.h:79
The DtDe is the core component of any VR-Vantage application.
Definition: DtDe.h:69
Contains the DtAttribute class declaration.
double myValue
Definition: DtValueBarAttribute.h:81

Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)