BRL-CAD
bv_scene_obj Struct Reference

#include <defines.h>

Collaboration diagram for bv_scene_obj:
[legend]

Data Fields

struct bu_list l
 
struct bv_scene_obj_internal * i
 
unsigned long long s_type_flags
 
struct bu_vls s_name
 object name (may not be unique, used for activities like path lookup) More...
 
void * s_path
 alternative (app specific) encoding of s_name More...
 
struct bu_vls s_uuid
 object name (unique, may be less immediately clear to user) More...
 
mat_t s_mat
 mat to use for internal lookup and mesh LoD drawing More...
 
struct bviews_v
 
void * s_i_data
 custom view data (bv_line_seg, bv_label, bv_polyon, etc) More...
 
int(* s_update_callback )(struct bv_scene_obj *, struct bview *, int)
 custom update/generator for s_vlist More...
 
void(* s_free_callback )(struct bv_scene_obj *)
 free any info stored in s_i_data, s_path and draw_data More...
 
struct bu_list s_vlist
 Pointer to unclipped vector list. More...
 
size_t s_vlen
 Number of actual cmd[] entries in vlist. More...
 
unsigned int s_dlist
 display list index More...
 
int s_dlist_mode
 drawing mode in which display list was generated (if it doesn't match s_os.s_dmode, dlist is out of date.) More...
 
int s_dlist_stale
 set by client codes when dlist is out of date - dm must update. More...
 
void(* s_dlist_free_callback )(struct bv_scene_obj *)
 free any dlist specific data More...
 
fastf_t s_size
 Distance across solid, in model space. More...
 
fastf_t s_csize
 Dist across clipped solid (model space) More...
 
vect_t s_center
 Center point of solid, in model space. More...
 
int s_displayobj
 Vector list contains vertices in display context flag. More...
 
point_t bmin
 
point_t bmax
 
char s_flag
 UP = object visible, DOWN = obj invis. More...
 
char s_iflag
 UP = illuminated, DOWN = regular. More...
 
unsigned char s_color [3]
 color to draw as More...
 
int s_soldash
 solid/dashed line flag: 0 = solid, 1 = dashed More...
 
int s_arrow
 arrow flag for view object drawing routines More...
 
int s_changed
 changed flag - set by s_update_callback if a change occurred More...
 
int current
 
int adaptive_wireframe
 
fastf_t view_scale
 
size_t bot_threshold
 
fastf_t curve_scale
 
fastf_t point_scale
 
struct bv_obj_settingss_os
 
struct bv_obj_settings s_local_os
 
struct bv_scene_obj_old_settings s_old
 
struct bu_ptbl children
 
struct bv_scene_ob * parent
 
struct bu_listvlfree
 
struct bv_scene_objfree_scene_obj
 
struct bu_ptblotbl
 
void * draw_data
 
void * s_u_data
 

Detailed Description

Definition at line 189 of file defines.h.

Field Documentation

◆ l

struct bu_list l

Definition at line 190 of file defines.h.

◆ i

struct bv_scene_obj_internal* i

Definition at line 193 of file defines.h.

◆ s_type_flags

unsigned long long s_type_flags

Definition at line 196 of file defines.h.

◆ s_name

struct bu_vls s_name

object name (may not be unique, used for activities like path lookup)

Definition at line 197 of file defines.h.

◆ s_path

void* s_path

alternative (app specific) encoding of s_name

Definition at line 198 of file defines.h.

◆ s_uuid

struct bu_vls s_uuid

object name (unique, may be less immediately clear to user)

Definition at line 199 of file defines.h.

◆ s_mat

mat_t s_mat

mat to use for internal lookup and mesh LoD drawing

Definition at line 200 of file defines.h.

◆ s_v

struct bview* s_v

Definition at line 208 of file defines.h.

◆ s_i_data

void* s_i_data

custom view data (bv_line_seg, bv_label, bv_polyon, etc)

Definition at line 212 of file defines.h.

◆ s_update_callback

int(* s_update_callback) (struct bv_scene_obj *, struct bview *, int)

custom update/generator for s_vlist

Definition at line 213 of file defines.h.

◆ s_free_callback

void(* s_free_callback) (struct bv_scene_obj *)

free any info stored in s_i_data, s_path and draw_data

Definition at line 214 of file defines.h.

◆ s_vlist

struct bu_list s_vlist

Pointer to unclipped vector list.

Definition at line 217 of file defines.h.

◆ s_vlen

size_t s_vlen

Number of actual cmd[] entries in vlist.

Definition at line 218 of file defines.h.

◆ s_dlist

unsigned int s_dlist

display list index

Definition at line 221 of file defines.h.

◆ s_dlist_mode

int s_dlist_mode

drawing mode in which display list was generated (if it doesn't match s_os.s_dmode, dlist is out of date.)

Definition at line 222 of file defines.h.

◆ s_dlist_stale

int s_dlist_stale

set by client codes when dlist is out of date - dm must update.

Definition at line 223 of file defines.h.

◆ s_dlist_free_callback

void(* s_dlist_free_callback) (struct bv_scene_obj *)

free any dlist specific data

Definition at line 224 of file defines.h.

◆ s_size

fastf_t s_size

Distance across solid, in model space.

Definition at line 227 of file defines.h.

◆ s_csize

fastf_t s_csize

Dist across clipped solid (model space)

Definition at line 228 of file defines.h.

◆ s_center

vect_t s_center

Center point of solid, in model space.

Definition at line 229 of file defines.h.

◆ s_displayobj

int s_displayobj

Vector list contains vertices in display context flag.

Definition at line 230 of file defines.h.

◆ bmin

point_t bmin

Definition at line 231 of file defines.h.

◆ bmax

point_t bmax

Definition at line 232 of file defines.h.

◆ s_flag

char s_flag

UP = object visible, DOWN = obj invis.

Definition at line 235 of file defines.h.

◆ s_iflag

char s_iflag

UP = illuminated, DOWN = regular.

Definition at line 236 of file defines.h.

◆ s_color

unsigned char s_color[3]

color to draw as

Definition at line 237 of file defines.h.

◆ s_soldash

int s_soldash

solid/dashed line flag: 0 = solid, 1 = dashed

Definition at line 238 of file defines.h.

◆ s_arrow

int s_arrow

arrow flag for view object drawing routines

Definition at line 239 of file defines.h.

◆ s_changed

int s_changed

changed flag - set by s_update_callback if a change occurred

Definition at line 240 of file defines.h.

◆ current

int current

Definition at line 241 of file defines.h.

◆ adaptive_wireframe

int adaptive_wireframe

Definition at line 253 of file defines.h.

◆ view_scale

fastf_t view_scale

Definition at line 254 of file defines.h.

◆ bot_threshold

size_t bot_threshold

Definition at line 255 of file defines.h.

◆ curve_scale

fastf_t curve_scale

Definition at line 256 of file defines.h.

◆ point_scale

fastf_t point_scale

Definition at line 257 of file defines.h.

◆ s_os

struct bv_obj_settings* s_os

Definition at line 261 of file defines.h.

◆ s_local_os

struct bv_obj_settings s_local_os

Definition at line 262 of file defines.h.

◆ s_old

Definition at line 265 of file defines.h.

◆ children

struct bu_ptbl children

Definition at line 268 of file defines.h.

◆ parent

struct bv_scene_ob* parent

Definition at line 271 of file defines.h.

◆ vlfree

struct bu_list* vlfree

Definition at line 278 of file defines.h.

◆ free_scene_obj

struct bv_scene_obj* free_scene_obj

Definition at line 281 of file defines.h.

◆ otbl

struct bu_ptbl* otbl

Definition at line 284 of file defines.h.

◆ draw_data

void* draw_data

Definition at line 288 of file defines.h.

◆ s_u_data

void* s_u_data

Definition at line 291 of file defines.h.


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