23#ifndef _SO_DIALOG_GROUP_
24#define _SO_DIALOG_GROUP_
29class SoDialogGroupAuditor;
157 static void initClass();
158 static void exitClass();
159 virtual void updateFromSensor(
SoSensor* sensor);
160 SbBool isVScrollVisible() {
return m_vScrollVisible;};
161 void updateAfterSceneGraphChange();
162 virtual void resetSize();
163 virtual void destroyWidget();
166 virtual void internalRemoveChild(
int index ) {
removeChild(index); }
167 virtual void internalRemoveChild(
SoNode *child ) {
removeChild(internalFindChild(child)); }
169 virtual void internalAddChild(
SoNode *child );
170 virtual int internalFindChild(
const SoNode *child )
const;
171 virtual void internalInsertChild(
SoNode *child,
int newChildIndex );
172 virtual SoNode *internalGetChild(
int index)
const {
return getChild(index); }
173 virtual void internalReplaceChild(
int index,
SoNode *newChild);
179 virtual SbBool readInstance(
SoInput *in,
unsigned short flags);
184 int m_arrayNumChildren;
194 int m_numberOfChildren;
199 virtual void fixSizeWithBorder(
SbVec2i32 &
size,
int revert = 1);
201 virtual SbVec2i32 getComponentInitSize();
204 virtual void setChildrenComponentSize() {};
205 virtual void setChildrenLabelSize() {};
208 void setScrollProperties();
209 void updateGroupWidgetScrollPosition();
210 void updateChildrenSizeDB();
212 virtual void changeEnable();
213 virtual void changeWidgetEnable(
SbBool state);
221 SoDialogGroupAuditor* m_defaultAuditor;
227 virtual void change3DPosition();
228 virtual void change3DEnable();
229 virtual void change3DWidgetEnable(
SbBool state);
virtual size_t getSize()
Return the max size of the cache (number of buffers).
#define SO_DG_HEADER(className)
Class for smart character strings.
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Dialog auditor
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Abstract base cl...
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Abstract base cl...
SoDialogViz * searchForAuditorId(SbString id)
Retrieves the DialogViz object from the specified auditorID field in an SoDialogGroup structure.
SoSFBool windowResizedByChildren
Control the window sizing when a child is added or removed.
virtual void removeChild(SoDialogComponent *child)
Removes first instance of given child from group.
virtual void removeAllChildren()
Removes all children from group.
virtual void insertChild(SoDialogComponent *child, int newChildIndex)
Adds a child so that it becomes the one with the given index.
virtual void addChild(SoDialogComponent *child)
Adds a child as last one in group.
virtual int findChild(const SoDialogComponent *child) const
Finds index of given child within group.
void removeAuditor(SoDialogAuditor *auditor)
Removes the specified DialogGroupAuditor from the auditor list.
virtual void removeChild(int index)
Removes child with given index from group.
void addAuditor(SoDialogAuditor *auditor)
Adds a dialogGroupAuditor to the current column component.
virtual int getNumChildren() const
Returns number of children.
SoSFInt32 margin
Specifies the margin width.
virtual SoNode * getChild(int index) const
Returns pointer to child node with the given index.
void applyAuditors()
Applies all DialogGroupAuditors in the auditor list.
SoSFEnum vScrollVisibility
Control how vertical scrollbar appears.
@ AUTO
Automatic scroll bar : displayed when needed (Default).
@ NEVER
Scroll bar never displayed.
@ ALWAYS
Sscroll bar always visible.
virtual void replaceChild(SoDialogComponent *oldChild, SoDialogComponent *newChild)
Replaces first instance of given child with new child.
SoSFEnum hScrollVisibility
Control how horizontal scrollbar appears.
virtual void replaceChild(int index, SoDialogComponent *newChild)
Replaces child with given index with new child.
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Abstract base cl...
Computes bounding box of a scene.
Abstract base class for all database nodes.
Intersects objects with a ray cast into scene.
Field containing a single Boolean value.
Field containing an enumerated value.
Field containing a int32_t integer.
Searches for nodes in a scene graph.
Abstract base class for Open Inventor sensors.
Writes a scene graph to a file.