VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
aggregatedSubsurfaceMovementActuator.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2008 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
9 #pragma once
10 
12 
18 {
19 public:
20 
23  DtSimManager* simManager, DtComponentDescriptor* compDescriptor,
24  DtReaderWriterRegistry* parentRegistry = 0);
25 
28 
30  virtual const char* type() const;
31 
38  virtual void setOrderedAltitude(double altitude, bool isAboveGroundLevel = false);
39 
40 public:
41 
44  static DtSimComponent* creator(const DtString& name, DtVrfObject* object,
45  DtSimManager* simManager, DtComponentDescriptor* compDescriptor,
46  DtReaderWriterRegistry* parentRegistry);
47 
48 protected:
49 
51  virtual std::string calculateOrientationAndPosition(
52  const DtVector& newLocalProjectedLocation, double newHeading,
53  DtDcm& newLocalOrientation, DtVector& newLocalPosition);
54 
57 
60 
61 protected:
63  virtual void setAircraftAirborne(const DtVector& location);
64 };
virtual const char * type() const
Returns a string from simComponentTypes.h, identifying the type of component.
virtual std::string calculateOrientationAndPosition(const DtVector &newLocalProjectedLocation, double newHeading, DtDcm &newLocalOrientation, DtVector &newLocalPosition)
Returns an error string.
#define DT_DLL_vrfmodel
This file is used to determine how to build.
Definition: vrfmodelDefines.h:24
DtVrfObject is used to represent any type of simulated object (entities, aggregate, control objects) in a VR-Forces application.
Definition: vrfObject.h:215
End User Description: Actuator for moving aggregated subsurface aggregates.
Definition: aggregatedSubsurfaceMovementActuator.h:17
End User Description: Actuator for moving aggregated aggregates along the ground. ...
Definition: aggregatedMovementActuator.h:46
virtual void setOrderedAltitude(double altitude, bool aboveGroundLevel=false)
Sets the ordered altitude, in response to a set altitude command.
A readable, writable type whose name is the name of a component and that has a list of component name...
Definition: componentDescriptor.h:42
virtual void setAircraftAirborne(const DtVector &location)
Check the ground-clamped descriptor parameter to see if this is entity can go airborne.
Definition: readerWriterRegistry.h:39
const DtAggregatedMovementActuator & operator=(const DtAggregatedMovementActuator &orig)
assignment operator
The DtSimComponent class is the base class for the entire simulation model component hierarchy...
Definition: simComponent.h:67
The simulation engine is controlled by a single,top-level class called the Simulation Manager...
Definition: simManager.h:102
static DtSimComponent * creator(const DtString &name, DtVrfObject *object, DtSimManager *simManager, DtComponentDescriptor *compDescriptor, DtReaderWriterRegistry *parentRegistry)
Creator function to be registered with the DtSimComponentFactory – see main.cxx.

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)