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

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

Inheritance diagram for MR::GUI::MRView::Mode::Slice:
MR::GUI::MRView::Mode::Base MR::GUI::MRView::Mode::LightBox MR::GUI::MRView::Mode::Ortho

Protected Member Functions

virtual void draw_plane_primitive (int axis, Displayable::Shader &shader_program, Projection &with_projection)
 
void draw_plane (int axis, Displayable::Shader &shader_program, Projection &with_projection)
 
- 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 ()
 

Additional Inherited Members

- Protected Attributes inherited from MR::GUI::MRView::Mode::Base
bool visible
 

Detailed Description

Definition at line 32 of file slice.h.

Member Function Documentation

◆ draw_plane()

void MR::GUI::MRView::Mode::Slice::draw_plane ( int  axis,
Displayable::Shader &  shader_program,
Projection with_projection 
)
protected

◆ draw_plane_primitive()

virtual void MR::GUI::MRView::Mode::Slice::draw_plane_primitive ( int  axis,
Displayable::Shader &  shader_program,
Projection with_projection 
)
protectedvirtual

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