VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
fallingFromSkyActuatorDescriptor.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2013 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
9 #pragma once
10 
13 #include <readerWriter/rwBoolean.h>
15 
17 
19 {
20 public:
23  DtReaderWriterRegistry * parentRegistry = 0);
24 
27  DtReaderWriterRegistry * parentRegistry = 0);
28 
32 
35  virtual DtString type() const override;
36 
38  virtual DtComponentDescriptor * clone(DtReaderWriterRegistry* parentRegistry = 0) const override;
39 
40  virtual ~DtFallingFromSkyActuatorDescriptor() override;
41 
43  virtual void setDragCoefficient(double dc);
44  virtual double dragCoefficient() const;
45 
48  virtual void setCheckForSplashdown(bool);
49  virtual bool checkForSplashdown() const;
50 
51  virtual void setRandomSpin(bool b);
52  virtual bool randomSpin() const;
53 
54  virtual void setRemoveOnImpact(bool b);
55  virtual bool removeOnImpact() const;
56 
57  virtual void setRandomSpinRate(double rate);
58  virtual double randomSpinRate() const;
59 
61  static DtComponentDescriptor * creator();
62 
63 protected:
68 
73 
78 
83 
88 };
89 
90 
DtActuatorComponentDescriptor & operator=(const DtActuatorComponentDescriptor &orig)
assignment
#define DT_DLL_vrfobjparam
This file is used to determine how to build.
Definition: vrfobjparamDefines.h:28
End User Description: DtActuatorComponentDescriptor contains parameters common to all actuator compon...
Definition: actuatorComponentDescriptor.h:47
A readable, writable type whose name is the name of a component and that has a list of component name...
Definition: componentDescriptor.h:49
Definition: readerWriterRegistry.h:39
virtual DtComponentDescriptor * clone(DtReaderWriterRegistry *parentRegistry=0) const override
DtRwReal myDragCoefficient
Parameter Name: is-enabled Parameter Description: Drag coefficient for the object that is falling...
Definition: fallingFromSkyActuatorDescriptor.h:67
DtRwBoolean myRandomSpin
Parameter Name: random-spin Parameter Description: Set to true for the object to have a random spin a...
Definition: fallingFromSkyActuatorDescriptor.h:77
DtRwBoolean myRemoveOnImpact
Parameter Name: remove-on-impact Parameter Description: Whether or not to remove the object on impact...
Definition: fallingFromSkyActuatorDescriptor.h:87
virtual DtString type() const override
Returns the type of component this descriptor describes. Used to create the descriptor on read from a...
Description: Readable, Writable DtReal (double)
Definition: rwReal.h:27
Definition: fallingFromSkyActuatorDescriptor.h:18
static DtComponentDescriptor * creator()
Description: Readable, Writable bool.
Definition: rwBoolean.h:26
DtRwReal myRandomSpinRate
Parameter Name: random-spin-rate Parameter Description: The rate of the random spin in rad/sec...
Definition: fallingFromSkyActuatorDescriptor.h:82
DtRwBoolean myCheckForSplashdown
Parameter Name: check-for-splashdown Parameter Description: Whether or not we want to check for water...
Definition: fallingFromSkyActuatorDescriptor.h:72

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)