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

style of a point More...

#include <arrow_renderer.h>

Inheritance diagram for cgv::render::arrow_render_style:
cgv::render::surface_render_style cgv::render::group_render_style cgv::render::render_style cgv::render::arrow_render_style_reflect

Public Attributes

float radius_lower_bound = 0.00001f
 smallest value for the radius
 
float radius_relative_to_length = 0.1f
 
float head_radius_scale = 2.0f
 scaling factor of head radius with respect to tail radius
 
ArrowHeadLengthMode head_length_mode = AHLM_MINIMUM_OF_RADIUS_AND_LENGTH
 
float head_length_relative_to_radius = 2.0f
 
float head_length_relative_to_length = 0.3f
 
float length_scale = 1.0f
 
float color_scale = 1.0f
 
bool normalize_length = false
 
float relative_location_of_position = 0.0f
 
float length_eps = 0.000001f
 
- 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

style of a point

Definition at line 28 of file arrow_renderer.h.

Member Data Documentation

◆ color_scale

float cgv::render::arrow_render_style::color_scale = 1.0f

Definition at line 47 of file arrow_renderer.h.

◆ head_length_mode

ArrowHeadLengthMode cgv::render::arrow_render_style::head_length_mode = AHLM_MINIMUM_OF_RADIUS_AND_LENGTH

Definition at line 39 of file arrow_renderer.h.

◆ head_length_relative_to_length

float cgv::render::arrow_render_style::head_length_relative_to_length = 0.3f

Definition at line 43 of file arrow_renderer.h.

◆ head_length_relative_to_radius

float cgv::render::arrow_render_style::head_length_relative_to_radius = 2.0f

Definition at line 41 of file arrow_renderer.h.

◆ head_radius_scale

float cgv::render::arrow_render_style::head_radius_scale = 2.0f

scaling factor of head radius with respect to tail radius

Definition at line 37 of file arrow_renderer.h.

Referenced by cgv::gui::arrow_render_style_gui_creator::create(), and cgv::render::arrow_renderer::enable().

◆ length_eps

float cgv::render::arrow_render_style::length_eps = 0.000001f

Definition at line 53 of file arrow_renderer.h.

◆ length_scale

float cgv::render::arrow_render_style::length_scale = 1.0f

Definition at line 45 of file arrow_renderer.h.

◆ normalize_length

bool cgv::render::arrow_render_style::normalize_length = false

Definition at line 49 of file arrow_renderer.h.

◆ radius_lower_bound

float cgv::render::arrow_render_style::radius_lower_bound = 0.00001f

smallest value for the radius

Definition at line 33 of file arrow_renderer.h.

Referenced by cgv::gui::arrow_render_style_gui_creator::create(), and cgv::render::arrow_renderer::enable().

◆ radius_relative_to_length

float cgv::render::arrow_render_style::radius_relative_to_length = 0.1f

Definition at line 35 of file arrow_renderer.h.

◆ relative_location_of_position

float cgv::render::arrow_render_style::relative_location_of_position = 0.0f

Definition at line 51 of file arrow_renderer.h.


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