#include <MaterialNode.h>
Definition at line 74 of file MaterialNode.h.
◆ MaterialNode()
osg_material_manager::MaterialNode::MaterialNode |
( |
| ) |
|
◆ ~MaterialNode()
osg_material_manager::MaterialNode::~MaterialNode |
( |
| ) |
|
|
virtual |
◆ addChild()
bool osg_material_manager::MaterialNode::addChild |
( |
osg::Node * |
child | ) |
|
◆ createNodeState()
void osg_material_manager::MaterialNode::createNodeState |
( |
| ) |
|
◆ enableInstancing()
void osg_material_manager::MaterialNode::enableInstancing |
( |
| ) |
|
◆ generateTangents()
void osg_material_manager::MaterialNode::generateTangents |
( |
| ) |
|
◆ getMaterial()
osg::ref_ptr< OsgMaterial > osg_material_manager::MaterialNode::getMaterial |
( |
| ) |
|
◆ getNodePosition()
◆ seperateMaterial()
void osg_material_manager::MaterialNode::seperateMaterial |
( |
| ) |
|
◆ setBlending()
void osg_material_manager::MaterialNode::setBlending |
( |
bool |
mode | ) |
|
|
virtual |
◆ setBrightness()
void osg_material_manager::MaterialNode::setBrightness |
( |
float |
val | ) |
|
◆ setDrawLineLaser()
void osg_material_manager::MaterialNode::setDrawLineLaser |
( |
bool |
val | ) |
|
◆ setExperimentalLineLaser()
Sets the line laser : position of the laser : normalvector of the laser-plane : color of the laser in RGB : Angle of the laser, as an direction-vector : Opening angle of the laser; for complete laserLine, choose PI.
Definition at line 217 of file MaterialNode.cpp.
◆ setMaterial()
void osg_material_manager::MaterialNode::setMaterial |
( |
OsgMaterial * |
m | ) |
|
◆ setMaxNumLights()
void osg_material_manager::MaterialNode::setMaxNumLights |
( |
int |
n | ) |
|
|
inline |
◆ setNeedInstancing()
void osg_material_manager::MaterialNode::setNeedInstancing |
( |
bool |
v, |
|
|
int |
numInstances |
|
) |
| |
◆ setNeedTangents()
void osg_material_manager::MaterialNode::setNeedTangents |
( |
bool |
v | ) |
|
◆ setTransparency()
void osg_material_manager::MaterialNode::setTransparency |
( |
float |
t | ) |
|
◆ setUseFog()
void osg_material_manager::MaterialNode::setUseFog |
( |
bool |
val | ) |
|
◆ setUseNoise()
void osg_material_manager::MaterialNode::setUseNoise |
( |
bool |
val | ) |
|
◆ setUseShadow()
void osg_material_manager::MaterialNode::setUseShadow |
( |
bool |
val | ) |
|
◆ updateLights()
◆ blendEquation_
osg::ref_ptr<osg::BlendEquation> osg_material_manager::MaterialNode::blendEquation_ |
|
protected |
◆ brightness_
float osg_material_manager::MaterialNode::brightness_ |
|
protected |
◆ brightnessUniform
osg::ref_ptr<osg::Uniform> osg_material_manager::MaterialNode::brightnessUniform |
|
protected |
◆ depth
osg::ref_ptr<osg::Depth> osg_material_manager::MaterialNode::depth |
|
protected |
◆ drawLineLaser
bool osg_material_manager::MaterialNode::drawLineLaser |
|
protected |
◆ drawLineLaserUniform
osg::ref_ptr<osg::Uniform> osg_material_manager::MaterialNode::drawLineLaserUniform |
|
protected |
◆ getLight
bool osg_material_manager::MaterialNode::getLight |
|
protected |
◆ isCreated
bool osg_material_manager::MaterialNode::isCreated |
|
protected |
◆ lightAmbientUniform
osg::ref_ptr<osg::Uniform> osg_material_manager::MaterialNode::lightAmbientUniform |
|
protected |
◆ lightConstantAttUniform
osg::ref_ptr<osg::Uniform> osg_material_manager::MaterialNode::lightConstantAttUniform |
|
protected |
◆ lightCosCutoffUniform
osg::ref_ptr<osg::Uniform> osg_material_manager::MaterialNode::lightCosCutoffUniform |
|
protected |
◆ lightDiffuseUniform
osg::ref_ptr<osg::Uniform> osg_material_manager::MaterialNode::lightDiffuseUniform |
|
protected |
◆ lightIsDirectionalUniform
osg::ref_ptr<osg::Uniform> osg_material_manager::MaterialNode::lightIsDirectionalUniform |
|
protected |
◆ lightIsSetUniform
osg::ref_ptr<osg::Uniform> osg_material_manager::MaterialNode::lightIsSetUniform |
|
protected |
◆ lightIsSpotUniform
osg::ref_ptr<osg::Uniform> osg_material_manager::MaterialNode::lightIsSpotUniform |
|
protected |
◆ lightLinearAttUniform
osg::ref_ptr<osg::Uniform> osg_material_manager::MaterialNode::lightLinearAttUniform |
|
protected |
◆ lightPosUniform
osg::ref_ptr<osg::Uniform> osg_material_manager::MaterialNode::lightPosUniform |
|
protected |
◆ lightQuadraticAttUniform
osg::ref_ptr<osg::Uniform> osg_material_manager::MaterialNode::lightQuadraticAttUniform |
|
protected |
◆ lightSpecularUniform
osg::ref_ptr<osg::Uniform> osg_material_manager::MaterialNode::lightSpecularUniform |
|
protected |
◆ lightSpotDirUniform
osg::ref_ptr<osg::Uniform> osg_material_manager::MaterialNode::lightSpotDirUniform |
|
protected |
◆ lightSpotExponentUniform
osg::ref_ptr<osg::Uniform> osg_material_manager::MaterialNode::lightSpotExponentUniform |
|
protected |
◆ lineLasePos
◆ lineLaserColor
osg::ref_ptr<osg::Uniform> osg_material_manager::MaterialNode::lineLaserColor |
|
protected |
◆ lineLaserDirection
osg::ref_ptr<osg::Uniform> osg_material_manager::MaterialNode::lineLaserDirection |
|
protected |
◆ lineLaserNormal
◆ lineLaserNormalUniform
osg::ref_ptr<osg::Uniform> osg_material_manager::MaterialNode::lineLaserNormalUniform |
|
protected |
◆ lineLaserOpeningAngle
osg::ref_ptr<osg::Uniform> osg_material_manager::MaterialNode::lineLaserOpeningAngle |
|
protected |
◆ lineLaserPosUniform
osg::ref_ptr<osg::Uniform> osg_material_manager::MaterialNode::lineLaserPosUniform |
|
protected |
◆ material
osg::ref_ptr<OsgMaterial> osg_material_manager::MaterialNode::material |
|
protected |
◆ materialState
osg::ref_ptr<osg::StateSet> osg_material_manager::MaterialNode::materialState |
|
protected |
◆ maxNumLights
int osg_material_manager::MaterialNode::maxNumLights |
|
protected |
◆ needInstancing
bool osg_material_manager::MaterialNode::needInstancing |
|
protected |
◆ needTangents
bool osg_material_manager::MaterialNode::needTangents |
|
protected |
◆ numInstances
int osg_material_manager::MaterialNode::numInstances |
|
protected |
◆ numLightsUniform
osg::ref_ptr<osg::Uniform> osg_material_manager::MaterialNode::numLightsUniform |
|
protected |
◆ shadow
bool osg_material_manager::MaterialNode::shadow |
|
protected |
◆ transparencyUniform
osg::ref_ptr<osg::Uniform> osg_material_manager::MaterialNode::transparencyUniform |
|
protected |
◆ useFog
bool osg_material_manager::MaterialNode::useFog |
|
protected |
◆ useFogUniform
osg::ref_ptr<osg::Uniform> osg_material_manager::MaterialNode::useFogUniform |
|
protected |
◆ useNoise
bool osg_material_manager::MaterialNode::useNoise |
|
protected |
◆ useNoiseUniform
osg::ref_ptr<osg::Uniform> osg_material_manager::MaterialNode::useNoiseUniform |
|
protected |
◆ useShadowUniform
osg::ref_ptr<osg::Uniform> osg_material_manager::MaterialNode::useShadowUniform |
|
protected |
The documentation for this class was generated from the following files:
- /Developer/bob-learning-dev/simulation/mars/common/graphics/osg_material_manager/src/MaterialNode.h
- /Developer/bob-learning-dev/simulation/mars/common/graphics/osg_material_manager/src/MaterialNode.cpp