C.5 Display in Create MyHMI /3GL
C.5.1 X3D Viewer
If you want to display particular help screens in a separate OA application you must integrate
the X3D Viewer widget into its own OA application.
The X3D Viewer widget provides interfaces, which enable X3D contents to be presented in
the HMI.
Class SlX3dViewerWidget is provided for displaying graphical scenes. The definition of the
class can be found in the corresponding slx3dviewerwidget.h header file in the global GUI
include directory \hmi_prog\gui\include.
C.5.2 Class SlX3dViewerWidget
The class provides a flexible widget that autonomously displays the contents of a model file
specified during runtime and, if required, runs the animation.
The interface of the class comprises the Constructor, Destructor, and two methods for
controlling the graphical output.
As a direct derivative of the Qt class QWidget, a much more expansive interface is available,
which will not be described in any further detail here, (for example, show(), hide() and
resize(...). For more information, please refer to the Qt documentation).
C.5.3 Public methods
SlX3dViewerWidget ( QWidget* pParent = 0 )
Constructor of the X3D Viewer widget.
Parameters Meaning
pParent The parameter is passed on to the constructor of
the Qwidget.
~SlX3dViewerWidget ( )
Destructor of the X3D Viewer widget.
Parameters Meaning
- -
Animated elements
C.5 Display in Create MyHMI /3GL
SINUMERIK Integrate Run MyScreens (BE2)
Programming Manual, 12/2017, 6FC5397-1DP40-6BA1 319