Query: soxtmateriallist
OS: debian
Section: 3iv
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
SoXtMaterialList(3IV)() SoXtMaterialList(3IV)()NAMESoXtMaterialList -- component which lets you edit a material interactivelyINHERITS FROMSoXtComponent > SoXtMaterialListSYNOPSIS#include <Inventor/Xt/SoXtMaterialList.h> typedef void SoXtMaterialListCB(void *userData, const SoMaterial *mtl) Methods from class SoXtMaterialList: SoXtMaterialList(Widget parent = NULL, const char *name = NULL, SbBool buildInsideParent = TRUE, const char *dir = NULL) ~SoXtMaterialList() addCallback(SoXtMaterialListCB *f, void *userData = NULL) removeCallback(SoXtMaterialListCB *f, void *userData = NULL) Methods from class SoXtComponent: virtual void show() virtual void hide() SbBool isVisible() Widget getWidget() const SbBool isTopLevelShell() const Widget getShellWidget() const Widget getParentWidget() const void setSize(const SbVec2s &size) SbVec2s getSize() Display * getDisplay() void setTitle(const char *newTitle) const char * getTitle() const void setIconTitle(const char *newIconTitle) const char * getIconTitle() const void setWindowCloseCallback(SoXtComponentCB *func, void *data = NULL) static SoXtComponent * getComponent(Widget w) const char * getWidgetName() const const char * getClassName() constDESCRIPTIONThis class is used to choose an SoMaterial from palettes of predefined materials (for example, gold, silver, or bronze from the metal pal- ette; emerald, pearl, or ruby from the stones palette). The chosen material is passed to callback functions registered with this component.METHODSSoXtMaterialList(Widget parent = NULL, const char *name = NULL, SbBool buildInsideParent = TRUE, const char *dir = NULL) ~SoXtMaterialList() The constructor is passed a directory name which serves as the home directory for the material palettes. You can have any number of pal- ettes in this directory. A palette is a subdirectory that contains Inventor data files, where each file describes one material. Prede- fined Inventor materials are found in /usr/share/data/materials. addCallback(SoXtMaterialListCB *f, void *userData = NULL) removeCallback(SoXtMaterialListCB *f, void *userData = NULL) Register functions that will be called whenever the user chooses a new material from the list. Each callback when invoked will be passed the userData pointer, along with a pointer to the newly selected material.SEE ALSOSoXtComponent, SoCallbackList, SoMaterial, SoXtMaterialEditor SoXtMaterialList(3IV)()
Related Man Pages |
---|
soxtconstrainedviewer(3iv) - debian |
soxtflyviewer(3iv) - debian |
soxtfullviewer(3iv) - debian |
soxtmaterialsliderset(3iv) - debian |
soxttransformsliderset(3iv) - debian |
Similar Topics in the Unix Linux Community |
---|
pearl |
UnixAcademy.com ??? |
Search two patterns using awk to print the variable sum |