cgv
Loading...
Searching...
No Matches
cgv::render::box_render_style_reflect Struct Reference
Inheritance diagram for cgv::render::box_render_style_reflect:
cgv::render::box_render_style cgv::render::surface_render_style cgv::render::group_render_style cgv::render::render_style

Public Member Functions

bool self_reflect (cgv::reflect::reflection_handler &rh)
 

Additional Inherited Members

- Public Attributes inherited from cgv::render::box_render_style
vec3 default_extent = { 1.0f }
 extent used in case extent array is not specified; defaults to (1,1,1)
 
vec3 relative_anchor = { 0.0f }
 box anchor position relative to center that corresponds to the position attribute; defaults to (0,0,0)
 
bool rounding = false
 whether to use rounding of edges and corners (enabling re-compiles shader program)
 
float default_radius = 0.01f
 radius used in case radius array is not specified
 
- 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

Definition at line 147 of file box_renderer.h.

Member Function Documentation

◆ self_reflect()

bool cgv::render::box_render_style_reflect::self_reflect ( cgv::reflect::reflection_handler rh)

Definition at line 103 of file box_renderer.cxx.


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