|
BRL-CAD
|
#include <edit.h>
Data Fields | |
| const char * | name |
| const char * | label |
| int | type |
| int | index |
| fastf_t | range_min |
| fastf_t | range_max |
| const char * | units |
| int | nenum |
| const char *const * | enum_labels |
| const int * | enum_ids |
| const char * | prim_field |
Describes a single input parameter for one edit command.
For scalar/integer/boolean/enum parameters the value is stored in s->e_para[index]. For POINT/VECTOR, three consecutive slots starting at e_para[index] are used. For MATRIX, e_para[0..15] are used. For STRING the value is in the primitive-specific edit struct; prim_field documents which field that is. For COLOR three fastf_t integer values (0-255) are stored in e_para[index], e_para[index+1], e_para[index+2].