![]() |
![]() |
![]() |
![]() |
GDmodes_xxxx
Synopsis
access the Graphics Display Kit modes
void _ GDmodes_get_mode ( modes_id , _int _* mode );
void _ GDmodes_get_normals ( modes_id , _int _* normals );
void _ GDmodes_get_colors ( modes_id , _int _* colors );
void GDmodes_get_outline (OMobj_id, int *outline););
OMobj_id _ modes_id ;void _ GDmodes_set_points ( modes_id , _int _ points _);
void _ GDmodes_set_lines ( modes_id , _int _ lines _);
void _ GDmodes_set_surf ( modes_id , _int _ surf _);
void _ GDmodes_set_volume ( modes_id , _int _ volume _);
void _ GDmodes_set_bounds ( modes_id , _int _ bounds _);
void _ GDmodes_set_normals ( modes_id , _int _ normals _);
void _ GDmodes_set_colors ( modes_id , _int _ colors _);
void GDmodes_set_outline (OMobj_id, int outline);void _ GDmodes_delete (
NULL,
OMobj_id _ modes_id ,
0,
GDmodes _* modes _);void _ GDmodes_reset (GDmodes _* modes );
Description
These routines are used to access the Graphics Display Kit modes.
The GDmodes_get_xxxx routines get the subobject values of the modes. The GDmodes_set_xxxx routines set the subobject values of the modes. These routines are used by the Graphics Display Kit modes editor (i.e., GDmodes_edit).
GDmodes_delete deletes the modes. This method is called directly by the Object Manager when the modes are deleted.
GDmodes_reset resets the mode's subobjects to their default values. The default values are those in specified in DefaultModes.
GDmodes_get/set_outline gets and sets the value of the outline flag.
To create an instance of modes, call the utility routine GDcreate_instance.
Parameters
The other parameters in the get/set routines correspond to subobjects of the modes object. Symbolic constants are available for most parameters.
Example
/* Get and set a modes object's lines subobject. */
OMobj_id modes_id; /* Assume this has been set. */
GDmodes_get_lines(modes_id, &lines_mode);
![]() |
![]() |
![]() |
![]() |