1#ifndef SOWX_FULLVIEWER_H
2#define SOWX_FULLVIEWER_H
38#include <Inventor/Wx/viewers/SoWxViewer.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 wxWindow* getAppPushButtonParent(
void)
const;
62 void addAppPushButton(wxWindow* newButton);
63 void insertAppPushButton(wxWindow* newButton,
int index);
64 void removeAppPushButton(wxWindow* oldButton);
65 int findAppPushButton(wxWindow* oldButton)
const;
66 int lengthAppPushButton(
void)
const;
68 wxWindow* getRenderAreaWidget(
void)
const;
85 wxWindow* buildWidget(wxWindow* parent);
87 virtual void buildDecoration(wxWindow* parent);
88 virtual wxWindow* buildLeftTrim(wxWindow* parent);
89 virtual wxWindow* buildBottomTrim(wxWindow* parent);
90 virtual wxWindow* buildRightTrim(wxWindow* parent);
91 wxWindow* buildAppButtons(wxWindow* parent);
92 wxWindow* buildViewerButtons(wxWindow* parent);
93 virtual void createViewerButtons(wxWindow* 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 wxWindow* getLeftWheelLabelWidget(
void)
const;
119 void setBottomWheelString(
const char *
const name);
120 wxWindow* getBottomWheelLabelWidget(
void)
const;
121 void setRightWheelString(
const char *
const name);
122 const char * getRightWheelString()
const;
123 wxWindow* getRightWheelLabelWidget(
void)
const;
155 class SoWxFullViewerP * pimpl;
157 friend class SoGuiFullViewerP;
158 friend class SoWxFullViewerP;
166 Widget buildFunctionsSubmenu(Widget popup);
167 Widget buildDrawStyleSubmenu(Widget popup);
171 SbPList * viewerButtonWidgets;
virtual void setComponentCursor(const SoWxCursor &cursor)
Definition SoWxComponent.cpp:228
The SoWxCursor class is used to set cursors for GUI components.
Definition SoWxCursor.h:41
The SoWxFullViewer class adds some user interface components to the viewer canvas.
Definition SoWxFullViewer.h:44
SoWxPopupMenu * prefmenu
Definition SoWxFullViewer.h:148
wxWindow * leftWheelLabel
Definition SoWxFullViewer.h:136
wxWindow * bottomWheelLabel
Definition SoWxFullViewer.h:144
wxWindow * leftWheel
Definition SoWxFullViewer.h:128
float bottomWheelVal
Definition SoWxFullViewer.h:146
wxWindow * bottomDecoration
Definition SoWxFullViewer.h:134
wxWindow * rightWheel
Definition SoWxFullViewer.h:129
wxWindow * bottomWheel
Definition SoWxFullViewer.h:130
wxWindow * rightDecoration
Definition SoWxFullViewer.h:133
float leftWheelVal
Definition SoWxFullViewer.h:138
char * bottomWheelStr
Definition SoWxFullViewer.h:145
float rightWheelVal
Definition SoWxFullViewer.h:142
wxWindow * leftDecoration
Definition SoWxFullViewer.h:132
wxWindow * rightWheelLabel
Definition SoWxFullViewer.h:140
char * rightWheelStr
Definition SoWxFullViewer.h:141
BuildFlag
Definition SoWxFullViewer.h:48
char * leftWheelStr
Definition SoWxFullViewer.h:137
The SoWxViewer class is the top level base viewer class.
Definition SoWxViewer.h:90
virtual SbBool processSoEvent(const SoEvent *const event)
Definition SoWxViewer.cpp:3666
virtual void setViewing(SbBool enable)
Definition SoWxViewer.cpp:2149
virtual void sizeChanged(const SbVec2s &size)
Definition SoWxViewer.cpp:3657