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

#include "gui/mrview/tool/connectome/edge.h"

Public Member Functions

 Edge (const node_t, const node_t, const Eigen::Vector3f &, const Eigen::Vector3f &)
 
 Edge (Edge &&)
 
 Edge ()=delete
 
 ~Edge ()
 
void render_line () const
 
void load_exemplar (const MR::DWI::Tractography::Streamline< float > &data)
 
void clear_exemplar ()
 
void create_streamline ()
 
void render_streamline () const
 
void clear_streamline ()
 
void create_streamtube ()
 
void render_streamtube () const
 
void clear_streamtube ()
 
node_t get_node_index (const size_t i) const
 
const Eigen::Vector3f & get_node_centre (const size_t i) const
 
Eigen::Vector3f get_com () const
 
const GLfloat * get_rot_matrix () const
 
const Eigen::Vector3f & get_dir () const
 
void set_size (const float i)
 
float get_size () const
 
void set_colour (const Eigen::Array3f &i)
 
const Eigen::Array3f & get_colour () const
 
void set_alpha (const float i)
 
float get_alpha () const
 
void set_visible (const bool i)
 
bool is_visible () const
 
bool is_diagonal () const
 
bool to_draw () const
 

Static Public Member Functions

static void set_streamtube_LOD (const size_t lod)
 

Detailed Description

Definition at line 40 of file edge.h.

Constructor & Destructor Documentation

◆ Edge() [1/3]

MR::GUI::MRView::Tool::Edge::Edge ( const  node_t,
const  node_t,
const Eigen::Vector3f &  ,
const Eigen::Vector3f &   
)

◆ Edge() [2/3]

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

◆ Edge() [3/3]

MR::GUI::MRView::Tool::Edge::Edge ( )
delete

◆ ~Edge()

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

Member Function Documentation

◆ clear_exemplar()

void MR::GUI::MRView::Tool::Edge::clear_exemplar ( )
inline

Definition at line 54 of file edge.h.

◆ clear_streamline()

void MR::GUI::MRView::Tool::Edge::clear_streamline ( )
inline

Definition at line 58 of file edge.h.

◆ clear_streamtube()

void MR::GUI::MRView::Tool::Edge::clear_streamtube ( )
inline

Definition at line 62 of file edge.h.

◆ create_streamline()

void MR::GUI::MRView::Tool::Edge::create_streamline ( )
inline

Definition at line 56 of file edge.h.

◆ create_streamtube()

void MR::GUI::MRView::Tool::Edge::create_streamtube ( )
inline

Definition at line 60 of file edge.h.

◆ get_alpha()

float MR::GUI::MRView::Tool::Edge::get_alpha ( ) const
inline

Definition at line 78 of file edge.h.

◆ get_colour()

const Eigen::Array3f & MR::GUI::MRView::Tool::Edge::get_colour ( ) const
inline

Definition at line 76 of file edge.h.

◆ get_com()

Eigen::Vector3f MR::GUI::MRView::Tool::Edge::get_com ( ) const
inline

Definition at line 68 of file edge.h.

◆ get_dir()

const Eigen::Vector3f & MR::GUI::MRView::Tool::Edge::get_dir ( ) const
inline

Definition at line 72 of file edge.h.

◆ get_node_centre()

const Eigen::Vector3f & MR::GUI::MRView::Tool::Edge::get_node_centre ( const size_t  i) const
inline

Definition at line 67 of file edge.h.

◆ get_node_index()

node_t MR::GUI::MRView::Tool::Edge::get_node_index ( const size_t  i) const
inline

Definition at line 66 of file edge.h.

◆ get_rot_matrix()

const GLfloat * MR::GUI::MRView::Tool::Edge::get_rot_matrix ( ) const
inline

Definition at line 70 of file edge.h.

◆ get_size()

float MR::GUI::MRView::Tool::Edge::get_size ( ) const
inline

Definition at line 74 of file edge.h.

◆ is_diagonal()

bool MR::GUI::MRView::Tool::Edge::is_diagonal ( ) const
inline

Definition at line 81 of file edge.h.

◆ is_visible()

bool MR::GUI::MRView::Tool::Edge::is_visible ( ) const
inline

Definition at line 80 of file edge.h.

◆ load_exemplar()

void MR::GUI::MRView::Tool::Edge::load_exemplar ( const MR::DWI::Tractography::Streamline< float > &  data)
inline

Definition at line 53 of file edge.h.

◆ render_line()

void MR::GUI::MRView::Tool::Edge::render_line ( ) const
inline

Definition at line 51 of file edge.h.

◆ render_streamline()

void MR::GUI::MRView::Tool::Edge::render_streamline ( ) const
inline

Definition at line 57 of file edge.h.

◆ render_streamtube()

void MR::GUI::MRView::Tool::Edge::render_streamtube ( ) const
inline

Definition at line 61 of file edge.h.

◆ set_alpha()

void MR::GUI::MRView::Tool::Edge::set_alpha ( const float  i)
inline

Definition at line 77 of file edge.h.

◆ set_colour()

void MR::GUI::MRView::Tool::Edge::set_colour ( const Eigen::Array3f &  i)
inline

Definition at line 75 of file edge.h.

◆ set_size()

void MR::GUI::MRView::Tool::Edge::set_size ( const float  i)
inline

Definition at line 73 of file edge.h.

◆ set_streamtube_LOD()

static void MR::GUI::MRView::Tool::Edge::set_streamtube_LOD ( const size_t  lod)
inlinestatic

Definition at line 64 of file edge.h.

◆ set_visible()

void MR::GUI::MRView::Tool::Edge::set_visible ( const bool  i)
inline

Definition at line 79 of file edge.h.

◆ to_draw()

bool MR::GUI::MRView::Tool::Edge::to_draw ( ) const
inline

Definition at line 83 of file edge.h.


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