ay_view_object Struct Reference

View object. More...

#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)
double grid
 gridsize, 0.0 == no grid
int local
 editing takes place in local space, not world space?
int aligned
 view is aligned to object-space of selected object?
int drawsel
 draw selected objects (and their children) only?
int drawlevel
 draw current level (and below) only?
int redraw
 automatic redraw?
int drawgrid
 draw grid?
int usegrid
 use (snap to) grid?
int shade
 shade view?
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 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)?
Togl_Callback * altdispcb
 alternative display callback, for plugins that like to take over drawing (e.g. AyCSG)

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

Detailed Description

View object.


The documentation for this struct was generated from the following file:
Generated on Thu Oct 28 19:51:38 2010 for Ayam by  doxygen 1.6.3