VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
launchSmokeControllerDescriptor.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2008 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
11 
12 #ifndef DtLaunchSmokeControllerDescriptor_H_
13 #define DtLaunchSmokeControllerDescriptor_H_
14 
16 #include <readerWriter/rwInt.h>
17 #include <readerWriter/rwBoolean.h>
18 #include <readerWriter/rwReal.h>
19 #include "vrfutil/rwEntityType.h"
20 #include <readerWriter/rwString.h>
22 
26 {
27 public:
30  parentRegistry = NULL);
32  DtReaderWriterRegistry* parentRegistry = NULL);
33 
36  DtReaderWriterRegistry* parentRegistry = NULL);
37 
41 
44 
47  virtual DtString type() const;
48 
49  virtual DtComponentDescriptor * clone(DtReaderWriterRegistry * parentRegistry
50  = 0) const;
51 
53  static DtComponentDescriptor * creator();
54 
55  virtual const DtEntityType& detonationType() const;
56  virtual void setDetonationType(const DtEntityType& type);
57 
58  virtual int numberOfSmokeClouds() const;
59  virtual void setNumberOfSmokeClouds(int numClouds);
60 
61  virtual double distanceFromEntity() const;
62  virtual void setDistanceFromEntity(double d);
63 
64  virtual double interCloudAngle() const;
65  virtual void setInterCloudAngle(double angle);
66 
67  virtual double cloudElevationAngle() const;
68  virtual void setCloudElevationAngle(double angle);
69 
70  virtual const DtString& resourceName() const;
71  virtual void setResourceName(const DtString& rName);
72 
73  virtual bool simulateSmoke() const;
74  virtual void setSimulateSmoke(bool b);
75 
76 protected:
79 
80 protected:
81 
85 
90 
95 
100 
105 
110 
115 
120 
121 
123 };
124 
125 #endif
126 
127 
128 
This class allows one to collect and compare strings using an index number instead of having to do st...
Definition: symbolString.h:27
DtRwEntityType myDetonationType
Parameter Name: detonation-type Parameter Description: Specify smoke bomb/grenade munition entity typ...
Definition: launchSmokeControllerDescriptor.h:89
#define DT_DLL_vrfobjparam
This file is used to determine how to build.
Definition: vrfobjparamDefines.h:28
DtRwReal myInterCloudAngle
Parameter Name: inter-cloud-angle Parameter Description: Angle of separation between smoke clouds Par...
Definition: launchSmokeControllerDescriptor.h:104
DtRwBoolean mySimulateSmokeClouds
Parameter Name: simulate-smoke-cloud-objects Parameter Description: Option controls whether or not to...
Definition: launchSmokeControllerDescriptor.h:119
Description: Readable, Writable DtString Variable substitutions are done on this object when it is re...
Definition: rwString.h:20
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
DtComponentDescriptor & operator=(const DtComponentDescriptor &orig)
assignment
DT_DLL_vrfutil double angle(double vec1[3], double vec2[3])
Description: Readable, Writable int.
Definition: rwInt.h:25
virtual DtComponentDescriptor * clone(DtReaderWriterRegistry *parentRegistry=NULL) const
DtRwReal myDistanceFromEntity
Parameter Name: distance-from-entity Parameter Description: Distance from entity to the first smoke c...
Definition: launchSmokeControllerDescriptor.h:99
Description: Readable, Writable DtReal (double)
Definition: rwReal.h:27
File: rwEntType.h.
Definition: rwEntityType.h:23
DtLaunchSmokeControllerDescriptor; descriptor for the DtLaunchSmokeComponent component.
Definition: launchSmokeControllerDescriptor.h:25
DtRwString myResourceName
Parameter Name: resource-name Parameter Description: Supply type needed to launch smoke Parameter Def...
Definition: launchSmokeControllerDescriptor.h:114
virtual DtString type() const
Returns the type of component this descriptor describes. Used to create the descriptor on read from a...
Description: Readable, Writable bool.
Definition: rwBoolean.h:26
static DtComponentDescriptor * creator()
DtRwInt myNumSmokeClouds
Parameter Name: num-smoke-clouds Parameter Description: The number of smoke clouds associated with th...
Definition: launchSmokeControllerDescriptor.h:94
DtRwReal myCloudElevationAngle
Parameter Name: cloud-elevation-angle Parameter Description: angle from entity to launch smoke Parame...
Definition: launchSmokeControllerDescriptor.h:109

Document ID: Generated on Wed Mar 27 22:49:11 EDT 2024 from SVN revision 264633
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)