VR-Forces 4.7 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Dt2DBoxFacade.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 DtOverlayPolygonModelAgent;
17  class DtBoxUpdaterAgent;
18 
25  {
26  public:
28  Dt2DBoxFacade(DtAgentManagerInterface&, DtSceneObjectAgent* agent,
29  DtElementID id, int modelSet);
30 
32  Dt2DBoxFacade(DtAgentManagerInterface&, int modelSet, DtElementID id, bool distribute = true);
33 
35  virtual ~Dt2DBoxFacade();
36 
38  virtual void setOutsideColor(float r, float g, float b, float a);
39 
41  virtual void setInsideColor(float r, float g, float b, float a);
42 
47  virtual void setFillPattern(const std::vector<unsigned int>&);
48 
50  virtual void setSolid(bool);
51 
53  virtual void startClamping();
54  virtual void stopClamping();
55 
56  protected:
58  void createBoxAgent();
59 
60  protected:
61  DtOverlayPolygonModelAgent* myPolygonAgent;
62  DtBoxUpdaterAgent* myUpdater;
63  };
64 }

Document ID: Generated on Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (www.mak.com)