VR-Forces 4.3.1 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator 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>
13 #include <vrvOsg/DtAttribute.h>
15 #include <vrvCore/DtWidget.h>
16 
17 namespace makVrv
18 {
19 
20  class DtDe;
21  class DtQuad;
22  class DtLineSegment;
23 
27  {
28  public:
29 
32 
34  virtual ~DtBaseOutlineAttribute();
35 
37  virtual void setOffset( double x, double y );
38 
41  virtual void setPosition( float x, float y, float z, float w );
42 
44  virtual void getMinSize( double& xOut, double& yOut );
45 
47  virtual void setSize( double x, double y );
48 
50  virtual void setColor( float r, float g, float b, float a );
51 
53  virtual void setLineWidth( float width );
54 
56  virtual void setShadowText( bool enabled );
57 
59  virtual void setVisible( bool visible );
60 
62  virtual bool visible() const;
63 
66  virtual void setOverlay( unsigned int overlayId );
67 
70  virtual void setGroup( unsigned int group );
71 
72  protected:
73 
75  virtual void updateOutline();
76 
77  protected:
78 
79  DtLineSegment* myOutline[4];
81 
82  float myX;
83  float myY;
84  float myZ;
85  float myW;
86 
87  double myOffsetX;
88  double myOffsetY;
89 
90  double mySizeX;
91  double mySizeY;
92 
93  float myLineWidth;
94 
95  float myR;
96  float myG;
97  float myB;
98  float myA;
99 
100  bool myVisible;
101 
102  unsigned int myOverlay;
103  unsigned int myOverlayGroup;
104 
105  };
106 
107 }

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)