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 Member Functions

 sphere_render_style ()
 construct with default values
 
- Public Member Functions inherited from cgv::render::group_render_style
 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
 
- Public Attributes inherited from cgv::render::surface_render_style
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
 
- Public Attributes inherited from cgv::render::group_render_style
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
 

Detailed Description

render style for sphere rendere

Definition at line 18 of file sphere_renderer.h.

Constructor & Destructor Documentation

◆ sphere_render_style()

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.

Member Data Documentation

◆ blend_width_in_pixel

float cgv::render::sphere_render_style::blend_width_in_pixel

◆ halo_color

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

◆ halo_color_strength

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

◆ halo_width_in_pixel

float cgv::render::sphere_render_style::halo_width_in_pixel

◆ percentual_halo_width

float cgv::render::sphere_render_style::percentual_halo_width

◆ radius

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

◆ radius_scale

float cgv::render::sphere_render_style::radius_scale

◆ use_group_radius

bool cgv::render::sphere_render_style::use_group_radius

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