Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

SoXtMaterialSliderSet — component with Motif sliders for editing SoMaterial nodes

Description

       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.

Inherits From

       SoXtComponent > SoXtSliderSetBase > SoXtSliderSet > SoXtMaterialSliderSet

Methods

SoXtMaterialSliderSet(Widgetparent=NULL,constchar*name=NULL,SbBoolbuildInsideParent=TRUE,SoNode*newEditNode=NULL)~SoXtMaterialSliderSet()
          Constructor and destructor. At construction time the material node to edit can be supplied.

Name

       SoXtMaterialSliderSet — component with Motif sliders for editing SoMaterial nodes

See Also

SoXtMaterialEditor,SoXtSliderSet,SoXtSliderSetBase,SoXtComponent,SoMaterial,SoNodeSoXtMaterialSliderSet(3IV)()

Synopsis

#include<Inventor/Xt/SoXtMaterialSliderSet.h>

          Methods from class SoXtMaterialSliderSet:

                         SoXtMaterialSliderSet(Widgetparent=NULL,constchar*name=NULL,SbBoolbuildInsideParent=TRUE,SoNode*newEditNode=NULL)~SoXtMaterialSliderSet()

          Methods from class SoXtSliderSetBase:

     virtualvoidsetNode(SoNode*newNode)SoNode*getNode()const

          Methods from class SoXtComponent:

     virtualvoidshow()virtualvoidhide()SbBoolisVisible()WidgetgetWidget()constSbBoolisTopLevelShell()constWidgetgetShellWidget()constWidgetgetParentWidget()constvoidsetSize(constSbVec2s&size)SbVec2sgetSize()Display*getDisplay()voidsetTitle(constchar*newTitle)constchar*getTitle()constvoidsetIconTitle(constchar*newIconTitle)constchar*getIconTitle()constvoidsetWindowCloseCallback(SoXtComponentCB*func,void*data=NULL)staticSoXtComponent*getComponent(Widgetw)constchar*getWidgetName()constconstchar*getClassName()const

See Also