VR-Forces 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 
66  // local clone of the system wide coordinate system.
67  // for thread safety.
68  DtCoordinateSystem* myCoordinateSystem = nullptr;
69  };
70 }
71 
std::vector< IntersectionInformation > Intersections
Definition: DtAttachableFanUpdater.h:58
Contains makVrv::DtAttachableIntervisibilityUpdater class.
bool myForceUpdate
Definition: DtAttachableFanUpdater.h:62
double myFanModeSamplingRate
Definition: DtAttachableFanUpdater.h:60
DtUniqueID DtElementID
The ElementID is a specific type of unique ID used to represent VR-Vantage uniquely defined elements...
Definition: DtUniqueID.h:23
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
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:72
An updater class used to update the line segments for intervisibility objects, e.g. range lines and intervisibility lines.
Definition: DtAttachableIntervisibilityUpdater.h:28
Contains DLL export macros.

Document ID: Generated on Wed Mar 27 22:49:11 EDT 2024 from SVN revision 264633
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)