C++ SDK Reference  12.5
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
diguyViewFogSettings.h
Go to the documentation of this file.
1 
2 /*
3  * Copyright (C) 1992-2013 Boston Dynamics
4  * ALL RIGHTS RESERVED.
5  *
6  * These coded instructions, statements, and computer programs
7  * contain unpublished proprietary information of Boston Dynamics
8  * and are protected by Copyright Laws of the United States.
9  * They may not be used, duplicated, or disclosed in any form, in
10  * whole or in part, without the prior written consent from Boston
11  * Dynamics.
12  *
13  * RESTRICTED RIGHTS LEGEND
14  * Use, duplication, or disclosure by the government is subject
15  * to restrictions as set forth in FAR 52.227.19(c)(2) or
16  * subparagraph (c)(1)(ii) of the Rights in Technical Data and
17  * Computer Software clause at DFARS 252.227-7013 and/or in
18  * similar or successor clauses in the FAR, or the DOD or NASA
19  * FAR Supplement, or to subparagraphs (c)(1) and (c)(2) of the
20  * Commercial Computer Software--Restricted Rights at 48 CFR
21  * 52.227-19, as applicable. Unpublished-rights reserved under
22  * the Copyright Laws of the United States.
23  * Contractor/Manufacturer is:
24  * Boston Dynamics/78 Fourth Avenue/Waltham MA 02451.
25  */
26 
27 
28 
29 #ifndef __diguyViewFogSettings_H
30 #define __diguyViewFogSettings_H
31 
32 #ifdef SWIG
34 #else
35 #define CPLUSPLUS_ONLY
36 #endif
37 
38 #ifdef CPLUSPLUS_ONLY
39 class bdiFog;
41 
42 #include <diguy_constants.h>
43 
44 #endif
45 
46 
47 #include <declspec_diguy.h>
48 
49 /*********************************************************************/
67 class BDI_DECLSPEC_diguy diguyViewFogSettings
68 {
69 
70 public:
71 
72  /*l
73  *b Description:
74  **
75  ** The diguyViewLightSettings equivalent of
76  ** diguyViewLight::get_name().
77  */
78  const char* get_name();
79 
80  /*l
81  *b Description:
82  **
83  ** The diguyViewLightSettings equivalent of
84  ** diguyViewLight::get_type_name().
85  */
86  const char* get_type_name();
87 
88  /*l
89  *b Description:
90  **
91  ** The diguyViewLightSettings equivalent of
92  ** diguyViewLight::set_density().
93  */
94  void set_density(float density);
95 
96  /*l
97  *b Description:
98  **
99  ** The diguyViewLightSettings equivalent of
100  ** diguyViewLight::get_density().
101  */
102  float get_density();
103 
104  /*l
105  *b Description:
106  **
107  ** The diguyViewLightSettings equivalent of
108  ** diguyViewLight::set_start().
109  */
110  void set_start(float start);
111 
112  /*l
113  *b Description:
114  **
115  ** The diguyViewLightSettings equivalent of
116  ** diguyViewLight::get_start().
117  */
118  float get_start();
119 
120  /*l
121  *b Description:
122  **
123  ** The diguyViewLightSettings equivalent of
124  ** diguyViewLight::set_end().
125  */
126  void set_end(float end);
127 
128  /*l
129  *b Description:
130  **
131  ** The diguyViewLightSettings equivalent of
132  ** diguyViewLight::get_end().
133  */
134  float get_end();
135 
136  /*l
137  *b Description:
138  **
139  ** The diguyViewLightSettings equivalent of
140  ** diguyViewLight::set_color().
141  */
142  void set_color(float r, float g, float b, float a);
143 
144  /*l
145  *b Description:
146  **
147  ** The diguyViewLightSettings equivalent of
148  ** diguyViewLight::get_color().
149  */
150  void get_color(float* r, float* g, float* b, float* a);
151 
152  /*l
153  *b Description:
154  **
155  ** The diguyViewLightSettings equivalent of
156  ** diguyViewLight::set_fog_mode().
157  */
158  void set_fog_mode(int mode);
159 
160  /*l
161  *b Description:
162  **
163  ** The diguyViewLightSettings equivalent of
164  ** diguyViewLight::get_fog_mode().
165  */
166  int get_fog_mode();
167 
168 
173 #ifdef CPLUSPLUS_ONLY
175  bdiFog* get_scripted_object() {return m_fog;}
176 
177 private:
178 
179  /*l
180  ** A private constructor.
181  */
182  diguyViewFogSettings(bdiFog* fog);
183 
184  /*l
185  ** A pointer to internal data.
186  */
187  bdiFog* m_fog;
188 
189  friend class bdiFog;
190 
191 #endif
192 
193 };
194 
195 #endif /* __diguyViewFogSettings_H */
196