Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

soxtslidersetbase(3iv) [debian man page]

SoXtSliderSetBase(3IV)()												  SoXtSliderSetBase(3IV)()

NAME
SoXtSliderSetBase -- abstract base class for Motif-only slider components INHERITS FROM
SoXtComponent > SoXtSliderSetBase SYNOPSIS
#include <Inventor/Xt/SoXtSliderSetBase.h> Methods from class SoXtSliderSetBase: virtual void setNode(SoNode *newNode) SoNode * getNode() const 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() const DESCRIPTION
This class is used as a base class for all editors which use Motif sliders to edit fields in an Inventor scene graph node. This class is not meant to be instanced by programmers who want to use an editor in a program. It should only be used as a base class when designing new editors. SoXtSliderSetBase is derived from SoXtComponent, but adds three concepts. First, there is a node to edit. Second, there are subcomponents. When an SoXtSliderSetBase is shown or hidden, so are its subcomponents. (As an example, an SoXtTransformSliderSet is composed of many sub- components). Third, an SoXtSliderSetBase has a layout size, which is used to lay out the subcomponents. METHODS
virtual void setNode(SoNode *newNode) Sets a new node as the node to be modified by this editor component. SoNode * getNode() const Returns a pointer to the node currently being modified by this editor component. SEE ALSO
SoXtComponent, SoXtSliderSet SoXtSliderSetBase(3IV)()

Check Out this Related Man Page

SoXtMaterialList(3IV)() 												   SoXtMaterialList(3IV)()

NAME
SoXtMaterialList -- component which lets you edit a material interactively INHERITS FROM
SoXtComponent > SoXtMaterialList SYNOPSIS
#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() const DESCRIPTION
This 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. METHODS
SoXtMaterialList(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 ALSO
SoXtComponent, SoCallbackList, SoMaterial, SoXtMaterialEditor SoXtMaterialList(3IV)()
Man Page