VR-Forces 4.5 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DtVrlink3DEnvironmentalVolumetricLineVisualizer.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2015 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
11 
13 
14 namespace makVrv
15 {
16  namespace DT_PROTOCOL_NAMESPACE
17  {
18  class DtVrlinkEnvironmentalStateListenerInterface;
19 
23  {
24  public:
27  DtBaseConnection& simulation, DtStateListener& listener, int modelSet);
28 
31 
33  virtual void addPoint(int index, const DtVector&);
34 
36  virtual void modifyPoint(int index, const DtVector&);
37 
38  virtual void setPoints(const DtEnvironmentalStateListener::ControlPointsList& v);
39 
41  virtual void setOrigin(const DtVector&);
42 
44  virtual void setColor(float r, float g, float b, float a);
45 
46  virtual void setHostGlobalId(const std::string&);
47 
48  protected:
49 
52  virtual DtVector offsetAtPosition(const DtVector& origin) const;
53 
54  virtual void slot_entityCreated(makVrv::DT_PROTOCOL_NAMESPACE::DtVrlinkEntityStateListener& esl);
55 
56  virtual void startAttached();
57 
58  virtual void setupLine();
59 
60  protected:
61  std::vector<DtVector> myOffsetPoints;
66  };
67 
70  }
71 }

Document ID: Generated on Thu Mar 23 18:54:12 EDT 2017 from SVN revision 174804
Copyright © 2005-2017 VT MÄK. All Rights Reserved (www.mak.com)