VR-Forces 4.6.1 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtBaseOutlineAttribute.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>
14 #include <vrvCore/DtWidget.h>
15 
16 namespace makVrv
17 {
18 
19  class DtDe;
20  class DtQuad;
21  class DtLineSegment;
22 
26  {
27  public:
28 
31 
33  virtual ~DtBaseOutlineAttribute();
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 setColor( float r, float g, float b, float a );
50 
52  virtual void setLineWidth( float width );
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 
74  virtual void updateOutline();
75 
76  protected:
77 
78  DtLineSegment* myOutline[4];
80 
81  float myX;
82  float myY;
83  float myZ;
84  float myW;
85 
86  double myOffsetX;
87  double myOffsetY;
88 
89  double mySizeX;
90  double mySizeY;
91 
92  float myLineWidth;
93 
94  float myR;
95  float myG;
96  float myB;
97  float myA;
98 
99  bool myVisible;
100 
101  unsigned int myOverlay;
102  unsigned int myOverlayGroup;
103 
104  };
105 
106 }

Document ID: Generated on Wed Jul 25 16:57:45 EDT 2018 from SVN revision 190790
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)