Developer documentation
Version 3.0.3-105-gd3941f44
MR::GUI::MRView::Tool::ROI_UndoEntry Struct Reference

#include "gui/mrview/tool/roi_editor/undoentry.h"

Classes

class  Shared
 

Public Member Functions

 MEMALIGN (ROI_UndoEntry) ROI_UndoEntry(ROI_Item &
 
 ROI_UndoEntry (const ROI_UndoEntry &)=delete
 
 ROI_UndoEntry (ROI_UndoEntry &&)
 
 ~ROI_UndoEntry ()
 
ROI_UndoEntryoperator= (const ROI_UndoEntry &)=delete
 
ROI_UndoEntryoperator= (ROI_UndoEntry &&)
 
void draw_line (ROI_Item &, const Eigen::Vector3f &, const Eigen::Vector3f &, const bool)
 
void draw_thick_line (ROI_Item &, const Eigen::Vector3f &, const Eigen::Vector3f &, const bool, const float)
 
void draw_circle (ROI_Item &, const Eigen::Vector3f &, const bool, const float)
 
void draw_rectangle (ROI_Item &, const Eigen::Vector3f &, const Eigen::Vector3f &, const bool)
 
void draw_fill (ROI_Item &, const Eigen::Vector3f &, const bool)
 
void undo (ROI_Item &roi)
 
void redo (ROI_Item &roi)
 
void copy (ROI_Item &roi, ROI_UndoEntry &source)
 

Public Attributes

 int
 
std::array< GLint, 3 > from
 
std::array< GLint, 3 > size
 
std::array< GLint, 2 > tex_size
 
std::array< GLint, 2 > slice_axes
 
vector< GLubyte > before
 
vector< GLubyte > after
 

Static Public Attributes

static std::unique_ptr< Sharedshared
 

Detailed Description

Definition at line 42 of file undoentry.h.

Constructor & Destructor Documentation

◆ ROI_UndoEntry() [1/2]

MR::GUI::MRView::Tool::ROI_UndoEntry::ROI_UndoEntry ( const ROI_UndoEntry )
delete

◆ ROI_UndoEntry() [2/2]

MR::GUI::MRView::Tool::ROI_UndoEntry::ROI_UndoEntry ( ROI_UndoEntry &&  )

◆ ~ROI_UndoEntry()

MR::GUI::MRView::Tool::ROI_UndoEntry::~ROI_UndoEntry ( )

Member Function Documentation

◆ copy()

void MR::GUI::MRView::Tool::ROI_UndoEntry::copy ( ROI_Item roi,
ROI_UndoEntry source 
)

◆ draw_circle()

void MR::GUI::MRView::Tool::ROI_UndoEntry::draw_circle ( ROI_Item ,
const Eigen::Vector3f &  ,
const bool  ,
const float   
)

◆ draw_fill()

void MR::GUI::MRView::Tool::ROI_UndoEntry::draw_fill ( ROI_Item ,
const Eigen::Vector3f &  ,
const bool   
)

◆ draw_line()

void MR::GUI::MRView::Tool::ROI_UndoEntry::draw_line ( ROI_Item ,
const Eigen::Vector3f &  ,
const Eigen::Vector3f &  ,
const bool   
)

◆ draw_rectangle()

void MR::GUI::MRView::Tool::ROI_UndoEntry::draw_rectangle ( ROI_Item ,
const Eigen::Vector3f &  ,
const Eigen::Vector3f &  ,
const bool   
)

◆ draw_thick_line()

void MR::GUI::MRView::Tool::ROI_UndoEntry::draw_thick_line ( ROI_Item ,
const Eigen::Vector3f &  ,
const Eigen::Vector3f &  ,
const bool  ,
const float   
)

◆ MEMALIGN()

MR::GUI::MRView::Tool::ROI_UndoEntry::MEMALIGN ( ROI_UndoEntry  ) &

◆ operator=() [1/2]

ROI_UndoEntry & MR::GUI::MRView::Tool::ROI_UndoEntry::operator= ( const ROI_UndoEntry )
delete

◆ operator=() [2/2]

ROI_UndoEntry & MR::GUI::MRView::Tool::ROI_UndoEntry::operator= ( ROI_UndoEntry &&  )

◆ redo()

void MR::GUI::MRView::Tool::ROI_UndoEntry::redo ( ROI_Item roi)

◆ undo()

void MR::GUI::MRView::Tool::ROI_UndoEntry::undo ( ROI_Item roi)

Member Data Documentation

◆ after

vector<GLubyte> MR::GUI::MRView::Tool::ROI_UndoEntry::after

Definition at line 64 of file undoentry.h.

◆ before

vector<GLubyte> MR::GUI::MRView::Tool::ROI_UndoEntry::before

Definition at line 64 of file undoentry.h.

◆ from

std::array<GLint,3> MR::GUI::MRView::Tool::ROI_UndoEntry::from

Definition at line 62 of file undoentry.h.

◆ int

MR::GUI::MRView::Tool::ROI_UndoEntry::int

Definition at line 44 of file undoentry.h.

◆ shared

std::unique_ptr<Shared> MR::GUI::MRView::Tool::ROI_UndoEntry::shared
static

Definition at line 79 of file undoentry.h.

◆ size

std::array<GLint,3> MR::GUI::MRView::Tool::ROI_UndoEntry::size

Definition at line 62 of file undoentry.h.

◆ slice_axes

std::array<GLint,2> MR::GUI::MRView::Tool::ROI_UndoEntry::slice_axes

Definition at line 63 of file undoentry.h.

◆ tex_size

std::array<GLint,2> MR::GUI::MRView::Tool::ROI_UndoEntry::tex_size

Definition at line 63 of file undoentry.h.


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