cgv
Loading...
Searching...
No Matches
cgv::render::sphere_render_style Struct Reference

render style for sphere rendere More...

#include <sphere_renderer.h>

Inheritance diagram for cgv::render::sphere_render_style:
cgv::render::surface_render_style cgv::render::group_render_style cgv::render::render_style cgv::render::sphere_render_style_reflect

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
 

Detailed Description

render style for sphere rendere

Definition at line 18 of file sphere_renderer.h.

Member Data Documentation

◆ blend_width_in_pixel

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().

◆ halo_color

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().

◆ halo_color_strength

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().

◆ halo_width_in_pixel

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().

◆ percentual_halo_width

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().

◆ radius

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().

◆ radius_scale

float cgv::render::sphere_render_style::radius_scale = 1.0f

◆ use_group_radius

bool cgv::render::sphere_render_style::use_group_radius = false

The documentation for this struct was generated from the following file: