VR-Forces Development_Version Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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 
16 {
17 public:
20  DtSinkToDepthActuator(const DtString& name,
21  DtVrfObject* owner,
22  DtSimManager* simManager,
23  DtComponentDescriptor* desc = 0,
24  DtReaderWriterRegistry* parentRegistry = 0);
25 
26 
30  virtual ~DtSinkToDepthActuator();
31 
34  virtual const char* type() const;
35 
39  static DtSimComponent * creator(const DtString& name,
40  DtVrfObject* owner,
41  DtSimManager* simManager,
42  DtComponentDescriptor* desc = 0,
43  DtReaderWriterRegistry* parentRegistry = 0);
44 
45 
46 protected:
49  virtual bool isFallingApplicable();
50 
52  virtual double calculateDrag() const;
53 
56  virtual DtVector calculateDragForces(const DtVector& oldLocalPosition, const DtVector& oldLocalVelocity);
57 
59  virtual void getWindSpeedAndDirection(double& windSpeed, double& direction) const;
60 
61  virtual void fallFromSky();
62 
64  virtual double calculateAcceleration(double curSpeed) const;
65 
66 protected:
67 
70 
73 
75  const DtSinkToDepthActuator & operator=(const
76  DtSinkToDepthActuator & orig);
77 
78 protected:
81 };
82 

Document ID: Generated on Tue Mar 8 22:13:38 EST 2016 from SVN revision 162938
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)