Cytosim PI Cytoskeleton Simulator

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

Variables
Parameters of Play
Display Parameters

## Variables
int | frame
| index of displayed frame in trajectory file
int | dir
| direction of replay { -1, 0, 1 }
unsigned int | loop
| if true, jump to first frame after last frame
unsigned int | period
| number of simulation steps between consecutive displays More...
unsigned int | delay
| number of milli-seconds between refresh
unsigned int | style
| style of display { 1, 2, 3 } More...
std::string | report
| specifies information displayed near the bottom left corner of window
char | magic_key [NB_MAGIC_KEYS]
| associate a piece of custom code to a key More...
std::string | image_format
| format of exported images [gif, png, ppm]
std::string | image_dir
| directory where images are exported

## Detailed Description

## Variable Documentation

char magic_key[NB_MAGIC_KEYS]

Example:

% define magic key 1 to delete fibers:
set simul:display *
{
magic_key1 = m, ( delete 10 fiber microtubule )
magic_key2 = C, ( cut fiber * { plane = 1 0 0, 0 } )
label = (Press 'm' to delete fibers!)
}

up to 4 keys (magic_key0, magic_key1 ... 3) can be defined.

unsigned int period

if period==2, only every other frame will be displayed

unsigned int style

3 styles are implemented:

- style 1 used OpenGL lines and points. It is suitable for 2D work.
- style 2 is a faster display, also suitable for 2D.
- style 3 draw real tubes and uses OpenGL lighting for rendering. It is nice for 3D.