VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
searchLightControllerDescriptor.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2026 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
9 #pragma once
10 
13 #include "vrfutil/rwColor.h"
14 
15 #include <readerWriter/rwReal.h>
16 
19 
21 {
22 public:
23 
26  DtReaderWriterRegistry * parentRegistry = 0);
27 
29  virtual ~DtSearchLightControllerDescriptor() override;
30 
34  orig, DtReaderWriterRegistry * parentRegistry = 0);
35 
39 
42  virtual DtString type() const override;
43 
44  virtual DtComponentDescriptor * clone(DtReaderWriterRegistry* parentRegistry = 0) const override;
45 
48  virtual double neutralAzimuth() const;
49  virtual void setNeutralAzimuth(double az);
51 
54  virtual double neutralElevation() const;
55  virtual void setNeutralElevation(double el);
57 
60  virtual double scanRate() const;
61  virtual void setScanRate(double rate);
63 
66  virtual double scanElevationAngle() const;
67  virtual void setScanElevationAngle(double el);
69 
72  virtual int azimuthArtPartType() const;
73  virtual void setAzimuthArtPartType(int type);
75 
78  virtual int elevationArtPartType() const;
79  virtual void setElevationArtPartType(int type);
81 
84  virtual const DtVector& searchLightPosition() const;
85  virtual void setSearchLightPosition(const DtVector& position);
87 
90  virtual const DtString& searchLightId() const;
91  virtual void setSearchLightId(const DtString& id);
93 
96  virtual double range() const;
97  virtual void setRange(double range);
99 
102  virtual double intensity() const;
103  virtual void setIntensity(double intensity);
105 
108  virtual double coneAngle() const;
109  virtual void setConeAngle(double angle);
111 
114  virtual int lightType() const;
115  virtual void setLightType(int type);
117 
120  virtual const DtRwColor& color() const;
121  virtual void setColor(const DtRwColor& color);
123 
125  static DtComponentDescriptor * creator();
126 
127 protected:
128 
132 
139 
146 
153 
160 
167 
174 
181 
187 
193 
198 
204 
209 
214 
216 };
217 
DtRwInt myLightType
Parameter Name: light-type Parameter Description: An index into a table indicating the search light t...
Definition: searchLightControllerDescriptor.h:208
DtRwInt myAzimuthArtPartType
Parameter Name: azimuth-art-part-type Parameter Description: The type of the articulated part that re...
Definition: searchLightControllerDescriptor.h:166
#define DT_DLL_vrfobjparam
This file is used to determine how to build.
Definition: vrfobjparamDefines.h:28
DtRwReal myScanRate
Parameter Name: scan-rate Parameter Description: The rate at which to scan the sensor during scan mod...
Definition: searchLightControllerDescriptor.h:152
DtRwReal myScanElevationAngle
Parameter Name: scan-elevation-angle Parameter Description: The elevation angle to use while scanning...
Definition: searchLightControllerDescriptor.h:159
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
DtRwReal myNeutralElevation
Parameter Name: neutral-elevation Parameter Description: The neutral body elevation to which the sens...
Definition: searchLightControllerDescriptor.h:145
Definition: readerWriterRegistry.h:39
DtComponentDescriptor & operator=(const DtComponentDescriptor &orig)
assignment
Instances of DtSearchLightControllerDescriptor are used to specify the parameters for a DtSearchLight...
Definition: searchLightControllerDescriptor.h:20
Reader-Writer color specified by red, green, blue components.
Definition: rwColor.h:19
DtRwOffsetVector mySearchLightPosition
Parameter Name: search-light-position Parameter Description: Vector added to the position of the enti...
Definition: searchLightControllerDescriptor.h:180
DT_DLL_vrfutil double angle(double vec1[3], double vec2[3])
Description: Readable, Writable int.
Definition: rwInt.h:25
DtRwColor myColor
Parameter Name: color Parameter Description: The color of the light, in RGBA format. Parameter Default Value: (255, 255, 255, 0) .
Definition: searchLightControllerDescriptor.h:213
DtRwInt myElevationArtPartType
Parameter Name: elevation-art-part-type Parameter Description: The type of the articulated part that ...
Definition: searchLightControllerDescriptor.h:173
virtual DtComponentDescriptor * clone(DtReaderWriterRegistry *parentRegistry=NULL) const
DtRwReal myNeutralAzimuth
Parameter Name: neutral-azimuth Parameter Description: The neutral body azimuth to which the sensor s...
Definition: searchLightControllerDescriptor.h:138
DtRwReal myConeAngle
Parameter Name: cone-angle Parameter Description: The angle of the light&#39;s inner cone. Parameter Default Value: 0.174533 Parameter Units: radians.
Definition: searchLightControllerDescriptor.h:203
Description: Readable, Writable DtReal (double)
Definition: rwReal.h:27
virtual DtString type() const
Returns the type of component this descriptor describes. Used to create the descriptor on read from a...
Specialized vector that can be used for the knowledge of an &quot;offset&quot; rather than location vector...
Definition: rwVector.h:112
static DtComponentDescriptor * creator()
DtRwReal myRange
Parameter Name: range Parameter Description: The maximum range of the search. Parameter Default Value...
Definition: searchLightControllerDescriptor.h:192
DtRwReal myIntensity
Parameter Name: intensity Parameter Description: A value from 0 (off) to 1.0 (maximum) indicating the...
Definition: searchLightControllerDescriptor.h:197
DtRwString mySearchLightId
Parameter Name: search-light-id Parameter Description: String uniquely identifying this search light ...
Definition: searchLightControllerDescriptor.h:186

Document ID: Generated on Thu Oct 15 21:27:02 EDT 2026 from SVN revision 296421
Copyright © 2005-2026 MAK Technologies. All Rights Reserved (www.mak.com)