| Top |
| gboolean | axes-visible | Read / Write |
| gboolean | fmscale-reserve-space | Read / Write |
| double | fmscale-size | Read / Write |
| gboolean | fmscale-visible | Read / Write |
| double | fmscale-y-align | Read / Write |
| gboolean | hide-masked | Read / Write |
| gboolean | labels-visible | Read / Write |
| double | light-phi | Read / Write |
| double | light-theta | Read / Write |
| double | line-width | Read / Write |
| GwyGLProjection | projection | Read / Write |
| double | rotation-x | Read / Write |
| double | rotation-y | Read / Write |
| double | scale | Read / Write |
| GwyGLVisualization | visualization | Read / Write |
| double | z-scale | Read / Write |
| enum | GwyGLMovement |
| enum | GwyGLProjection |
| enum | GwyGLVisualization |
| enum | GwyGLViewLabel |
| struct | GwyGLSetup |
| struct | GwyGLSetupClass |
GwyGLSetup represents a basic 3D scene setup: viewpoint, projection, light, scale, etc. It is serializable and used to represent the GwyGLView setup.
Its components can be read directly in the struct or generically with g_object_get(). To set them you it is
necessary to use g_object_set().
GwyGLSetup *
gwy_gl_setup_new (void);
Creates a new OpenGL view setup with default values.
OpenGL 3D view data visualization type.
|
Data are displayed with color corresponding to 2D view. |
||
|
Data are displayed as an uniform material with some lighting. |
||
|
Data are displayed with grading and lighting, with colour possibly taken from a different data field. |
||
|
Data are displayed with grading and lighting, with colour possibly taken from a different data field. |
“axes-visible” property “axes-visible” gboolean
Whether axes are visible.
Owner: GwyGLSetup
Flags: Read / Write
Default value: TRUE
“fmscale-reserve-space” property “fmscale-reserve-space” gboolean
Whether to reserve horizontal space for the false colour scale.
Owner: GwyGLSetup
Flags: Read / Write
Default value: TRUE
“fmscale-size” property “fmscale-size” double
Size of false colour scale relative to view height.
Owner: GwyGLSetup
Flags: Read / Write
Allowed values: [0,1]
Default value: 1
“fmscale-visible” property “fmscale-visible” gboolean
Whether false color bar is visible.
Owner: GwyGLSetup
Flags: Read / Write
Default value: FALSE
“fmscale-y-align” property “fmscale-y-align” double
Vertical alignment of false colour scale.
Owner: GwyGLSetup
Flags: Read / Write
Allowed values: [0,1]
Default value: 0.5
“hide-masked” property “hide-masked” gboolean
Hide masked vertices.
Owner: GwyGLSetup
Flags: Read / Write
Default value: FALSE
“labels-visible” property “labels-visible” gboolean
Whether axis labels are visible if axes are visible.
Owner: GwyGLSetup
Flags: Read / Write
Default value: TRUE
“light-phi” property “light-phi” double
Light source direction azimuth in horizontal plane, in radians.
Owner: GwyGLSetup
Flags: Read / Write
Default value: 0
“light-theta” property “light-theta” double
Light source direction deviation from the z-axis, in radians.
Owner: GwyGLSetup
Flags: Read / Write
Default value: 0
“line-width” property “line-width” double
Width of axis lines and ticks, in pixels.
Owner: GwyGLSetup
Flags: Read / Write
Allowed values: [1,10]
Default value: 1
“projection” property“projection” GwyGLProjection
The type of the projection.
Owner: GwyGLSetup
Flags: Read / Write
Default value: GWY_GL_PROJECTION_ORTHOGRAPHIC
“rotation-x” property “rotation-x” double
Angle of the first rotation around x-axis, in radians.
Owner: GwyGLSetup
Flags: Read / Write
Default value: 0.785398
“rotation-y” property “rotation-y” double
Angle of the second rotation around y-axis, in radians.
Owner: GwyGLSetup
Flags: Read / Write
Default value: -0.785398
“scale” property “scale” double
Overall view scale.
Owner: GwyGLSetup
Flags: Read / Write
Allowed values: >= G_MINDOUBLE
Default value: 1
“visualization” property“visualization” GwyGLVisualization
Data visualization type.
Owner: GwyGLSetup
Flags: Read / Write
Default value: GWY_GL_VISUALIZATION_GRADIENT