cgv
|
render style for sphere rendere More...
#include <sphere_renderer.h>
Public Member Functions | |
sphere_render_style () | |
construct with default values | |
![]() | |
group_render_style () | |
set default values | |
Public Attributes | |
float | radius_scale |
multiplied to the sphere radii, initialized to 1 | |
float | radius |
default value assigned to radius attribute in enable method of sphere renderer, set to 1 in constructor | |
bool | use_group_radius |
whether to use the group radius | |
float | blend_width_in_pixel |
set to 1 in constructor | |
float | halo_width_in_pixel |
set to 0 in constructor | |
float | percentual_halo_width |
set to 0 in constructor | |
cgv::media::color< float, cgv::media::RGB, cgv::media::OPACITY > | halo_color |
color of halo with opacity channel | |
float | halo_color_strength |
strength in [0,1] of halo color with respect to color of primitive | |
![]() | |
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 | |
render style for sphere rendere
Definition at line 18 of file sphere_renderer.h.
cgv::render::sphere_render_style::sphere_render_style | ( | ) |
construct with default values
Definition at line 20 of file sphere_renderer.cxx.
References blend_width_in_pixel, halo_color_strength, halo_width_in_pixel, percentual_halo_width, radius, radius_scale, and use_group_radius.
float cgv::render::sphere_render_style::blend_width_in_pixel |
set to 1 in constructor
Definition at line 29 of file sphere_renderer.h.
Referenced by cgv::gui::sphere_render_style_gui_creator::create(), cgv::render::sphere_renderer::enable(), and sphere_render_style().
cgv::media::color<float, cgv::media::RGB, cgv::media::OPACITY> cgv::render::sphere_render_style::halo_color |
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 |
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(), cgv::render::sphere_renderer::enable(), and sphere_render_style().
float cgv::render::sphere_render_style::halo_width_in_pixel |
set to 0 in constructor
Definition at line 31 of file sphere_renderer.h.
Referenced by cgv::gui::sphere_render_style_gui_creator::create(), cgv::render::sphere_renderer::enable(), and sphere_render_style().
float cgv::render::sphere_render_style::percentual_halo_width |
set to 0 in constructor
Definition at line 33 of file sphere_renderer.h.
Referenced by cgv::gui::sphere_render_style_gui_creator::create(), cgv::render::sphere_renderer::enable(), and sphere_render_style().
float cgv::render::sphere_render_style::radius |
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(), cgv::render::gl::gl_implicit_surface_drawable_base::gl_implicit_surface_drawable_base(), and sphere_render_style().
float cgv::render::sphere_render_style::radius_scale |
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(), cgv::render::gl::gl_implicit_surface_drawable_base::extract_mesh(), and sphere_render_style().
bool cgv::render::sphere_render_style::use_group_radius |
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(), sphere_render_style(), and cgv::render::sphere_renderer::validate_attributes().