|
cgv
|
render style for sphere rendere More...
#include <sphere_renderer.h>
Public Attributes | |
| float | radius_scale = 1.0f |
| multiplied to the sphere radii, initialized to 1 | |
| float | radius = 1.0f |
default value assigned to radius attribute in enable method of sphere renderer, set to 1 in constructor | |
| bool | use_group_radius = false |
| whether to use the group radius | |
| float | blend_width_in_pixel = 0.0f |
| set to 1 in constructor | |
| float | halo_width_in_pixel = 0.0f |
| set to 0 in constructor | |
| float | percentual_halo_width = 0.0f |
| set to 0 in constructor | |
| cgv::rgba | halo_color = { 1.0f } |
| color of halo with opacity channel | |
| float | halo_color_strength = 0.5f |
| strength in [0,1] of halo color with respect to color of primitive | |
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 | |
render style for sphere rendere
Definition at line 18 of file sphere_renderer.h.
| float cgv::render::sphere_render_style::blend_width_in_pixel = 0.0f |
set to 1 in constructor
Definition at line 29 of file sphere_renderer.h.
Referenced by cgv::gui::sphere_render_style_gui_creator::create(), and cgv::render::sphere_renderer::enable().
| cgv::rgba cgv::render::sphere_render_style::halo_color = { 1.0f } |
color of halo with opacity channel
Definition at line 35 of file sphere_renderer.h.
Referenced by cgv::gui::sphere_render_style_gui_creator::create(), and cgv::render::sphere_renderer::enable().
| float cgv::render::sphere_render_style::halo_color_strength = 0.5f |
strength in [0,1] of halo color with respect to color of primitive
Definition at line 37 of file sphere_renderer.h.
Referenced by cgv::gui::sphere_render_style_gui_creator::create(), and cgv::render::sphere_renderer::enable().
| float cgv::render::sphere_render_style::halo_width_in_pixel = 0.0f |
set to 0 in constructor
Definition at line 31 of file sphere_renderer.h.
Referenced by cgv::gui::sphere_render_style_gui_creator::create(), and cgv::render::sphere_renderer::enable().
| float cgv::render::sphere_render_style::percentual_halo_width = 0.0f |
set to 0 in constructor
Definition at line 33 of file sphere_renderer.h.
Referenced by cgv::gui::sphere_render_style_gui_creator::create(), and cgv::render::sphere_renderer::enable().
| float cgv::render::sphere_render_style::radius = 1.0f |
default value assigned to radius attribute in enable method of sphere renderer, set to 1 in constructor
Definition at line 25 of file sphere_renderer.h.
Referenced by cgv::gui::sphere_render_style_gui_creator::create(), cgv::render::sphere_renderer::enable(), and cgv::render::gl::gl_implicit_surface_drawable_base::gl_implicit_surface_drawable_base().
| float cgv::render::sphere_render_style::radius_scale = 1.0f |
multiplied to the sphere radii, initialized to 1
Definition at line 23 of file sphere_renderer.h.
Referenced by cgv::gui::sphere_render_style_gui_creator::create(), cgv::render::sphere_renderer::enable(), and cgv::render::gl::gl_implicit_surface_drawable_base::extract_mesh().
| bool cgv::render::sphere_render_style::use_group_radius = false |
whether to use the group radius
Definition at line 27 of file sphere_renderer.h.
Referenced by cgv::gui::sphere_render_style_gui_creator::create(), cgv::render::sphere_renderer::enable(), and cgv::render::sphere_renderer::validate_attributes().