|
cgv
|
boxes use surface render styles More...
#include <box_renderer.h>
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) | |
| bool | rounding = false |
| whether to use rounding of edges and corners (enabling re-compiles shader program) | |
| float | default_radius = 0.01f |
| radius used in case radius array is not specified | |
Public Attributes inherited from cgv::render::surface_render_style | |
| cgv::media::illum::surface_material::color_type | surface_color = cgv::media::illum::surface_material::color_type(0.4f, 0.1f, 0.7f) |
| default value for color when map color to material is used | |
| float | surface_opacity = 1.0f |
| default value for the surface opacity when map color to material is used | |
| CullingMode | culling_mode = CM_OFF |
| culling mode for point splats, set to CM_OFF in constructor | |
| IlluminationMode | illumination_mode = IM_ONE_SIDED |
illumination mode defaults to IM_ONE_SIDED | |
| ColorMapping | map_color_to_material = CM_COLOR |
| material side[s] where color is to be mapped to the diffuse material component, defaults to CM_COLOR for front and back color mapping | |
| cgv::media::illum::textured_surface_material | material |
| material of surface | |
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 | |
boxes use surface render styles
Definition at line 18 of file box_renderer.h.
| vec3 cgv::render::box_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_renderer.h.
Referenced by cgv::gui::box_render_style_gui_creator::create().
| float cgv::render::box_render_style::default_radius = 0.01f |
radius used in case radius array is not specified
Definition at line 27 of file box_renderer.h.
Referenced by cgv::gui::box_render_style_gui_creator::create().
| vec3 cgv::render::box_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_renderer.h.
Referenced by cgv::gui::box_render_style_gui_creator::create().
| bool cgv::render::box_render_style::rounding = false |
whether to use rounding of edges and corners (enabling re-compiles shader program)
Definition at line 25 of file box_renderer.h.
Referenced by cgv::gui::box_render_style_gui_creator::create(), and cgv::render::box_renderer::update_shader_program_options().