cgv
|
boxes use surface render styles More...
#include <box_renderer.h>
Public Member Functions | |
box_render_style () | |
default constructor sets default extent to (1,1,1) and relative anchor to (0,0,0) | |
![]() | |
group_render_style () | |
set default values | |
Public Attributes | |
vec3 | default_extent |
extent used in case extent array is not specified | |
vec3 | relative_anchor |
box anchor position relative to center that corresponds to the position attribute | |
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 | |
![]() | |
cgv::media::illum::surface_material::color_type | surface_color |
default value for color when map color to material is used | |
float | surface_opacity |
default value for the surface opacity when map color to material is used | |
CullingMode | culling_mode |
culling mode for point splats, set to CM_OFF in constructor | |
IlluminationMode | illumination_mode |
illumination mode defaults to IM_ONE_SIDED | |
ColorMapping | map_color_to_material |
material side[s] where color is to be mapped to the diffuse material component, defaults to MS_FRONT_AND_BACK | |
cgv::media::illum::textured_surface_material | material |
material of surface | |
![]() | |
bool | use_group_color |
whether to use group colors indexed through group index, defaults to false | |
bool | use_group_transformation |
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.
cgv::render::box_render_style::box_render_style | ( | ) |
default constructor sets default extent to (1,1,1) and relative anchor to (0,0,0)
default constructor sets default extent to (1,1,1)
Definition at line 8 of file box_renderer.cxx.
References default_extent, and relative_anchor.
vec3 cgv::render::box_render_style::default_extent |
extent used in case extent array is not specified
Definition at line 21 of file box_renderer.h.
Referenced by box_render_style(), and 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 |
box anchor position relative to center that corresponds to the position attribute
Definition at line 23 of file box_renderer.h.
Referenced by box_render_style(), and 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_defines().