|
OpenCMISS-Zinc C++ API Documentation
|
Module object for creating and managing scene viewers. More...
#include <sceneviewer.hpp>
Public Member Functions | |
| Sceneviewermodule (cmzn_sceneviewermodule_id in_sceneviewermodule_id) | |
| Sceneviewermodule (const Sceneviewermodule &sceneviewermodule) | |
| Sceneviewermodule & | operator= (const Sceneviewermodule &sceneviewermodule) |
| bool | isValid () const |
| cmzn_sceneviewermodule_id | getId () const |
| Sceneviewer | createSceneviewer (Sceneviewer::BufferingMode buffering_mode, Sceneviewer::StereoMode stereo_mode) |
| int | getDefaultBackgroundColourRGB (double *valuesOut3) |
| int | setDefaultBackgroundColourRGB (const double *valuesIn3) |
Protected Attributes | |
| cmzn_sceneviewermodule_id | id |
Module object for creating and managing scene viewers.
Module object for creating and managing scene viewers.
|
inline |
Returns a handle to a scene viewer object. The scene viewer attributes for buffering mode and stereo mode are also set.
| buffering_mode | The buffering mode in use for the OpenGL context. |
| stereo_mode | The stereo mode in use for the OpenGL context. |
|
inline |
Gets the default background colour for new scene viewers created from this scene viewer module. The component order in the array is [red, green, blue]
| valuesOut3 | The rgb components of the colour with values in [0, 1.0]. |
|
inline |
Return the C handle of the Sceneviewermodule object.
|
inline |
Check if this is a valid Sceneviewermodule object.
|
inline |
Sets the default background colour for new scene viewers created from this scene viewer module. Each component should be in the range [0, 1.0]. The component order is [red, green, blue].
| valuesIn3 | The RGB components of the colour. |
1.8.6