23#ifndef _SO_DIALOG_CHECK_BOX_
24#define _SO_DIALOG_CHECK_BOX_
150 static void initClass();
151 static void exitClass();
153 virtual void destroyWidget();
154 virtual void eventNotify(
unsigned int event, uintptr_t param);
156 virtual void updateFromSensor(
SoSensor* sensor);
158 void updateLabelWidget();
159 void updateCheckBoxWidget();
161 void applyDlgCptAuditor();
174 void changeOnOffString();
178 SbVec2i32 m_oonSize, m_ooffSize, m_olSize;
182 virtual SbVec2i32 getComponentInitSize();
186 void createLabelWidget();
187 void createCheckBoxWidget();
193 virtual void changeLabelVisibility();
194 virtual void changeEdgeStyle();
197 virtual void changeEnable();
199 virtual void changeLabel();
200 virtual void changeLabelAlignment();
205 static char* DialogCheckBox;
206 static void change3DSkin();
207 static SbBool isSkinLoaded();
208 static void setSkinLoaded(
SbBool loaded);
223 SoText3 *checkBoxString, *checkBoxLabel;
224 SoTranslation *checkBoxLabelTranslation, *checkBoxButtonTranslation;
225 SoTranslation *checkBoxStringTranslation, *checkBoxFrameTranslation;
229 virtual void change3DState();
230 void change3DOnOffString();
233 SbBox3f m_checkStringCachedBBox;
235 void create3DDialogCheckBox();
236 void update3DCheckBox();
237 void update3DLabel();
239 virtual void change3DLabelVisibility();
240 void change3DLabel();
241 virtual void change3DLabelAlignment();
243 static void finishCB3D(
void *,
SoDragger *inDragger );
244 virtual void draggerFinishCallback3D();
246 static SbBool m_isSkinLoaded;
#define SO_DG_HEADER(className)
#define FIELD_SENSOR(field)
#define SO_DG_CATALOG_ENTRY_HEADER(resource)
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Dialog CheckBox ...
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Dialog CheckBox ...
SoDialogCheckBox()
Constructor.
SoSFString offString
String used for state FALSE.
SoSFBool state
State of the check button.
void addAuditor(SoDialogCheckBoxAuditor *auditor)
Adds a dialogCheckBoxAuditor to current CheckBox component.
SoSFString onString
String used for state TRUE.
void removeAuditor(SoDialogCheckBoxAuditor *auditor)
Removes the specified checkBoxAuditor from the auditor list.
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Abstract base cl...
Base class for nodekits that move in response to click-drag-release mouse events.
Field containing a single Boolean value.
Field containing a string.
Node representing a 3D geometric scaling.
Abstract base class for Open Inventor sensors.
Group node that saves and restores traversal state.
Group node that traverses one chosen child.
Node representing a 3D translation.