VR-Forces 4.6 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Dt3DBoxFacade.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2015 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
9 #pragma once
10 
11 #include <vrvCore/vrvCore.h>
13 
14 namespace makVrv
15 {
16  class DtExtrudedPolygonModelAgent;
17 
24  {
25  public:
27  Dt3DBoxFacade(DtAgentManagerInterface&, DtSceneObjectAgent* agent,
28  DtElementID id, int modelSet);
29 
31  Dt3DBoxFacade(DtAgentManagerInterface&, int modelSet, DtElementID id, bool distribute = true);
32 
34  virtual ~Dt3DBoxFacade();
35 
37  virtual void setOutsideColor(float r, float g, float b, float a);
38 
40  virtual void setInsideColor(float r, float g, float b, float a);
41 
44  virtual void setScribeWidth(float width);
45 
47  int scribeWidth() const;
48 
50  virtual void setScribed(bool);
51 
53  virtual void setSolid(bool b);
54 
56  virtual void setScribeColor(float r, float g, float b, float a);
57 
61  virtual void setScribeAllPolygons(bool);
62 
64  virtual void setLineHeight(float);
65 
72  virtual void setUpExtent(float);
73  virtual float upExtent() const;
74 
75  virtual void setDownExtent(float);
76  virtual float downExtent() const;
77 
78  virtual void setLeftExtent(float);
79  virtual float leftExtent() const;
80 
81  virtual void setRightExtent(float);
82  virtual float rightExtent() const;
84 
85  protected:
87  void createBoxAgent();
88 
89  protected:
90  DtExtrudedPolygonModelAgent* myPolygonAgent;
91  float myLineHeight;
92  float myUpExtent;
93  float myDownExtent;
95  float myLeftExtent;
98  };
99 }

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)