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

style of a point More...

#include <point_renderer.h>

Inheritance diagram for cgv::render::point_render_style:
cgv::render::group_render_style cgv::render::render_style cgv::render::point_render_style_reflect

Public Member Functions

 point_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 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
 
bool screen_aligned
 whether to span point splat in screen aligned coordinate system
 
float default_depth_offset
 default value for depth offset used to support layering
 
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 blend_points
 set to true in constructor
 
- 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

style of a point

Definition at line 18 of file point_renderer.h.

Constructor & Destructor Documentation

◆ point_render_style()

cgv::render::point_render_style::point_render_style ( )

Member Data Documentation

◆ blend_points

bool cgv::render::point_render_style::blend_points

◆ blend_width_in_pixel

float cgv::render::point_render_style::blend_width_in_pixel

◆ default_depth_offset

float cgv::render::point_render_style::default_depth_offset

default value for depth offset used to support layering

Definition at line 35 of file point_renderer.h.

Referenced by cgv::gui::point_render_style_gui_creator::create(), cgv::render::point_renderer::enable(), and point_render_style().

◆ halo_color

rgba cgv::render::point_render_style::halo_color

color of halo with opacity channel

Definition at line 43 of file point_renderer.h.

Referenced by cgv::gui::point_render_style_gui_creator::create(), and cgv::render::point_renderer::enable().

◆ halo_color_strength

float cgv::render::point_render_style::halo_color_strength

strength in [0,1] of halo color with respect to color of primitive

Definition at line 45 of file point_renderer.h.

Referenced by cgv::gui::point_render_style_gui_creator::create(), cgv::render::point_renderer::enable(), and point_render_style().

◆ halo_width_in_pixel

float cgv::render::point_render_style::halo_width_in_pixel

◆ measure_point_size_in_pixel

bool cgv::render::point_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 27 of file point_renderer.h.

Referenced by cgv::gui::point_render_style_gui_creator::create(), cgv::render::point_renderer::enable(), and point_render_style().

◆ percentual_halo_width

float cgv::render::point_render_style::percentual_halo_width

◆ point_size

float cgv::render::point_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 23 of file point_renderer.h.

Referenced by cgv::gui::point_render_style_gui_creator::create(), cgv::render::point_renderer::enable(), and point_render_style().

◆ screen_aligned

bool cgv::render::point_render_style::screen_aligned

whether to span point splat in screen aligned coordinate system

Definition at line 29 of file point_renderer.h.

Referenced by cgv::gui::point_render_style_gui_creator::create(), cgv::render::point_renderer::enable(), and point_render_style().

◆ use_group_point_size

bool cgv::render::point_render_style::use_group_point_size

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