VR-Forces 5.0.2 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtAttachableFanUpdater.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2022 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <vrvCore/vrvCore.h>
14 
16 
17 #include <matrix/vlVector.h>
18 
19 namespace makVrv
20 {
21  class DtCachedIntersectorsContainer;
22  class DtCoordinateSystem;
23 
30  {
31  public:
34 
36  virtual ~DtAttachableFanUpdater();
37 
39  virtual void setFanModeSamplingRate(double);
40 
43  virtual void setStartPointOffsetFromCenter(const DtVector&);
44  const DtVector& startPointOffsetFromCenter() const;
45 
46  protected:
47 
48  virtual void updateSceneObject(DtTime tNow);
49  virtual bool doIntersection(const DtTime tNow);
50 
52  virtual DtVector calculateEndPointFromRadian(const DtVector& start, double endZ, double radius, double degree) const;
53 
55  virtual void slot_coordinateSystemChanged();
56 
57  protected:
58  typedef std::vector<IntersectionInformation> Intersections;
63 
64  DtCachedIntersectorsContainer* myCachedIntersectorsContainer = nullptr;
65 
67 
68  // local clone of the system wide coordinate system.
69  // for thread safety.
70  DtCoordinateSystem* myCoordinateSystem = nullptr;
71  };
72 }
73 
std::vector< IntersectionInformation > Intersections
Definition: DtAttachableFanUpdater.h:58
Contains makVrv::DtAttachableIntervisibilityUpdater class.
bool myForceUpdate
Definition: DtAttachableFanUpdater.h:62
double myFanModeSamplingRate
Definition: DtAttachableFanUpdater.h:60
DtSignalConnectionManager myConnections
Definition: DtAttachableFanUpdater.h:66
Intersections myIntersections
Definition: DtAttachableFanUpdater.h:59
DtVector myStartPointOffsetFromCenter
Definition: DtAttachableFanUpdater.h:61
#define DT_DLL_VRVCORE
Definition: vrvCore.h:20
Class which will keep track of fan los object (spokes between an origin and the outer rim of the circ...
Definition: DtAttachableFanUpdater.h:29
Class to manage disconnection of boost connections on deletion.
Definition: DtSignalConnectionManager.h:20
The DtCoordinateSystem is used to manage the current coordinate system of the scene.
Definition: DtCoordinateSystem.h:40
The DtCachedIntersectorsContainer class contains instances of cached intersectors of different model ...
Definition: DtCachedIntersectorsContainer.h:43
Base class to provide boost signal/slot management.
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
Class which will keep track of Intervisibility between an origin and an end point. Will update all scene objects attached to it with the Intervisibility information.
Definition: DtAttachableIntervisibilityUpdater.h:29
Contains DLL export macros.

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)