VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
vrfAttributeGroupWidget.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2018 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
6 #pragma once
7 
12 
13 namespace makVrf
14 {
16  {
17  public:
20 
22  virtual ~DtVrfAttributeGroupWidget();
23 
25  virtual void setImageValue(int index, const std::string&);
26 
28  virtual void setBarValue(int index, float);
29 
31  virtual void setBarSize(int index, double xSize, double ySize);
32 
34  virtual void setBarColor(int index, float r, float g, float b, float a);
35 
37  virtual void setImageScale(int index, float scale);
38  };
39 
41  {
42  public:
44  virtual ~DtVrfValueBarAttribute();
45 
47  virtual void getMinSize( double& xOut, double& yOut );
48 
50  virtual void setSize( double x, double y );
51  };
52 
54  {
55  public:
57  virtual ~DtVrfImageAttribute();
58 
60  virtual void setSize( double x, double y );
61  virtual void setImageFilePath( const std::string& imageFilePath );
62  virtual void getMinSize( double& xOut, double& yOut );
63  virtual void setVisible(bool);
64 
66  virtual void scaleImage(double);
67 
68  protected:
69  virtual void updateImageBox();
70 
71  protected:
72  double myScale;
73  };
74 }
The attribute layout tells DtAttributes where to draw.
Definition: DtValueBarAttribute.h:37
Contains the DtOsgAttributeGroupWidget class declaration.
Definition: vrfAttributeGroupWidget.h:40
#define DT_DLL_VRFGUICORE
Contains DLL export macros.
Definition: vrfGuiCore.h:25
Definition: vrfAttributeGroupWidget.h:53
The attribute layout tells DtAttributes where to draw.
Definition: DtImageAttribute.h:39
double myScale
Definition: vrfAttributeGroupWidget.h:72
unsigned long long DtUniqueID
Definition: DtUniqueID.h:19
Definition: vrfAttributeGroupWidget.h:15
Contains the DtImageAttribute class declaration.
The osg implementation of an attribute group.
Definition: DtOsgAttributeGroupWidget.h:24
The DtDe is the core component of any VR-Vantage application. It owns a DtRenderer, DtDeCommunicator, as well as a DtDisplay and other things.
Definition: DtDe.h:72
Contains the DtValueBarAttribute class declaration.

Document ID: Generated on Tue Sep 24 19:28:17 EDT 2024 from SVN revision 269799
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)