1 #ifndef SOXT_FULLVIEWER_H 2 #define SOXT_FULLVIEWER_H 38 #include <Inventor/Xt/viewers/SoXtViewer.h> 50 BUILD_DECORATION = 0x01,
52 BUILD_ALL = (BUILD_DECORATION | BUILD_POPUP)
55 void setDecoration(
const SbBool on);
56 SbBool isDecoration(
void)
const;
58 void setPopupMenuEnabled(
const SbBool on);
59 SbBool isPopupMenuEnabled(
void)
const;
61 Widget getAppPushButtonParent(
void)
const;
62 void addAppPushButton(Widget newButton);
63 void insertAppPushButton(Widget newButton,
int index);
64 void removeAppPushButton(Widget oldButton);
65 int findAppPushButton(Widget oldButton)
const;
66 int lengthAppPushButton(
void)
const;
68 Widget getRenderAreaWidget(
void)
const;
85 Widget buildWidget(Widget parent);
87 virtual void buildDecoration(Widget parent);
88 virtual Widget buildLeftTrim(Widget parent);
89 virtual Widget buildBottomTrim(Widget parent);
90 virtual Widget buildRightTrim(Widget parent);
91 Widget buildAppButtons(Widget parent);
92 Widget buildViewerButtons(Widget parent);
93 virtual void createViewerButtons(Widget parent, SbPList * buttonlist);
95 virtual void buildPopupMenu(
void);
96 virtual void setPopupMenuString(
const char * title);
97 virtual void openPopupMenu(
const SbVec2s position);
99 virtual void leftWheelStart(
void);
100 virtual void leftWheelMotion(
float);
101 virtual void leftWheelFinish(
void);
102 float getLeftWheelValue(
void)
const;
103 void setLeftWheelValue(
const float value);
105 virtual void bottomWheelStart(
void);
106 virtual void bottomWheelMotion(
float);
107 virtual void bottomWheelFinish(
void);
108 float getBottomWheelValue(
void)
const;
109 void setBottomWheelValue(
const float value);
111 virtual void rightWheelStart(
void);
112 virtual void rightWheelMotion(
float);
113 virtual void rightWheelFinish(
void);
114 float getRightWheelValue(
void)
const;
115 void setRightWheelValue(
const float value);
117 void setLeftWheelString(
const char *
const name);
118 Widget getLeftWheelLabelWidget(
void)
const;
119 void setBottomWheelString(
const char *
const name);
120 Widget getBottomWheelLabelWidget(
void)
const;
121 void setRightWheelString(
const char *
const name);
122 const char * getRightWheelString()
const;
123 Widget getRightWheelLabelWidget(
void)
const;
155 class SoXtFullViewerP * pimpl;
157 friend class SoGuiFullViewerP;
158 friend class SoXtFullViewerP;
164 #ifdef __COIN_SOXT__ // FIXME: get rid of non-templatized code. 20020108 mortene. 166 Widget buildFunctionsSubmenu(Widget popup);
167 Widget buildDrawStyleSubmenu(Widget popup);
172 #endif // __COIN_SOXT__ 177 #endif // ! SOXT_FULLVIEWER_H SbBool popupEnabled
Definition: SoXtFullViewer.h:170
char * popupTitle
Definition: SoXtFullViewer.h:169
Widget bottomDecoration
Definition: SoXtFullViewer.h:134
Widget bottomWheel
Definition: SoXtFullViewer.h:130
float bottomWheelVal
Definition: SoXtFullViewer.h:146
SoXtPopupMenu * prefmenu
Definition: SoXtFullViewer.h:148
char * rightWheelStr
Definition: SoXtFullViewer.h:141
Widget bottomWheelLabel
Definition: SoXtFullViewer.h:144
Widget rightDecoration
Definition: SoXtFullViewer.h:133
float leftWheelVal
Definition: SoXtFullViewer.h:138
char * leftWheelStr
Definition: SoXtFullViewer.h:137
Widget rightWheel
Definition: SoXtFullViewer.h:129
The SoXtCursor class is used to set cursors for GUI components.
Definition: SoXtCursor.h:41
BuildFlag
Definition: SoXtFullViewer.h:48
virtual SbBool processSoEvent(const SoEvent *const event)
Definition: SoXtViewer.cpp:3660
virtual void setViewing(SbBool enable)
Definition: SoXtViewer.cpp:2147
char * bottomWheelStr
Definition: SoXtFullViewer.h:145
Widget leftDecoration
Definition: SoXtFullViewer.h:132
The SoXtFullViewer class adds some user interface components to the viewer canvas.
Definition: SoXtFullViewer.h:44
The SoXtViewer class is the top level base viewer class.
Definition: SoXtViewer.h:90
Widget leftWheelLabel
Definition: SoXtFullViewer.h:136
Type
Definition: SoXtViewer.h:94
Widget rightWheelLabel
Definition: SoXtFullViewer.h:140
virtual void setComponentCursor(const SoXtCursor &cursor)
Definition: SoXtComponent.cpp:952
SbPList * viewerButtonWidgets
Definition: SoXtFullViewer.h:171
virtual void sizeChanged(const SbVec2s &size)
Definition: SoXtViewer.cpp:3651
float rightWheelVal
Definition: SoXtFullViewer.h:142
Widget leftWheel
Definition: SoXtFullViewer.h:128