Seg3D  2.4
Seg3D is a free volume segmentation and processing tool developed by the NIH Center for Integrative Biomedical Computing at the University of Utah Scientific Computing and Imaging (SCI) Institute.
Public Member Functions | Protected Member Functions | List of all members
Seg3D::SliceShader Class Reference
Inheritance diagram for Seg3D::SliceShader:
Core::ShaderBase

Public Member Functions

void set_slice_texture (int tex_unit)
 
void set_pattern_texture (int tex_unit)
 
void set_mask_mode (int mask_mode)
 
void set_volume_type (int volume_type)
 
void set_mask_color (float r, float g, float b)
 
void set_opacity (float opacity)
 
void set_scale_bias (float scale, float bias)
 
void set_pixel_size (float width, float height)
 
void set_border_width (int width)
 
void set_lighting (bool enabled)
 
void set_fog (bool enabled)
 
void set_fog_range (float znear, float zfar)
 
void set_texture_clamp (float s_min, float s_max, float t_min, float t_max)
 
- Public Member Functions inherited from Core::ShaderBase
bool initialize ()
 
void enable ()
 
void disable ()
 
bool is_valid ()
 

Protected Member Functions

virtual bool get_vertex_shader_source (std::string &source)
 
virtual bool get_fragment_shader_source (std::string &source)
 
virtual bool post_initialize ()
 
- Protected Member Functions inherited from Core::ShaderBase
virtual bool pre_link ()
 
int get_uniform_location (const char *name)
 
void bind_attrib_location (unsigned int index, const char *name)
 

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