View object.
#include <ayam.h>
Data Fields | |
| struct Togl * | togl |
| pointer to corresponding Togl widget structure | |
| int | type |
| view type (AY_VT*) (Persp., Front, Side, Top, Trim) | |
| int | drawmode |
| drawing mode (AY_DM*) (Wire, Shade, ShadeWire, . | |
| int | local |
| edit space (0 - global (world), 1 - level, 2 - object) | |
| int | aligned |
| view is currently aligned to level or object space? | |
| int | drawsel |
| draw selected objects (and their children) only? | |
| int | drawlevel |
| draw current level (and below) only? | |
| int | redraw |
| automatic redraw? | |
| double | grid |
| gridsize, 0.0 == no grid | |
| int | drawgrid |
| draw grid? | |
| int | usegrid |
| use (snap to) grid? | |
| int | antialiaslines |
| use antialiasing for line drawing? | |
| int | ppreview |
| create a permanent preview? | |
| int | drawobjectcs |
| draw object coordinate system? | |
| double | from [3] |
| viewpoint | |
| double | to [3] |
| aim point | |
| double | up [3] |
| up vector | |
| double | roll |
| roll angle | |
| double | zoom |
| zoom factor | |
| double | nearp |
| near clipping plane | |
| double | farp |
| far clipping plane | |
| int | drawrect |
| draw the selection rectangle? | |
| int | drawmark |
| draw the mark? | |
| int | isicon |
| is the view window iconified? | |
| int | drawhandles |
| is a modelling action active that needs to display handles? | |
| int | drawaxis |
| which cs axis to highlight for rotate action? (0:no, 1:x, 2:y, 3:z) | |
| int | dirty |
| need to call reshape before drawing? | |
| char * | bgimage |
| the background image file name | |
| int | bgimagedirty |
| reload background image? | |
| int | drawbgimage |
| draw background image? | |
| int | id |
| unique identifier, for plugins (e.g. AyCSG) that need to tie exclusive resources (e.g. offscreen buffers) to views | |
| int | transform_points |
| transform points (1) or objects (0)? | |
| int | enable_undo |
| enable undo for view actions? (0 no, 1 yes*) | |
| Togl_Callback * | altdispcb |
| alternative display callback, for plugins that like to take over drawing (e.g. AyCSG) | |
| int | action_state |
| is an action active in this view? (0 no, 1 yes) | |
| int | full_notify |
| controls scope of next notification | |
| GLuint | textures [3] |
| textures, index via AY_TI* | |
| int | texturestate [3] |
| texture upload state, index via AY_TI* | |
| double | rotx |
| temporarily in use for rotation with cursor keys | |
| double | roty |
| temporarily in use for rotation with cursor keys | |
| double | rotz |
| temporarily in use for rotation with cursor keys | |
| double | conv_x |
| how to get from win to world coordinates (in parallel views!) | |
| double | conv_y |
| how to get from win to world coordinates (in parallel views!) | |
| double | rect_xmin |
| rectangle, drawn e.g. while drag-selecting objects or points | |
| double | rect_xmax |
| rectangle, drawn e.g. while drag-selecting objects or points | |
| double | rect_ymin |
| rectangle, drawn e.g. while drag-selecting objects or points | |
| double | rect_ymax |
| rectangle, drawn e.g. while drag-selecting objects or points | |
| double | markworld [3] |
| mark a point in space | |
| double | markx |
| mark a point in space | |
| double | marky |
| mark a point in space | |
| int | pos_x |
| position of the view window on the screen | |
| int | pos_y |
| position of the view window on the screen | |
| int | bgwidth |
| cached geometry and parameters for background image NURBS patch | |
| int | bgheight |
| cached geometry and parameters for background image NURBS patch | |
| int | bguorder |
| cached geometry and parameters for background image NURBS patch | |
| int | bgvorder |
| cached geometry and parameters for background image NURBS patch | |
| float * | bgknotv |
| cached geometry and parameters for background image NURBS patch | |
| float * | bgcv |
| cached geometry and parameters for background image NURBS patch | |
..)
1.6.3