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::MaskShader Class Reference
Inheritance diagram for Seg3D::MaskShader:
Core::Lockable Core::ShaderBase

Public Member Functions

void set_texture (int tex_unit)
 
void set_color (float r, float g, float b)
 
void set_opacity (float opacity)
 
void set_pixel_size (float width, float height)
 
void set_border_width (int width)
 
- Public Member Functions inherited from Core::Lockable
mutex_type & get_mutex () const
 
- Public Member Functions inherited from Core::ShaderBase
bool initialize ()
 
void enable ()
 
void disable ()
 
bool is_valid ()
 

Protected Member Functions

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

Additional Inherited Members

- Public Types inherited from Core::Lockable
typedef boost::mutex mutex_type
 
typedef boost::unique_lock< mutex_type > lock_type
 

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