#include <OSGLightChunkBase.h>
Inheritance diagram for osg::LightChunkBase:

Definition at line 90 of file OSGLightChunkBase.h.
|
|
Reimplemented from osg::StateChunk. Reimplemented in osg::LightChunk. Definition at line 94 of file OSGLightChunkBase.h. |
|
|
Reimplemented from osg::StateChunkBase. Definition at line 99 of file OSGLightChunkBase.h. |
|
|
Reimplemented from osg::Attachment. Definition at line 101 of file OSGLightChunkBase.h. 00102 { 00103 DiffuseFieldId = Inherited::NextFieldId, 00104 AmbientFieldId = DiffuseFieldId + 1, 00105 SpecularFieldId = AmbientFieldId + 1, 00106 PositionFieldId = SpecularFieldId + 1, 00107 DirectionFieldId = PositionFieldId + 1, 00108 ExponentFieldId = DirectionFieldId + 1, 00109 CutoffFieldId = ExponentFieldId + 1, 00110 ConstantAttenuationFieldId = CutoffFieldId + 1, 00111 LinearAttenuationFieldId = ConstantAttenuationFieldId + 1, 00112 QuadraticAttenuationFieldId = LinearAttenuationFieldId + 1, 00113 NextFieldId = QuadraticAttenuationFieldId + 1 00114 };
|
|
|
Definition at line 263 of file OSGLightChunkBase.cpp. 00263 : 00264 _sfDiffuse (Color4f(1,1,1,0)), 00265 _sfAmbient (Color4f(.1,.1,.1,0)), 00266 _sfSpecular (Color4f(1,1,1,0)), 00267 _sfPosition (Vec4f(0,-1,0,0)), 00268 _sfDirection (Vec3f(0,0,1)), 00269 _sfExponent (Real32(2)), 00270 _sfCutoff (Real32(180)), 00271 _sfConstantAttenuation (Real32(1)), 00272 _sfLinearAttenuation (Real32(0)), 00273 _sfQuadraticAttenuation (Real32(0)), 00274 Inherited() 00275 { 00276 }
|
|
|
Definition at line 282 of file OSGLightChunkBase.cpp. 00282 : 00283 _sfDiffuse (source._sfDiffuse ), 00284 _sfAmbient (source._sfAmbient ), 00285 _sfSpecular (source._sfSpecular ), 00286 _sfPosition (source._sfPosition ), 00287 _sfDirection (source._sfDirection ), 00288 _sfExponent (source._sfExponent ), 00289 _sfCutoff (source._sfCutoff ), 00290 _sfConstantAttenuation (source._sfConstantAttenuation ), 00291 _sfLinearAttenuation (source._sfLinearAttenuation ), 00292 _sfQuadraticAttenuation (source._sfQuadraticAttenuation ), 00293 Inherited (source) 00294 { 00295 }
|
|
|
Definition at line 299 of file OSGLightChunkBase.cpp.
|
|
|
Reimplemented from osg::StateChunkBase. Definition at line 58 of file OSGLightChunkBase.inl. References _type. Referenced by create(). 00059 { 00060 return _type; 00061 }
|
|
|
Reimplemented from osg::StateChunkBase. Definition at line 65 of file OSGLightChunkBase.inl. References _type, and osg::TypeBase::getId(). 00066 { 00067 return _type.getId(); 00068 }
|
|
|
Reimplemented from osg::StateChunkBase. Definition at line 205 of file OSGLightChunkBase.cpp. References _type. 00206 { 00207 return _type; 00208 }
|
|
|
Reimplemented from osg::StateChunkBase. Definition at line 210 of file OSGLightChunkBase.cpp. References _type. 00211 { 00212 return _type; 00213 }
|
|
|
Reimplemented from osg::StateChunkBase. Definition at line 225 of file OSGLightChunkBase.cpp. 00226 { 00227 return sizeof(LightChunk); 00228 }
|
|
|
Definition at line 101 of file OSGLightChunkBase.inl. References _sfDiffuse. 00102 { 00103 return &_sfDiffuse; 00104 }
|
|
|
Definition at line 108 of file OSGLightChunkBase.inl. References _sfAmbient. 00109 { 00110 return &_sfAmbient; 00111 }
|
|
|
Definition at line 115 of file OSGLightChunkBase.inl. References _sfSpecular. 00116 { 00117 return &_sfSpecular; 00118 }
|
|
|
Definition at line 122 of file OSGLightChunkBase.inl. References _sfPosition. 00123 { 00124 return &_sfPosition; 00125 }
|
|
|
Definition at line 129 of file OSGLightChunkBase.inl. References _sfDirection. 00130 { 00131 return &_sfDirection; 00132 }
|
|
|
Definition at line 136 of file OSGLightChunkBase.inl. References _sfExponent. 00137 { 00138 return &_sfExponent; 00139 }
|
|
|
Definition at line 143 of file OSGLightChunkBase.inl. References _sfCutoff. 00144 { 00145 return &_sfCutoff; 00146 }
|
|
|
Definition at line 150 of file OSGLightChunkBase.inl. References _sfConstantAttenuation. 00151 { 00152 return &_sfConstantAttenuation; 00153 }
|
|
|
Definition at line 157 of file OSGLightChunkBase.inl. References _sfLinearAttenuation. 00158 { 00159 return &_sfLinearAttenuation; 00160 }
|
|
|
Definition at line 164 of file OSGLightChunkBase.inl. References _sfQuadraticAttenuation. 00165 { 00166 return &_sfQuadraticAttenuation; 00167 }
|
|
|
Definition at line 172 of file OSGLightChunkBase.inl. References _sfDiffuse, and osg::SField< FieldTypeT, fieldNameSpace >::getValue(). Referenced by osg::LightChunk::operator==(). 00173 { 00174 return _sfDiffuse.getValue(); 00175 }
|
|
|
Definition at line 179 of file OSGLightChunkBase.inl. References _sfDiffuse, and osg::SField< FieldTypeT, fieldNameSpace >::getValue(). 00180 { 00181 return _sfDiffuse.getValue(); 00182 }
|
|
|
Definition at line 193 of file OSGLightChunkBase.inl. References _sfAmbient, and osg::SField< FieldTypeT, fieldNameSpace >::getValue(). Referenced by osg::LightChunk::operator==(). 00194 { 00195 return _sfAmbient.getValue(); 00196 }
|
|
|
Definition at line 200 of file OSGLightChunkBase.inl. References _sfAmbient, and osg::SField< FieldTypeT, fieldNameSpace >::getValue(). 00201 { 00202 return _sfAmbient.getValue(); 00203 }
|
|
|
Definition at line 214 of file OSGLightChunkBase.inl. References _sfSpecular, and osg::SField< FieldTypeT, fieldNameSpace >::getValue(). Referenced by osg::LightChunk::operator==(). 00215 { 00216 return _sfSpecular.getValue(); 00217 }
|
|
|
Definition at line 221 of file OSGLightChunkBase.inl. References _sfSpecular, and osg::SField< FieldTypeT, fieldNameSpace >::getValue(). 00222 { 00223 return _sfSpecular.getValue(); 00224 }
|
|
|
Definition at line 235 of file OSGLightChunkBase.inl. References _sfPosition, and osg::SField< FieldTypeT, fieldNameSpace >::getValue(). Referenced by osg::LightChunk::operator==(). 00236 { 00237 return _sfPosition.getValue(); 00238 }
|
|
|
Definition at line 242 of file OSGLightChunkBase.inl. References _sfPosition, and osg::SField< FieldTypeT, fieldNameSpace >::getValue(). 00243 { 00244 return _sfPosition.getValue(); 00245 }
|
|
|
Definition at line 256 of file OSGLightChunkBase.inl. References _sfDirection, and osg::SField< FieldTypeT, fieldNameSpace >::getValue(). Referenced by osg::LightChunk::operator==(). 00257 { 00258 return _sfDirection.getValue(); 00259 }
|
|
|
Definition at line 263 of file OSGLightChunkBase.inl. References _sfDirection, and osg::SField< FieldTypeT, fieldNameSpace >::getValue(). 00264 { 00265 return _sfDirection.getValue(); 00266 }
|
|
|
Definition at line 277 of file OSGLightChunkBase.inl. References _sfExponent, and osg::SField< FieldTypeT, fieldNameSpace >::getValue(). Referenced by osg::LightChunk::operator==(). 00278 { 00279 return _sfExponent.getValue(); 00280 }
|
|
|
Definition at line 284 of file OSGLightChunkBase.inl. References _sfExponent, and osg::SField< FieldTypeT, fieldNameSpace >::getValue(). 00285 { 00286 return _sfExponent.getValue(); 00287 }
|
|
|
Definition at line 298 of file OSGLightChunkBase.inl. References _sfCutoff, and osg::SField< FieldTypeT, fieldNameSpace >::getValue(). Referenced by osg::LightChunk::operator==(). 00299 { 00300 return _sfCutoff.getValue(); 00301 }
|
|
|
Definition at line 305 of file OSGLightChunkBase.inl. References _sfCutoff, and osg::SField< FieldTypeT, fieldNameSpace >::getValue(). 00306 { 00307 return _sfCutoff.getValue(); 00308 }
|
|
|
Definition at line 319 of file OSGLightChunkBase.inl. References _sfConstantAttenuation, and osg::SField< FieldTypeT, fieldNameSpace >::getValue(). Referenced by osg::LightChunk::operator==(). 00320 { 00321 return _sfConstantAttenuation.getValue(); 00322 }
|
|
|
Definition at line 326 of file OSGLightChunkBase.inl. References _sfConstantAttenuation, and osg::SField< FieldTypeT, fieldNameSpace >::getValue(). 00327 { 00328 return _sfConstantAttenuation.getValue(); 00329 }
|
|
|
Definition at line 340 of file OSGLightChunkBase.inl. References _sfLinearAttenuation, and osg::SField< FieldTypeT, fieldNameSpace >::getValue(). Referenced by osg::LightChunk::operator==(). 00341 { 00342 return _sfLinearAttenuation.getValue(); 00343 }
|
|
|
Definition at line 347 of file OSGLightChunkBase.inl. References _sfLinearAttenuation, and osg::SField< FieldTypeT, fieldNameSpace >::getValue(). 00348 { 00349 return _sfLinearAttenuation.getValue(); 00350 }
|
|
|
Definition at line 361 of file OSGLightChunkBase.inl. References _sfQuadraticAttenuation, and osg::SField< FieldTypeT, fieldNameSpace >::getValue(). Referenced by osg::LightChunk::operator==(). 00362 { 00363 return _sfQuadraticAttenuation.getValue(); 00364 }
|
|
|
Definition at line 368 of file OSGLightChunkBase.inl. References _sfQuadraticAttenuation, and osg::SField< FieldTypeT, fieldNameSpace >::getValue(). 00369 { 00370 return _sfQuadraticAttenuation.getValue(); 00371 }
|
|
|
Definition at line 186 of file OSGLightChunkBase.inl. References _sfDiffuse, and osg::SField< FieldTypeT, fieldNameSpace >::setValue(). 00187 { 00188 _sfDiffuse.setValue(value); 00189 }
|
|
|
Definition at line 207 of file OSGLightChunkBase.inl. References _sfAmbient, and osg::SField< FieldTypeT, fieldNameSpace >::setValue(). 00208 { 00209 _sfAmbient.setValue(value); 00210 }
|
|
|
Definition at line 228 of file OSGLightChunkBase.inl. References _sfSpecular, and osg::SField< FieldTypeT, fieldNameSpace >::setValue(). 00229 { 00230 _sfSpecular.setValue(value); 00231 }
|
|
|
Definition at line 249 of file OSGLightChunkBase.inl. References _sfPosition, and osg::SField< FieldTypeT, fieldNameSpace >::setValue(). 00250 { 00251 _sfPosition.setValue(value); 00252 }
|
|
|
Definition at line 270 of file OSGLightChunkBase.inl. References _sfDirection, and osg::SField< FieldTypeT, fieldNameSpace >::setValue(). |