cgv
|
style of a surfel More...
#include <surfel_renderer.h>
Public Member Functions | |
surfel_render_style () | |
construct with default values | |
![]() | |
group_render_style () | |
set default values | |
Public Attributes | |
float | surface_offset |
position offset in normal direction to prevent z-figthing if surfels are placed directly on flat surfaces | |
float | point_size |
default value assigned to point size attribute in enable method of point renderer, set to 1 in constructor | |
bool | use_group_point_size |
whether to use the | |
bool | measure_point_size_in_pixel |
whether to measure point size in pixels or in world space relative to reference_pixel_size passed to enable method, defaults to true | |
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 | |
rgba | 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 | |
bool | orient_splats |
set to true in constructor | |
bool | blend_points |
set to false in constructor | |
![]() | |
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 | |
style of a surfel
Definition at line 18 of file surfel_renderer.h.
cgv::render::surfel_render_style::surfel_render_style | ( | ) |
construct with default values
Definition at line 20 of file surfel_renderer.cxx.
References blend_points, blend_width_in_pixel, halo_color_strength, halo_width_in_pixel, measure_point_size_in_pixel, orient_splats, percentual_halo_width, point_size, surface_offset, and use_group_point_size.
bool cgv::render::surfel_render_style::blend_points |
set to false in constructor
Definition at line 51 of file surfel_renderer.h.
Referenced by cgv::gui::surfel_render_style_gui_creator::create(), cgv::render::surfel_renderer::disable(), cgv::render::surfel_renderer::enable(), and surfel_render_style().
float cgv::render::surfel_render_style::blend_width_in_pixel |
set to 1 in constructor
Definition at line 39 of file surfel_renderer.h.
Referenced by cgv::gui::surfel_render_style_gui_creator::create(), cgv::render::surfel_renderer::enable(), and surfel_render_style().
rgba cgv::render::surfel_render_style::halo_color |
color of halo with opacity channel
Definition at line 45 of file surfel_renderer.h.
Referenced by cgv::gui::surfel_render_style_gui_creator::create(), and cgv::render::surfel_renderer::enable().
float cgv::render::surfel_render_style::halo_color_strength |
strength in [0,1] of halo color with respect to color of primitive
Definition at line 47 of file surfel_renderer.h.
Referenced by cgv::gui::surfel_render_style_gui_creator::create(), cgv::render::surfel_renderer::enable(), and surfel_render_style().
float cgv::render::surfel_render_style::halo_width_in_pixel |
set to 0 in constructor
Definition at line 41 of file surfel_renderer.h.
Referenced by cgv::gui::surfel_render_style_gui_creator::create(), cgv::render::surfel_renderer::enable(), and surfel_render_style().
bool cgv::render::surfel_render_style::measure_point_size_in_pixel |
whether to measure point size in pixels or in world space relative to reference_pixel_size passed to enable method, defaults to true
Definition at line 33 of file surfel_renderer.h.
Referenced by cgv::gui::surfel_render_style_gui_creator::create(), cgv::render::surfel_renderer::enable(), and surfel_render_style().
bool cgv::render::surfel_render_style::orient_splats |
set to true in constructor
Definition at line 49 of file surfel_renderer.h.
Referenced by cgv::gui::surfel_render_style_gui_creator::create(), cgv::render::surfel_renderer::enable(), and surfel_render_style().
float cgv::render::surfel_render_style::percentual_halo_width |
set to 0 in constructor
Definition at line 43 of file surfel_renderer.h.
Referenced by cgv::gui::surfel_render_style_gui_creator::create(), cgv::render::surfel_renderer::enable(), and surfel_render_style().
float cgv::render::surfel_render_style::point_size |
default value assigned to point size attribute in enable
method of point renderer, set to 1 in constructor
Definition at line 29 of file surfel_renderer.h.
Referenced by cgv::gui::surfel_render_style_gui_creator::create(), cgv::render::surfel_renderer::enable(), and surfel_render_style().
float cgv::render::surfel_render_style::surface_offset |
position offset in normal direction to prevent z-figthing if surfels are placed directly on flat surfaces
Definition at line 23 of file surfel_renderer.h.
Referenced by cgv::gui::surfel_render_style_gui_creator::create(), cgv::render::surfel_renderer::enable(), and surfel_render_style().
bool cgv::render::surfel_render_style::use_group_point_size |
whether to use the
Definition at line 31 of file surfel_renderer.h.
Referenced by cgv::render::surfel_renderer::enable(), surfel_render_style(), and cgv::render::surfel_renderer::validate_attributes().