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

style of a point More...

#include <surface_renderer.h>

Inheritance diagram for cgv::render::surface_render_style:
cgv::render::group_render_style cgv::render::render_style cgv::render::arrow_render_style cgv::render::box_render_style cgv::render::cone_render_style cgv::render::ellipsoid_render_style cgv::render::rectangle_render_style cgv::render::sphere_render_style cgv::render::spline_tube_render_style cgv::render::surface_render_style_reflect cgv::render::surfel_render_style

Public Attributes

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 25 of file surface_renderer.h.

Member Data Documentation

◆ culling_mode

◆ illumination_mode

◆ map_color_to_material

ColorMapping cgv::render::surface_render_style::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

Definition at line 36 of file surface_renderer.h.

Referenced by cgv::gui::surface_render_style_gui_creator::create(), cgv::render::surface_renderer::enable(), cgv::render::gl::gl_implicit_surface_drawable_base::gl_implicit_surface_drawable_base(), cgv::plot::plot3d::plot3d(), and cgv::plot::plot_base::plot_base().

◆ material

cgv::media::illum::textured_surface_material cgv::render::surface_render_style::material

◆ surface_color

◆ surface_opacity

float cgv::render::surface_render_style::surface_opacity = 1.0f

default value for the surface opacity when map color to material is used

Definition at line 30 of file surface_renderer.h.

Referenced by cgv::gui::surface_render_style_gui_creator::create(), and cgv::render::surface_renderer::enable().


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