Component with Motif sliders for editing SoMaterial nodes. More...
#include <Inventor/Xt/SoXtMaterialSliderSet.h>
Public Member Functions | |
SoXtMaterialSliderSet (SoWidget parent=NULL, const char *name=NULL, SbBool buildInsideParent=TRUE, SoNode *newEditNode=NULL) | |
~SoXtMaterialSliderSet () |
Component with Motif sliders for editing SoMaterial nodes.
This class defines an editor that uses Motif Sliders to edit the fields in an SoMaterial node. There are sliders for editing the RGB values of ambientColor, diffuseColor, specularColor and emissiveColor, as well as for editing the transparency and shininess values.
!!------------------------------------------------ !! Material Slider Set !!------------------------------------------------ *IvMaterialSliderAmbient.labelString: AMBIENT *IvMaterialSliderAmbientRed.labelString: Ambient Red *IvMaterialSliderAmbientGreen.labelString: Ambient Green *IvMaterialSliderAmbientBleu.labelString: Ambient Blue *IvMaterialSliderDiffuse.labelString: DIFFUSE *IvMaterialSliderDiffuseRed.labelString: Diffuse Red *IvMaterialSliderDiffuseGreen.labelString: Diffuse Green *IvMaterialSliderDiffuseBleu.labelString: Diffuse Blue *IvMaterialSliderSpecular.labelString: SPECULAR *IvMaterialSliderSpecularRed.labelString: Specular Red *IvMaterialSliderSpecularGreen.labelString: Specular Green *IvMaterialSliderSpecularBleu.labelString: Specular Blue *IvMaterialSliderEmissive.labelString: EMISSIVE *IvMaterialSliderEmissiveRed.labelString: Emissive Red *IvMaterialSliderEmissiveGreen.labelString: Emissive Green *IvMaterialSliderEmissiveBlue.labelString: Emissive Blue *IvMaterialSliderShininess.labelString: SHININESS *IvMaterialSliderShininessShininess.labelString: shininess *IvMaterialSliderTransparency.labelString: TRANSPARENCY *IvMaterialSliderTransparencyTransparency.labelString: transparency
SoXtMaterialEditor, SoXtSliderSet, SoXtSliderSetBase, SoXtComponent, SoMaterial, SoNode
SoXtMaterialSliderSet::SoXtMaterialSliderSet | ( | SoWidget | parent = NULL , |
|
const char * | name = NULL , |
|||
SbBool | buildInsideParent = TRUE , |
|||
SoNode * | newEditNode = NULL | |||
) |
Constructor.
At construction time the material node to edit can be supplied.
SoXtMaterialSliderSet::~SoXtMaterialSliderSet | ( | ) |
Destructor.