VR-Forces 4.2 Class Documentation
sinkToDepthActuator.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2013 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
6 #pragma once
7 
8 #include <vlpi/disEnums.h>
10 
11 
17 {
18 public:
21  DtSinkToDepthActuator(const DtString& name,
22  DtVrfObject* owner,
23  DtSimManager* simManager,
24  DtComponentDescriptor* desc = 0,
25  DtReaderWriterRegistry* parentRegistry = 0);
26 
27 
31  virtual ~DtSinkToDepthActuator();
32 
35  virtual DtString type() const;
36 
40  static DtSimComponent * creator(const DtString& name,
41  DtVrfObject* owner,
42  DtSimManager* simManager,
43  DtComponentDescriptor* desc = 0,
44  DtReaderWriterRegistry* parentRegistry = 0);
45 
46 
47 protected:
50  virtual bool isFallingApplicable();
51 
53  virtual double calculateDrag() const;
54 
56  virtual void getWindSpeedAndDirection(double& windSpeed, double& direction) const;
57 
58  virtual void fallFromSky();
59 
61  virtual double calculateAcceleration(double curSpeed) const;
62 
63 protected:
64 
67 
70 
72  const DtSinkToDepthActuator & operator=(const
73  DtSinkToDepthActuator & orig);
74 
75 protected:
78 };
79 

Document ID: Generated on Sun Nov 24 19:49:21 EST 2013 from SVN revision 133924
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)