Developer documentation
Version 3.0.3-105-gd3941f44
MR::GUI::MRView::Mode::Volume Class Reference

#include "gui/mrview/mode/volume.h"

Inheritance diagram for MR::GUI::MRView::Mode::Volume:
MR::GUI::MRView::Mode::Base

Classes

class  Shader
 

Protected Member Functions

Tool::Viewget_view_tool () const
 
vector< std::pair< GL::vec4, bool > > get_active_clip_planes () const
 
vector< GL::vec4 * > get_clip_planes_to_be_edited () const
 
bool get_cliphighlightstate () const
 
bool get_clipintersectionmodestate () const
 
- Protected Member Functions inherited from MR::GUI::MRView::Mode::Base
void slice_move_event (const ModelViewProjection &proj, float x)
 
void set_focus_event (const ModelViewProjection &proj)
 
void pan_event (const ModelViewProjection &proj)
 
void panthrough_event (const ModelViewProjection &proj)
 
void tilt_event (const ModelViewProjection &proj)
 
void rotate_event (const ModelViewProjection &proj)
 
GL::mat4 adjust_projection_matrix (const GL::mat4 &Q, int proj) const
 
GL::mat4 adjust_projection_matrix (const GL::mat4 &Q) const
 
void reset_view ()
 

Protected Attributes

GL::VertexBuffer volume_VB
 
GL::VertexBuffer volume_VI
 
GL::VertexArrayObject volume_VAO
 
GL::Texture depth_texture
 
vector< GL::vec4clip
 
MR::GUI::MRView::Mode::Volume::Shader volume_shader
 
- Protected Attributes inherited from MR::GUI::MRView::Mode::Base
bool visible
 

Detailed Description

Definition at line 37 of file volume.h.

Member Function Documentation

◆ get_active_clip_planes()

vector< std::pair< GL::vec4, bool > > MR::GUI::MRView::Mode::Volume::get_active_clip_planes ( ) const
protected

◆ get_clip_planes_to_be_edited()

vector< GL::vec4 * > MR::GUI::MRView::Mode::Volume::get_clip_planes_to_be_edited ( ) const
protected

◆ get_cliphighlightstate()

bool MR::GUI::MRView::Mode::Volume::get_cliphighlightstate ( ) const
protected

◆ get_clipintersectionmodestate()

bool MR::GUI::MRView::Mode::Volume::get_clipintersectionmodestate ( ) const
protected

◆ get_view_tool()

Tool::View * MR::GUI::MRView::Mode::Volume::get_view_tool ( ) const
protected

Member Data Documentation

◆ clip

vector<GL::vec4> MR::GUI::MRView::Mode::Volume::clip
protected

Definition at line 52 of file volume.h.

◆ depth_texture

GL::Texture MR::GUI::MRView::Mode::Volume::depth_texture
protected

Definition at line 51 of file volume.h.

◆ volume_shader

MR::GUI::MRView::Mode::Volume::Shader MR::GUI::MRView::Mode::Volume::volume_shader
protected

◆ volume_VAO

GL::VertexArrayObject MR::GUI::MRView::Mode::Volume::volume_VAO
protected

Definition at line 50 of file volume.h.

◆ volume_VB

GL::VertexBuffer MR::GUI::MRView::Mode::Volume::volume_VB
protected

Definition at line 49 of file volume.h.

◆ volume_VI

GL::VertexBuffer MR::GUI::MRView::Mode::Volume::volume_VI
protected

Definition at line 49 of file volume.h.


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