17#ifndef __gui_mrview_mode_volume_h__
18#define __gui_mrview_mode_volume_h__
30 namespace Tool {
class View; }
46 virtual void tilt_event ();
56 Shader (
const Volume& mode) : mode (mode), active_clip_planes (0), cliphighlight (
true), clipintersectionmode (
false) { }
57 virtual std::string vertex_shader_source (
const Displayable&
object);
58 virtual std::string fragment_shader_source (
const Displayable&
object);
59 virtual bool need_update (
const Displayable&
object)
const;
62 size_t active_clip_planes;
64 bool clipintersectionmode;
vector< std::pair< GL::vec4, bool > > get_active_clip_planes() const
vector< GL::vec4 * > get_clip_planes_to_be_edited() const
GL::VertexArrayObject volume_VAO
bool get_clipintersectionmodestate() const
GL::Texture depth_texture
GL::VertexBuffer volume_VI
bool get_cliphighlightstate() const
MR::GUI::MRView::Mode::Volume::Shader volume_shader
GL::VertexBuffer volume_VB
Tool::View * get_view_tool() const
const int ShaderThreshold
const int ShaderTransparency