23#ifndef _SO_DIALOG_COMPONENT_
24#define _SO_DIALOG_COMPONENT_
26#include <DialogViz/dialog/SoTopComponent.h>
27#include <Inventor/fields/SoSFEnum.h>
28#include <Inventor/fields/SoSFInt32.h>
153 static void initClass();
154 static void exitClass();
156 virtual void destroyWidget();
157 virtual SoWidget getLabelWidget();
158 virtual void eventNotify(
unsigned int event, uintptr_t param);
159 virtual void updateFromSensor(
SoSensor* sensor);
160 virtual void setLabelSize(
SbVec2i32& size);
161 virtual void setComponentSize(
SbVec2i32 &size);
162 virtual SbVec2i32 getComponentInitSize();
164 virtual void setFocus() {};
165 virtual void changeWidgetEnable(
SbBool state);
166 virtual void resetSize();
168 SoWidget getWidget();
175 SoWidget m_labelWidget;
176 bool m_ownLabelWidget;
178 SoWidget m_componentWidget;
193 virtual void changeLabelVisibility() {};
194 virtual void changeLabelAlignment();
195 virtual void changeEdgeStyle();
196 virtual void updateComponentWidget();
197 virtual void changeEnable();
198 virtual void changeWidth();
199 virtual void changeHeight();
200 virtual void changeMinMaxSize();
219 void createComponentWidget(SoWidget parent);
220 void setSize(int32_t sw, int32_t sh, int32_t smw, int32_t smh, int32_t smmw, int32_t smmh);
221 void setDefaultState();
226 static char* DialogComponent;
227 static void change3DSkin();
228 static SbBool isSkinLoaded();
229 static void setSkinLoaded(
SbBool loaded);
231 SO_DG_CATALOG_ENTRY_HEADER(mainCptSeparator);
232 SO_DG_CATALOG_ENTRY_HEADER(edgeStyleSwitch);
233 SO_DG_CATALOG_ENTRY_HEADER(edgeStyleNone);
234 SO_DG_CATALOG_ENTRY_HEADER(edgeStyleShadowIn);
235 SO_DG_CATALOG_ENTRY_HEADER(edgeStyleShadowOut);
243 float m_mComponentCachedDepth;
245 virtual void change3DLabelVisibility() {};
246 virtual void change3DEdgeStyle();
250 void update3DDialogComponent();
251 void create3DDialogComponent();
253 static SbBool m_isSkinLoaded;
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Abstract base cl...
SoSFBool fixedWidth
When set to FALSE, this allows the component to be resized in the width direction.
SoSFBool fixedHeight
When set to FALSE, this allows the component to be resized in the height direction.
SoSFInt32 height
Preferred height of the element.
SoSFEnum edgeStyle
Controls the appearance of the edges of the component.
@ NONE
The component does not have any border (default).
@ SHADOW_OUT
The component edge appears raised (sticks out).
@ SHADOW_IN
The component edge appears depressed (goes in).
SoSFInt32 maxHeight
Sets maximum component height.
SoSFInt32 minHeight
Sets minimum component height.
SoSFInt32 minWidth
Sets minimum component width.
SoSFInt32 width
Preferred width of the element.
SoSFBool labelVisibility
Specifies if the label of the component defined in SoDialogViz is visible or not.
SoSFInt32 maxWidth
Sets maximum component width.
Computes bounding box of a scene.
Field containing a single Boolean value.
Field containing an enumerated value.
Field containing a int32_t integer.
Node representing a 3D geometric scaling.
Abstract base class for Open Inventor sensors.
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Abstract Class f...
Node representing a 3D translation.