23#ifndef _SO_MENU_POPUP_
24#define _SO_MENU_POPUP_
26#include <DialogViz/dialog/SoMenuItem.h>
146 virtual void buildMenu(
void* parent,
SbBool isActive2d,
int index = -1);
147 static void initClass();
148 static void exitClass();
149 virtual void updateFromSensor(
SoSensor* sensor);
150 virtual void destroyNoDeleteMenuItem();
152 virtual void updateAfterSceneGraphChange();
155 virtual void internalRemoveChild(
int index ) {
removeChild(index); }
160 virtual void internalInsertChild(
SoNode *child,
int newChildIndex ) {
insertChild(
dynamic_cast<SoMenuItem*
>(child), newChildIndex); }
161 virtual SoNode *internalGetChild(
int index)
const {
return getChild(index); }
168 virtual SbBool readInstance(
SoInput *in,
unsigned short flags);
174 virtual void changeLabel();
175 virtual void changeEnable();
178 int m_numberOfChildren;
179 void* m_menuPopupWin;
183 void insertMenuItem(
int index);
184 void updateMenuItem();
191 static char* MenuPopup;
192 static void change3DSkin();
193 static SbBool isSkinLoaded();
194 static void setSkinLoaded(
SbBool loaded);
196 virtual void get3DDefaultSize(
SbVec3f& size);
197 void show3DChildren(
SbBool show);
198 virtual void change3DPosition();
199 void update3DChildren();
200 void update3DChildrenSize();
203 SO_DG_CATALOG_ENTRY_HEADER( frameSep );
204 SO_DG_CATALOG_ENTRY_HEADER( frameSwitch );
205 SO_DG_CATALOG_ENTRY_HEADER( released );
206 SO_DG_CATALOG_ENTRY_HEADER( pressed );
207 SO_DG_CATALOG_ENTRY_HEADER( shapeReleased );
208 SO_DG_CATALOG_ENTRY_HEADER( shapePressed );
214 virtual void set3DInactive();
218 float m_mPopupCachedDepth;
219 float m_mChildrenCachedDepth;
220 static SbBool m_isSkinLoaded;
222 void create3DPopup(
int index);
223 void update3DPopup();
225 static void startCB3D(
void *,
SoDragger *inDragger );
226 virtual void draggerStartCallback3D();
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...
Base class for nodekits that move in response to click-drag-release mouse events.
Computes bounding box of a scene.
Abstract base class for all database nodes.
Intersects objects with a ray cast into scene.
Node representing a 3D geometric scaling.
Searches for nodes in a scene graph.
Abstract base class for Open Inventor sensors.
Node representing a 3D translation.
Writes a scene graph to a file.