VR-Forces 4.6 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtBoxFacadeBase.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 #include <string>
15 #include <vector>
16 
17 namespace makVrv
18 {
27  {
28  public:
30  DtBoxFacadeBase(DtAgentManagerInterface&, DtSceneObjectAgent* agent,
31  DtElementID id, int modelSet);
32 
34  DtBoxFacadeBase(DtAgentManagerInterface&, int modelSet, DtElementID id, bool distribute = true);
35 
37  virtual ~DtBoxFacadeBase();
38 
39  public:
42  virtual void addPoint(int index, const DtVector&);
43 
46  virtual void setPoint(int iIndex, const DtVector&);
47 
49  virtual void removePoint(int);
50 
54  virtual void setPoints(const std::vector<DtVector>&, const DtVector& withOffset = DtVector::zero());
55  };
56 
59  {
60  public:
62  Dt3DBoxFacadeBase(DtAgentManagerInterface&, DtSceneObjectAgent* agent,
63  DtElementID id, int modelSet);
64 
66  Dt3DBoxFacadeBase(DtAgentManagerInterface&, int modelSet, DtElementID id, bool distribute = true);
67 
69  virtual ~Dt3DBoxFacadeBase();
70 
77  virtual void setUpExtent(float) = 0;
78  virtual float upExtent() const = 0;
79 
80  virtual void setDownExtent(float) = 0;
81  virtual float downExtent() const = 0;
82 
83  virtual void setLeftExtent(float) = 0;
84  virtual float leftExtent() const = 0;
85 
86  virtual void setRightExtent(float) = 0;
87  virtual float rightExtent() const = 0;
89 
91  virtual void setScribeColor(float r, float g, float b, float a) = 0;
92 
96  virtual void setScribeAllPolygons(bool) = 0;
97 
100  virtual void setScribeWidth(float width) = 0;
101  };
102 }

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)