VR-Forces 5.0.2 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtPolygonModel.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2015 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 
11 #pragma once
12 
13 #include <vrvCore/DtModel.h>
14 
15 
16 namespace makVrv
17 {
21  {
22  public:
25 
27  virtual ~DtPolygonModel();
28 
30  virtual void addPoint(const DtVector& point,int index) = 0;
31 
33  virtual void setPickable(bool enabled) = 0;
34 
36  virtual void removePoint(int index) = 0;
37 
39  virtual int pointCount() const = 0;
40 
42  virtual DtVector point(int) const = 0;
43 
47  virtual void setPoint(int index, const DtVector&) = 0;
48 
50  virtual void setOrigin(const DtVector&) = 0;
51 
53  virtual void setStipplePattern(unsigned int stipplePattern) = 0;
54 
56  virtual void setWidth(float width) = 0;
57 
59  virtual void setTexturePath(const std::string& texturePath) = 0;
60 
62  virtual void setNumTextureTiles(double numTiles) = 0;
63 
65  virtual void setColor(float r,float g,float b,float a) = 0;
66 
70  virtual void setUseDynamicOrigin(bool) = 0;
71 
73  virtual void setFill(bool);
74 
76  virtual const std::vector<DtVector>& points() const = 0;
77  };
78 }
Distributed model for drawing polygons with attached vertices.
Definition: DtPolygonModel.h:20
#define DT_DLL_VRVCORE
Definition: vrvCore.h:20
Contains makVrv::DtModel class.
A model which owns a single model instance. A DtModel is a managing container for a single DtModelIns...
Definition: DtModel.h:55
The DtDe is the core component of any VR-Vantage application. It owns a DtRenderer, DtDeCommunicator, as well as a DtDisplay and other things.
Definition: DtDe.h:70

Document ID: Generated on Sun Dec 4 20:22:03 EST 2022 from SVN revision 249613
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)