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) 2024 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
11 
12 #pragma once
13 
15 #include <readerWriter/rwInt.h>
16 #include <readerWriter/rwBoolean.h>
17 #include <readerWriter/rwReal.h>
18 #include "vrfutil/rwResource.h"
19 #include <readerWriter/rwString.h>
21 
25 {
26 public:
29  parentRegistry = NULL);
31  DtReaderWriterRegistry* parentRegistry = NULL);
32 
35  DtReaderWriterRegistry* parentRegistry = NULL);
36 
40 
42  virtual ~DtLaunchSmokeControllerDescriptor() override;
43 
46  virtual DtString type() const override;
47 
48  virtual DtComponentDescriptor * clone(DtReaderWriterRegistry* parentRegistry = 0) const override;
49 
51  static DtComponentDescriptor * creator();
52 
53  virtual const DtEntityType& detonationType() const;
54  virtual const DtEntityType& resourceType() const
55  {
56  return detonationType();
57  }
58  virtual void setDetonationType(const DtEntityType& type);
59  virtual void setResourceType(const DtEntityType& rName)
60  {
61  setDetonationType(rName);
62  }
63 
64  virtual int numberOfSmokeClouds() const;
65  virtual void setNumberOfSmokeClouds(int numClouds);
66 
67  virtual double distanceFromEntity() const;
68  virtual void setDistanceFromEntity(double d);
69 
70  virtual double interCloudAngle() const;
71  virtual void setInterCloudAngle(double angle);
72 
73  virtual double cloudElevationAngle() const;
74  virtual void setCloudElevationAngle(double angle);
75 
76  virtual bool simulateSmoke() const;
77  virtual void setSimulateSmoke(bool b);
78 
79 protected:
82 
83 protected:
84 
88 
93 
98 
103 
108 
113 
118 
119 
121 };
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:92
virtual void setResourceType(const DtEntityType &rName)
Definition: launchSmokeControllerDescriptor.h:59
#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:107
DtRwBoolean mySimulateSmokeClouds
Parameter Name: simulate-smoke-cloud-objects Parameter Description: Option controls whether or not to...
Definition: launchSmokeControllerDescriptor.h:117
A readable, writable type whose name is the name of a component and that has a list of component name...
Definition: componentDescriptor.h:49
virtual const DtEntityType & resourceType() const
Definition: launchSmokeControllerDescriptor.h:54
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:102
Description: Readable, Writable DtReal (double)
Definition: rwReal.h:27
File: rwEntType.h.
Definition: rwEntityType.h:26
DtLaunchSmokeControllerDescriptor; descriptor for the DtLaunchSmokeComponent component.
Definition: launchSmokeControllerDescriptor.h:24
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:97
DtRwReal myCloudElevationAngle
Parameter Name: cloud-elevation-angle Parameter Description: angle from entity to launch smoke Parame...
Definition: launchSmokeControllerDescriptor.h:112

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)