User Interface Functions

The following functions can be used to invoke the different dialog editors and menus provided by the View3D widget class.

Function NameDescription
XintView3DAxisParametersTo display the axis parameters dialog editor.
XintView3DBackMaterialEditorTo display the back material dialog editor.
XintView3DClipPlaneEditorTo display the clipping planes dialog editor.
XintView3DFrontMaterialEditorTo display the front material dialog editor.
XintView3DGlobalParametersTo display the global parameter dialog editor.
XintView3DLightEditorTo display the light dialog editor.
XintView3DPlayMovieThis function will read the image data from a TIFF file.


XintView3DAxisParameters

This function invokes the axis parameters dialog editor. This dialog allows the end-user to modify the axis range, annotation, grid lines and labels.

     void XintView3DAxisParameters (...)

WidgetwidgetID of the View3D widget.


XintView3DBackMaterialEditor

This function invokes the back material dialog editor. If the object selected does not support a back material or if the back material is the same as the front material, the front material will be edited.

     void XintView3DBackMaterialEditor (...)

WidgetwidgetID of the View3D widget.


XintView3DClipPlaneEditor

This function invokes the clipping planes editor.

     void XintView3DClipPlaneEditor (...)

WidgetwidgetID of the View3D widget.


XintView3DFrontMaterialEditor

This function invokes the material dialog editor. If the object selected uses both a front and a back material, the front material will be selected for editing.

     void XintView3DFrontMaterialEditor (...)

WidgetwidgetID of the View3D widget.


XintView3DGlobalParameters

This function invokes the global parameters dialog editor.

     void XintView3DGlobalParameters (...)

WidgetwidgetID of the View3D widget.


XintView3DLightEditor

This function invokes the light dialog editor.

     void XintView3DLightEditor (...)

WidgetwidgetID of the View3D widget.


XintView3DPlayMovie

This function will create a movie player for displaying the images in a movie file. The movie file format includes a header and lists of TIFF files. The header is ten characters. The list of TIFF files must be one TIFF file per line. For example:

       View3D-MOV 3
       Movie1.tiff
       Movie2.tiff
       Movie3.tiff

     void XintView3DPlayMovie (...)

WidgetwidgetID of the View3D widget.
char *fileView3D movie file.