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

#include "gui/mrview/volume.h"

Inheritance diagram for MR::GUI::MRView::Volume:
MR::GUI::MRView::Displayable MR::GUI::MRView::ImageBase MR::GUI::MRView::Tool::ROI_Item MR::GUI::MRView::Image MR::GUI::MRView::Tool::NodeOverlay

Protected Member Functions

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 ()
 

Protected Attributes

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 ()
 

Detailed Description

Definition at line 39 of file volume.h.

Member Function Documentation

◆ div()

Eigen::Vector3f MR::GUI::MRView::Volume::div ( const Eigen::Vector3f &  a,
const Eigen::Vector3f &  b 
)
inlineprotected

Definition at line 147 of file volume.h.

◆ draw_vertices()

void MR::GUI::MRView::Volume::draw_vertices ( )
inlineprotected

Definition at line 166 of file volume.h.

◆ set_vertices_for_slice_render()

void MR::GUI::MRView::Volume::set_vertices_for_slice_render ( const Projection projection,
float  depth 
)
inlineprotected

Definition at line 151 of file volume.h.

Member Data Documentation

◆ _current_texture

GL::Texture* MR::GUI::MRView::Volume::_current_texture
protected

Definition at line 137 of file volume.h.

◆ _header

MR::Header MR::GUI::MRView::Volume::_header
protected

Definition at line 134 of file volume.h.

◆ _scale_factor

float MR::GUI::MRView::Volume::_scale_factor
protected

Definition at line 141 of file volume.h.

◆ _texture

GL::Texture MR::GUI::MRView::Volume::_texture
protected

Definition at line 136 of file volume.h.

◆ format

GLenum MR::GUI::MRView::Volume::format
protected

Definition at line 140 of file volume.h.

◆ im_z

Eigen::Vector3f MR::GUI::MRView::Volume::im_z
protected

Definition at line 144 of file volume.h.

◆ internal_format

GLenum MR::GUI::MRView::Volume::internal_format
protected

Definition at line 140 of file volume.h.

◆ interpolation

int MR::GUI::MRView::Volume::interpolation
protected

Definition at line 135 of file volume.h.

◆ pos

Eigen::Vector3f MR::GUI::MRView::Volume::pos[4]
protected

Definition at line 144 of file volume.h.

◆ tex

Eigen::Vector3f MR::GUI::MRView::Volume::tex[4]
protected

Definition at line 144 of file volume.h.

◆ texture_mode_changed

bool MR::GUI::MRView::Volume::texture_mode_changed
protected

Definition at line 142 of file volume.h.

◆ type

GLenum MR::GUI::MRView::Volume::type
protected

Definition at line 140 of file volume.h.

◆ vertex_array_object

GL::VertexArrayObject MR::GUI::MRView::Volume::vertex_array_object
protected

Definition at line 139 of file volume.h.

◆ vertex_buffer

GL::VertexBuffer MR::GUI::MRView::Volume::vertex_buffer
protected

Definition at line 138 of file volume.h.

◆ vertices

Eigen::Vector3f MR::GUI::MRView::Volume::vertices[8]
protected

Definition at line 145 of file volume.h.

◆ z

Eigen::Vector3f MR::GUI::MRView::Volume::z
protected

Definition at line 144 of file volume.h.


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