VR-Forces 4.10 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
translatablePartActuatorDescriptor.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 
12 #include <readerWriter/rwReal.h>
13 #include <readerWriter/rwString.h>
14 #include <readerWriter/rwInt.h>
16 
22 {
23 public:
24 
26  {
27  RaiseLower = 0,
29  ForwardBackward
30  };
31 
33  DtTranslatablePartActuatorDescriptor(const DtString& rwName = DtString::nullString(),
34  DtReaderWriterRegistry* parentRegistry = 0);
37  DtReaderWriterRegistry* parentRegistry = 0);
43 
45  virtual DtComponentDescriptor* clone(DtReaderWriterRegistry* parentRegistry = 0) const;
47  virtual DtString type() const;
48 
51 
54  virtual double maxRange() const;
55  virtual void setMaxRange(const double& newValue);
56  virtual bool isMaxRangeSpecified() const;
58 
61  virtual double minRange() const;
62  virtual void setMinRange(const double& newValue);
63  virtual bool isMinRangeSpecified() const;
65 
68  virtual double rangeChangeRate() const;
69  virtual void setRangeChangeRate(const double& newValue);
70  virtual bool isRangeChangeRateSpecified() const;
72 
75  virtual bool startAtLowestPosition() const;
76  virtual void setStartAtLowestPosition(bool newValue);
77  virtual bool isStartAtLowestPositionSpecified() const;
79 
82  virtual TranslationDirection translationDirection() const;
83  virtual void setTranslationDirection(TranslationDirection newValue);
84  virtual bool isTranslationDirectionSpecified() const;
86 
87 protected:
110 
112 };
virtual DtComponentDescriptor * clone(DtReaderWriterRegistry *parentRegistry=0) const
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:42
Definition: readerWriterRegistry.h:39
virtual DtString type() const
Returns the type of component this descriptor describes.
Definition: translatablePartActuatorDescriptor.h:28
DtSwingingPartActuatorDescriptor is the descriptor for DtSwingingPartActuator components.
Definition: translatablePartActuatorDescriptor.h:21
DtRwReal myMaxRange
Definition: translatablePartActuatorDescriptor.h:93
Description: Readable, Writable int.
Definition: rwInt.h:25
DtRwReal myRangeChangeRate
Parameter Name: range-change-rate Parameter Description: Rate of change in the desired position Param...
Definition: translatablePartActuatorDescriptor.h:101
DtRwBoolean myStartAtLowestPosition
Parameter Name: start-at-lowest-position Parameter Description: If true, start the art part at the mi...
Definition: translatablePartActuatorDescriptor.h:105
TranslationDirection
Definition: translatablePartActuatorDescriptor.h:25
Description: Readable, Writable DtReal (double)
Definition: rwReal.h:27
static DtComponentDescriptor * creator()
Description: Readable, Writable bool.
Definition: rwBoolean.h:26
DtRwInt myTranslationDirection
Parameter Name: translation-direction Parameter Description: Indicates which direction the part can b...
Definition: translatablePartActuatorDescriptor.h:109
DtRwReal myMinRange
Parameter Name: min-range Parameter Description: Minimum value change (X, Y, Z) can take as parent po...
Definition: translatablePartActuatorDescriptor.h:97

Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)