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);
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;
166 Widget buildFunctionsSubmenu(Widget popup);
167 Widget buildDrawStyleSubmenu(Widget popup);
virtual void setComponentCursor(const SoXtCursor &cursor)
Definition SoXtComponent.cpp:952
The SoXtCursor class is used to set cursors for GUI components.
Definition SoXtCursor.h:41
The SoXtFullViewer class adds some user interface components to the viewer canvas.
Definition SoXtFullViewer.h:44
BuildFlag
Definition SoXtFullViewer.h:48
Widget buildAppButtons(Widget parent)
Widget leftDecoration
Definition SoXtFullViewer.h:132
SbBool popupEnabled
Definition SoXtFullViewer.h:170
char * leftWheelStr
Definition SoXtFullViewer.h:137
Widget leftWheel
Definition SoXtFullViewer.h:128
SoXtPopupMenu * prefmenu
Definition SoXtFullViewer.h:148
SbPList * viewerButtonWidgets
Definition SoXtFullViewer.h:171
char * bottomWheelStr
Definition SoXtFullViewer.h:145
float leftWheelVal
Definition SoXtFullViewer.h:138
Widget bottomDecoration
Definition SoXtFullViewer.h:134
Widget bottomWheel
Definition SoXtFullViewer.h:130
Widget rightWheelLabel
Definition SoXtFullViewer.h:140
float bottomWheelVal
Definition SoXtFullViewer.h:146
char * rightWheelStr
Definition SoXtFullViewer.h:141
Widget rightDecoration
Definition SoXtFullViewer.h:133
Widget bottomWheelLabel
Definition SoXtFullViewer.h:144
float rightWheelVal
Definition SoXtFullViewer.h:142
Widget rightWheel
Definition SoXtFullViewer.h:129
Widget leftWheelLabel
Definition SoXtFullViewer.h:136
char * popupTitle
Definition SoXtFullViewer.h:169
The SoXtViewer class is the top level base viewer class.
Definition SoXtViewer.h:90
virtual void setViewing(SbBool enable)
Definition SoXtViewer.cpp:2149
virtual void sizeChanged(const SbVec2s &size)
Definition SoXtViewer.cpp:3657
virtual SbBool processSoEvent(const SoEvent *const event)
Definition SoXtViewer.cpp:3666