#include <OSGPhongMaterialBase.h>
Inheritance diagram for osg::PhongMaterialBase:

Definition at line 88 of file OSGPhongMaterialBase.h.
|
|
Reimplemented from osg::ChunkMaterial. Reimplemented in osg::PhongMaterial. Definition at line 92 of file OSGPhongMaterialBase.h. |
|
|
Reimplemented from osg::ChunkMaterialBase. Definition at line 97 of file OSGPhongMaterialBase.h. |
|
|
Reimplemented from osg::ChunkMaterialBase. Definition at line 99 of file OSGPhongMaterialBase.h. 00100 { 00101 AmbientFieldId = Inherited::NextFieldId, 00102 DiffuseFieldId = AmbientFieldId + 1, 00103 SpecularFieldId = DiffuseFieldId + 1, 00104 ShininessFieldId = SpecularFieldId + 1, 00105 EmissionFieldId = ShininessFieldId + 1, 00106 TransparencyFieldId = EmissionFieldId + 1, 00107 LitFieldId = TransparencyFieldId + 1, 00108 ColorMaterialFieldId = LitFieldId + 1, 00109 NextFieldId = ColorMaterialFieldId + 1 00110 };
|
|
|
Definition at line 242 of file OSGPhongMaterialBase.cpp. 00242 : 00243 _sfAmbient (Color3f(0,0,0)), 00244 _sfDiffuse (Color3f(0,0,0)), 00245 _sfSpecular (Color3f(0,0,0)), 00246 _sfShininess (Real32(1)), 00247 _sfEmission (Color3f(0,0,0)), 00248 _sfTransparency (Real32(0)), 00249 _sfLit (bool(true)), 00250 _sfColorMaterial (GLenum(GL_DIFFUSE)), 00251 Inherited() 00252 { 00253 }
|
|
|
Definition at line 259 of file OSGPhongMaterialBase.cpp. 00259 : 00260 _sfAmbient (source._sfAmbient ), 00261 _sfDiffuse (source._sfDiffuse ), 00262 _sfSpecular (source._sfSpecular ), 00263 _sfShininess (source._sfShininess ), 00264 _sfEmission (source._sfEmission ), 00265 _sfTransparency (source._sfTransparency ), 00266 _sfLit (source._sfLit ), 00267 _sfColorMaterial (source._sfColorMaterial ), 00268 Inherited (source) 00269 { 00270 }
|
|
|
Definition at line 274 of file OSGPhongMaterialBase.cpp.
|
|
|
Reimplemented from osg::ChunkMaterialBase. Definition at line 58 of file OSGPhongMaterialBase.inl. References _type. Referenced by create(). 00059 { 00060 return _type; 00061 }
|
|
|
Reimplemented from osg::ChunkMaterialBase. Definition at line 65 of file OSGPhongMaterialBase.inl. References _type, and osg::TypeBase::getId(). 00066 { 00067 return _type.getId(); 00068 }
|
|
|
Reimplemented from osg::ChunkMaterialBase. Definition at line 184 of file OSGPhongMaterialBase.cpp. References _type. 00185 { 00186 return _type; 00187 }
|
|
|
Reimplemented from osg::ChunkMaterialBase. Definition at line 189 of file OSGPhongMaterialBase.cpp. References _type. 00190 { 00191 return _type; 00192 }
|
|
|
Reimplemented from osg::ChunkMaterialBase. Definition at line 204 of file OSGPhongMaterialBase.cpp. 00205 { 00206 return sizeof(PhongMaterial); 00207 }
|
|
|
Definition at line 101 of file OSGPhongMaterialBase.inl. References _sfAmbient. 00102 { 00103 return &_sfAmbient; 00104 }
|
|
|
Definition at line 108 of file OSGPhongMaterialBase.inl. References _sfDiffuse. 00109 { 00110 return &_sfDiffuse; 00111 }
|
|
|
Definition at line 115 of file OSGPhongMaterialBase.inl. References _sfSpecular. 00116 { 00117 return &_sfSpecular; 00118 }
|
|
|
Definition at line 122 of file OSGPhongMaterialBase.inl. References _sfShininess. 00123 { 00124 return &_sfShininess; 00125 }
|
|
|
Definition at line 129 of file OSGPhongMaterialBase.inl. References _sfEmission. 00130 { 00131 return &_sfEmission; 00132 }
|
|
|
Definition at line 136 of file OSGPhongMaterialBase.inl. References _sfTransparency. 00137 { 00138 return &_sfTransparency; 00139 }
|
|
|
Definition at line 143 of file OSGPhongMaterialBase.inl. References _sfLit. 00144 { 00145 return &_sfLit; 00146 }
|
|
|
Definition at line 150 of file OSGPhongMaterialBase.inl. References _sfColorMaterial. 00151 { 00152 return &_sfColorMaterial; 00153 }
|
|
|
Definition at line 158 of file OSGPhongMaterialBase.inl. References _sfAmbient, and osg::SField< FieldTypeT, fieldNameSpace >::getValue(). Referenced by osg::PhongMaterial::makeState(), and osg::PhongMaterial::rebuildState(). 00159 { 00160 return _sfAmbient.getValue(); 00161 }
|
|
|
Definition at line 165 of file OSGPhongMaterialBase.inl. References _sfAmbient, and osg::SField< FieldTypeT, fieldNameSpace >::getValue(). 00166 { 00167 return _sfAmbient.getValue(); 00168 }
|
|
|
Definition at line 179 of file OSGPhongMaterialBase.inl. References _sfDiffuse, and osg::SField< FieldTypeT, fieldNameSpace >::getValue(). Referenced by osg::PhongMaterial::makeState(), and osg::PhongMaterial::rebuildState(). 00180 { 00181 return _sfDiffuse.getValue(); 00182 }
|
|
|
Definition at line 186 of file OSGPhongMaterialBase.inl. References _sfDiffuse, and osg::SField< FieldTypeT, fieldNameSpace >::getValue(). 00187 { 00188 return _sfDiffuse.getValue(); 00189 }
|
|
|
Definition at line 200 of file OSGPhongMaterialBase.inl. References _sfSpecular, and osg::SField< FieldTypeT, fieldNameSpace >::getValue(). Referenced by osg::PhongMaterial::makeState(), and osg::PhongMaterial::rebuildState(). 00201 { 00202 return _sfSpecular.getValue(); 00203 }
|
|
|
Definition at line 207 of file OSGPhongMaterialBase.inl. References _sfSpecular, and osg::SField< FieldTypeT, fieldNameSpace >::getValue(). 00208 { 00209 return _sfSpecular.getValue(); 00210 }
|
|
|
Definition at line 221 of file OSGPhongMaterialBase.inl. References _sfShininess, and osg::SField< FieldTypeT, fieldNameSpace >::getValue(). Referenced by osg::PhongMaterial::makeState(), and osg::PhongMaterial::rebuildState(). 00222 { 00223 return _sfShininess.getValue(); 00224 }
|
|
|
Definition at line 228 of file OSGPhongMaterialBase.inl. References _sfShininess, and osg::SField< FieldTypeT, fieldNameSpace >::getValue(). 00229 { 00230 return _sfShininess.getValue(); 00231 }
|
|
|
Definition at line 242 of file OSGPhongMaterialBase.inl. References _sfEmission, and osg::SField< FieldTypeT, fieldNameSpace >::getValue(). Referenced by osg::PhongMaterial::makeState(), and osg::PhongMaterial::rebuildState(). 00243 { 00244 return _sfEmission.getValue(); 00245 }
|
|
|
Definition at line 249 of file OSGPhongMaterialBase.inl. References _sfEmission, and osg::SField< FieldTypeT, fieldNameSpace >::getValue(). 00250 { 00251 return _sfEmission.getValue(); 00252 }
|
|
|
Definition at line 263 of file OSGPhongMaterialBase.inl. References _sfTransparency, and osg::SField< FieldTypeT, fieldNameSpace >::getValue(). Referenced by osg::PhongMaterial::isTransparent(), osg::PhongMaterial::makeState(), and osg::PhongMaterial::rebuildState(). 00264 { 00265 return _sfTransparency.getValue(); 00266 }
|
|
|
Definition at line 270 of file OSGPhongMaterialBase.inl. References _sfTransparency, and osg::SField< FieldTypeT, fieldNameSpace >::getValue(). 00271 { 00272 return _sfTransparency.getValue(); 00273 }
|
|
|
Definition at line 284 of file OSGPhongMaterialBase.inl. References _sfLit, and osg::SField< FieldTypeT, fieldNameSpace >::getValue(). Referenced by osg::PhongMaterial::makeState(), and osg::PhongMaterial::rebuildState(). 00285 { 00286 return _sfLit.getValue(); 00287 }
|
|
|
Definition at line 291 of file OSGPhongMaterialBase.inl. References _sfLit, and osg::SField< FieldTypeT, fieldNameSpace >::getValue(). 00292 { 00293 return _sfLit.getValue(); 00294 }
|
|
|
Definition at line 305 of file OSGPhongMaterialBase.inl. References _sfColorMaterial, and osg::SField< FieldTypeT, fieldNameSpace >::getValue(). Referenced by osg::PhongMaterial::makeState(), and osg::PhongMaterial::rebuildState(). 00306 { 00307 return _sfColorMaterial.getValue(); 00308 }
|
|
|
Definition at line 312 of file OSGPhongMaterialBase.inl. References _sfColorMaterial, and osg::SField< FieldTypeT, fieldNameSpace >::getValue(). 00313 { 00314 return _sfColorMaterial.getValue(); 00315 }
|
|
|
Definition at line 172 of file OSGPhongMaterialBase.inl. References _sfAmbient, and osg::SField< FieldTypeT, fieldNameSpace >::setValue(). 00173 { 00174 _sfAmbient.setValue(value); 00175 }
|
|
|
Definition at line 193 of file OSGPhongMaterialBase.inl. References _sfDiffuse, and osg::SField< FieldTypeT, fieldNameSpace >::setValue(). 00194 { 00195 _sfDiffuse.setValue(value); 00196 }
|
|
|
Definition at line 214 of file OSGPhongMaterialBase.inl. References _sfSpecular, and osg::SField< FieldTypeT, fieldNameSpace >::setValue(). 00215 { 00216 _sfSpecular.setValue(value); 00217 }
|
|
|
Definition at line 235 of file OSGPhongMaterialBase.inl. References _sfShininess, and osg::SField< FieldTypeT, fieldNameSpace >::setValue(). 00236 { 00237 _sfShininess.setValue(value); 00238 }
|
|
|
Definition at line 256 of file OSGPhongMaterialBase.inl. References _sfEmission, and osg::SField< FieldTypeT, fieldNameSpace >::setValue(). 00257 { 00258 _sfEmission.setValue(value); 00259 }
|
|
|
Definition at line 277 of file OSGPhongMaterialBase.inl. References _sfTransparency, and osg::SField< FieldTypeT, fieldNameSpace >::setValue(). 00278 { 00279 _sfTransparency.setValue(value); 00280 }
|
|
|
Definition at line 298 of file OSGPhongMaterialBase.inl. References _sfLit, and osg::SField< FieldTypeT, fieldNameSpace >::setValue().
|
|
|
Definition at line 319 of file OSGPhongMaterialBase.inl. References _sfColorMaterial, and osg::SField< FieldTypeT, fieldNameSpace >::setValue(). 00320 { 00321 _sfColorMaterial.setValue(value); 00322 }
|
|