C++ SDK Reference  12.5
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
diguyViewLightSettings.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 #ifndef __diguyViewLightSettings_H
29 #define __diguyViewLightSettings_H
30 
31 #ifdef SWIG
33 #else
34 #define CPLUSPLUS_ONLY
35 #endif
36 
37 #ifdef CPLUSPLUS_ONLY
38 class bdiLight;
40 
41 #include <diguy_constants.h>
42 
43 #endif
44 
45 
46 #include <declspec_diguy.h>
47 
48 /*********************************************************************/
68 class BDI_DECLSPEC_diguy diguyViewLightSettings
69 {
70 
71 public:
72 
73  /*l
74  *b Description:
75  **
76  ** The diguyViewLightSettings equivalent of
77  ** diguyViewLight::get_name().
78  */
79  const char* get_name();
80 
81  /*l
82  *b Description:
83  **
84  ** The diguyViewLightSettings equivalent of
85  ** diguyViewLight::get_type_name().
86  */
87  const char* get_type_name();
88 
89  /*l
90  *b Description:
91  **
92  ** The diguyViewLightSettings equivalent of
93  ** diguyViewLight::set_direction().
94  */
95  void set_direction(float x, float y, float z);
96 
97  /*l
98  *b Description:
99  **
100  ** The diguyViewLightSettings equivalent of
101  ** diguyViewLight::get_direction().
102  */
103  void get_direction(float* x, float* y, float* z);
104 
105  /*l
106  *b Description:
107  **
108  ** The diguyViewLightSettings equivalent of
109  ** diguyViewLight::set_ambient_color().
110  */
111  void set_ambient_color(float r, float g, float b, float a);
112 
113  /*l
114  *b Description:
115  **
116  ** The diguyViewLightSettings equivalent of
117  ** diguyViewLight::get_ambient_color().
118  */
119  void get_ambient_color(float* r, float* g, float* b, float* a);
120 
121  /*l
122  *b Description:
123  **
124  ** The diguyViewLightSettings equivalent of
125  ** diguyViewLight::set_diffuse_color().
126  */
127  void set_diffuse_color(float r, float g, float b, float a);
128 
129  /*l
130  *b Description:
131  **
132  ** The diguyViewLightSettings equivalent of
133  ** diguyViewLight::get_diffuse_color().
134  */
135  void get_diffuse_color(float* r, float* g, float* b, float* a);
136 
137  /*l
138  *b Description:
139  **
140  ** The diguyViewLightSettings equivalent of
141  ** diguyViewLight::set_specular_color().
142  */
143  void set_specular_color(float r, float g, float b, float a);
144 
145  /*l
146  *b Description:
147  **
148  ** The diguyViewLightSettings equivalent of
149  ** diguyViewLight::get_specular_color().
150  */
151  void get_specular_color(float* r, float* g, float* b, float* a);
152 
157 #ifdef CPLUSPLUS_ONLY
158 
159  bdiLight* get_scripted_object() {return m_light;}
161 private:
163  /*l
164  ** A private constructor.
165  */
166  diguyViewLightSettings(bdiLight* light);
167 
168  /*l
169  ** A pointer to internal data.
170  */
171  bdiLight* m_light;
172 
173  friend class bdiLight;
174 
175 #endif
176 
177 };
178 
179 #endif /* __diguyViewLightSettings_H */
180