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

#include "gui/mrview/gui_image.h"

Inheritance diagram for MR::GUI::MRView::Image:
MR::GUI::MRView::ImageBase MR::GUI::MRView::Volume MR::GUI::MRView::Displayable

Classes

struct  CachedTexture
 

Protected Attributes

std::array< float, 3 > slice_min
 
std::array< float, 3 > slice_max
 
std::unordered_map< size_t, CachedTexturetex_4d_cache
 
- Protected Attributes inherited from MR::GUI::MRView::ImageBase
GL::Texture texture2D [3]
 
vector< ssize_t > tex_positions
 
- Protected Attributes inherited from MR::GUI::MRView::Volume
MR::Header _header
 
int interpolation
 
GL::Texture _texture
 
GL::Texture_current_texture
 
GL::VertexBuffer vertex_buffer
 
GL::VertexArrayObject vertex_array_object
 
GLenum type
 
GLenum format
 
GLenum internal_format
 
float _scale_factor
 
bool texture_mode_changed
 
Eigen::Vector3f pos [4]
 
Eigen::Vector3f tex [4]
 
Eigen::Vector3f z
 
Eigen::Vector3f im_z
 
Eigen::Vector3f vertices [8]
 
- Protected Attributes inherited from MR::GUI::MRView::Displayable
std::string filename
 
float value_min
 
float value_max
 
uint32_t flags_
 

Additional Inherited Members

- Signals inherited from MR::GUI::MRView::Displayable
void scalingChanged ()
 
- Protected Member Functions inherited from MR::GUI::MRView::Volume
Eigen::Vector3f div (const Eigen::Vector3f &a, const Eigen::Vector3f &b)
 
void set_vertices_for_slice_render (const Projection &projection, float depth)
 
void draw_vertices ()
 
- Protected Member Functions inherited from MR::GUI::MRView::Displayable
void set_bit (uint32_t &field, uint32_t bit, bool value)
 
void set_bit (uint32_t bit, bool value)
 
void update_levels ()
 

Detailed Description

Definition at line 75 of file gui_image.h.

Member Data Documentation

◆ slice_max

std::array<float, 3> MR::GUI::MRView::Image::slice_max
protected

Definition at line 103 of file gui_image.h.

◆ slice_min

std::array<float, 3> MR::GUI::MRView::Image::slice_min
protected

Definition at line 103 of file gui_image.h.

◆ tex_4d_cache

std::unordered_map<size_t, CachedTexture> MR::GUI::MRView::Image::tex_4d_cache
protected

Definition at line 104 of file gui_image.h.


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