BRL-CAD
Loading...
Searching...
No Matches
rt_edit_cmd_desc Struct Reference

#include <edit.h>

Collaboration diagram for rt_edit_cmd_desc:
[legend]

Data Fields

int cmd_id
 
const charlabel
 
const charcategory
 
int nparam
 
const struct rt_edit_param_descparams
 
int interactive
 
int display_order
 
const charreq_types
 

Detailed Description

Describes a single edit command (one ECMD_* constant) together with the parameters it requires.

Definition at line 607 of file edit.h.

Field Documentation

◆ cmd_id

int cmd_id

ECMD_* constant

Definition at line 608 of file edit.h.

◆ label

const char* label

human-readable operation label

Definition at line 609 of file edit.h.

◆ category

const char* category

grouping hint: "radius", "geometry", "rotation", "material", "tree", "misc"

Definition at line 610 of file edit.h.

◆ nparam

int nparam

number of entries in params[]

Definition at line 612 of file edit.h.

◆ params

const struct rt_edit_param_desc* params

NULL when nparam == 0

Definition at line 613 of file edit.h.

◆ interactive

int interactive

Non-zero: GUI should re-call rt_edit_process() on every widget change (live wireframe update). Zero: only apply on explicit Apply button.

Definition at line 616 of file edit.h.

◆ display_order

int display_order

Suggested display order within the category group. Lower values appear first. Ties are broken by array order.

Definition at line 619 of file edit.h.

◆ req_types

const char* req_types

Comma-separated list of types this cmd is valid for (e.g. "sph" or "arb4"). NULL means all.

Definition at line 621 of file edit.h.


The documentation for this struct was generated from the following file: