cgv
Loading...
Searching...
No Matches
cgv::render::box_wire_render_style Struct Reference

box wires extend line render styles More...

#include <box_wire_renderer.h>

Inheritance diagram for cgv::render::box_wire_render_style:
cgv::render::line_render_style cgv::render::group_render_style cgv::render::render_style cgv::render::box_wire_render_style_reflect

Public Attributes

vec3 default_extent = { 1.0f }
 extent used in case extent array is not specified; defaults to (1,1,1)
 
vec3 relative_anchor = { 0.0f }
 box anchor position relative to center that corresponds to the position attribute; defaults to (0,0,0)
 
- Public Attributes inherited from cgv::render::line_render_style
vec3 default_normal = { 0.0f, 0.0f, 1.0f }
 default normal for case when "normal" attribute is not set
 
rgba default_color = { 1.0f }
 default color for case when "color" attribute is not set
 
float default_depth_offset = 0.0f
 default depth offset for case when "depth_offset" attribute is not set
 
float default_line_width = 1.0f
 default line width for case when "line_width" attribute is not set
 
bool blend_lines = false
 whether to enable blending while rendering (needed for smooth edges; true by default)
 
rgba halo_color = { 0.0f, 0.0f, 0.0f, 1.0f }
 halo color
 
float halo_width_in_pixel = 0.0f
 halo width in pixel
 
float percentual_halo_width = 0.0f
 halo width in percent of line width
 
bool screen_aligned = true
 whether to span line splat in screen aligned coordinate system
 
bool measure_line_width_in_pixel = true
 whether to measure line width in pixels - otherwise in eye space relative to reference_line_width
 
float reference_line_width = 0.001f
 reference line width multiplied to line width if measure_line_width_in_pixel is false
 
float blend_width_in_pixel = 0.0f
 blend with in pixels used for line smoothing
 
float halo_color_strength = 1.0f
 parameter in [0,1] to mix line color with halo color
 
- Public Attributes inherited from cgv::render::group_render_style
bool use_group_color = false
 whether to use group colors indexed through group index, defaults to false
 
bool use_group_transformation = false
 whether to use group translation and rotation indexed through group index, defaults to false
 

Detailed Description

box wires extend line render styles

Definition at line 18 of file box_wire_renderer.h.

Member Data Documentation

◆ default_extent

vec3 cgv::render::box_wire_render_style::default_extent = { 1.0f }

extent used in case extent array is not specified; defaults to (1,1,1)

Definition at line 21 of file box_wire_renderer.h.

Referenced by cgv::gui::box_wire_render_style_gui_creator::create().

◆ relative_anchor

vec3 cgv::render::box_wire_render_style::relative_anchor = { 0.0f }

box anchor position relative to center that corresponds to the position attribute; defaults to (0,0,0)

Definition at line 23 of file box_wire_renderer.h.

Referenced by cgv::gui::box_wire_render_style_gui_creator::create().


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