#include <OsgMaterial.h>
Definition at line 77 of file OsgMaterial.h.
◆ OsgMaterial()
osg_material_manager::OsgMaterial::OsgMaterial |
( |
std::string |
resPath | ) |
|
◆ ~OsgMaterial()
osg_material_manager::OsgMaterial::~OsgMaterial |
( |
| ) |
|
|
virtual |
◆ addMaterialNode()
void osg_material_manager::OsgMaterial::addMaterialNode |
( |
MaterialNode * |
d | ) |
|
◆ addTexture()
void osg_material_manager::OsgMaterial::addTexture |
( |
configmaps::ConfigMap & |
config, |
|
|
bool |
nearest = false |
|
) |
| |
◆ checkTexture()
bool osg_material_manager::OsgMaterial::checkTexture |
( |
std::string |
name | ) |
|
◆ disableTexture()
void osg_material_manager::OsgMaterial::disableTexture |
( |
std::string |
name | ) |
|
◆ edit()
void osg_material_manager::OsgMaterial::edit |
( |
const std::string & |
key, |
|
|
const std::string & |
value |
|
) |
| |
◆ enableTexture()
void osg_material_manager::OsgMaterial::enableTexture |
( |
std::string |
name | ) |
|
◆ getColor()
osg::Vec4 osg_material_manager::OsgMaterial::getColor |
( |
std::string |
key | ) |
|
|
protected |
◆ getMaterialData()
◆ initMaterial()
void osg_material_manager::OsgMaterial::initMaterial |
( |
| ) |
|
◆ loadTerrainTexture()
osg::Texture2D * osg_material_manager::OsgMaterial::loadTerrainTexture |
( |
std::string |
filename | ) |
|
|
protected |
◆ removeMaterialNode()
void osg_material_manager::OsgMaterial::removeMaterialNode |
( |
MaterialNode * |
d | ) |
|
◆ setBumpMap()
void osg_material_manager::OsgMaterial::setBumpMap |
( |
const std::string & |
bumpMap | ) |
|
◆ setColor()
void osg_material_manager::OsgMaterial::setColor |
( |
std::string |
color, |
|
|
std::string |
key, |
|
|
std::string |
value |
|
) |
| |
|
protected |
◆ setMaterial()
◆ setMaxNumLights()
void osg_material_manager::OsgMaterial::setMaxNumLights |
( |
int |
n | ) |
|
◆ setNoiseImage()
void osg_material_manager::OsgMaterial::setNoiseImage |
( |
osg::Image * |
i | ) |
|
◆ setNormalMap()
void osg_material_manager::OsgMaterial::setNormalMap |
( |
const std::string & |
normalMap | ) |
|
◆ setShadowSamples()
void osg_material_manager::OsgMaterial::setShadowSamples |
( |
int |
v | ) |
|
◆ setShadowScale()
void osg_material_manager::OsgMaterial::setShadowScale |
( |
float |
v | ) |
|
◆ setShadowTextureSize()
void osg_material_manager::OsgMaterial::setShadowTextureSize |
( |
int |
size | ) |
|
◆ setTexture()
void osg_material_manager::OsgMaterial::setTexture |
( |
osg::Texture2D * |
texture | ) |
|
◆ setUseShader()
void osg_material_manager::OsgMaterial::setUseShader |
( |
bool |
val | ) |
|
◆ update()
void osg_material_manager::OsgMaterial::update |
( |
| ) |
|
◆ updateShader()
void osg_material_manager::OsgMaterial::updateShader |
( |
bool |
reload = false | ) |
|
◆ bumpNorFacUniform
osg::ref_ptr<osg::Uniform> osg_material_manager::OsgMaterial::bumpNorFacUniform |
|
protected |
◆ cosUniform
osg::ref_ptr<osg::Uniform> osg_material_manager::OsgMaterial::cosUniform |
|
protected |
◆ envMapScaleUniform
osg::ref_ptr<osg::Uniform> osg_material_manager::OsgMaterial::envMapScaleUniform |
|
protected |
◆ envMapSpecularUniform
osg::ref_ptr<osg::Uniform> osg_material_manager::OsgMaterial::envMapSpecularUniform |
|
protected |
◆ getLight
bool osg_material_manager::OsgMaterial::getLight |
|
protected |
◆ group
osg::ref_ptr<osg::Group> osg_material_manager::OsgMaterial::group |
|
protected |
◆ hasShaderSources
bool osg_material_manager::OsgMaterial::hasShaderSources |
|
protected |
◆ invShadowSamplesUniform
osg::ref_ptr<osg::Uniform> osg_material_manager::OsgMaterial::invShadowSamplesUniform |
|
protected |
◆ invShadowTextureSize
double osg_material_manager::OsgMaterial::invShadowTextureSize |
|
protected |
◆ invShadowTextureSizeUniform
osg::ref_ptr<osg::Uniform> osg_material_manager::OsgMaterial::invShadowTextureSizeUniform |
|
protected |
◆ isInit
bool osg_material_manager::OsgMaterial::isInit |
|
protected |
◆ lastProgram
osg::ref_ptr<osg::Program> osg_material_manager::OsgMaterial::lastProgram |
|
protected |
◆ loadPath
std::string osg_material_manager::OsgMaterial::loadPath |
|
protected |
◆ map
◆ material
osg::ref_ptr<osg::Material> osg_material_manager::OsgMaterial::material |
|
protected |
◆ materialNodeVector
std::vector<osg::ref_ptr<MaterialNode> > osg_material_manager::OsgMaterial::materialNodeVector |
|
protected |
◆ maxNumLights
int osg_material_manager::OsgMaterial::maxNumLights |
|
protected |
◆ name
std::string osg_material_manager::OsgMaterial::name |
|
protected |
◆ noiseMap
osg::ref_ptr<osg::Texture2D> osg_material_manager::OsgMaterial::noiseMap |
|
protected |
◆ noiseMapUniform
osg::ref_ptr<osg::Uniform> osg_material_manager::OsgMaterial::noiseMapUniform |
|
protected |
◆ resPath
std::string osg_material_manager::OsgMaterial::resPath |
|
protected |
◆ shadowSamplesUniform
osg::ref_ptr<osg::Uniform> osg_material_manager::OsgMaterial::shadowSamplesUniform |
|
protected |
◆ shadowScaleUniform
osg::ref_ptr<osg::Uniform> osg_material_manager::OsgMaterial::shadowScaleUniform |
|
protected |
◆ sinUniform
osg::ref_ptr<osg::Uniform> osg_material_manager::OsgMaterial::sinUniform |
|
protected |
double osg_material_manager::OsgMaterial::t |
|
protected |
◆ terrainDimUniform
osg::ref_ptr<osg::Uniform> osg_material_manager::OsgMaterial::terrainDimUniform |
|
protected |
◆ terrainScaleZUniform
osg::ref_ptr<osg::Uniform> osg_material_manager::OsgMaterial::terrainScaleZUniform |
|
protected |
◆ texScaleUniform
osg::ref_ptr<osg::Uniform> osg_material_manager::OsgMaterial::texScaleUniform |
|
protected |
◆ textures
std::map<std::string, TextureInfo> osg_material_manager::OsgMaterial::textures |
|
protected |
◆ unitMap
◆ useShader
bool osg_material_manager::OsgMaterial::useShader |
|
protected |
◆ useWorldTexCoords
bool osg_material_manager::OsgMaterial::useWorldTexCoords |
|
protected |
The documentation for this class was generated from the following files:
- /Developer/bob-learning-dev/simulation/mars/common/graphics/osg_material_manager/src/OsgMaterial.h
- /Developer/bob-learning-dev/simulation/mars/common/graphics/osg_material_manager/src/OsgMaterial.cpp