Biomedical Image Analysis Library
The Biomedical Image Analysis Library is a poweful tool for developers, physicians, researchers, engineers, and so on.
tool.cpp
Go to the documentation of this file.
1 #include "tool.h"
2 
3 bool Tool::hasLabel( ) const {
4  return( m_hasLabel );
5 }
6 
7 void Tool::setHasLabel( bool sHasLabel ) {
8  m_hasLabel = sHasLabel;
9 }
10 
11 Tool::Tool( GuiImage *guiImage, ImageViewer *viewer ) : QObject( guiImage ), guiImage( guiImage ), viewer( viewer ) {
12 }
13 
14 void Tool::setVisible( bool value ) {
15  m_visible = value;
16 }
17 
18 QPixmap Tool::getLabel( size_t axis ) {
19  Q_UNUSED( axis );
20  return( QPixmap( ) );
21 }
22 
23 bool Tool::visible( ) const {
24  return( m_visible );
25 }
GuiImage * guiImage
Definition: tool.h:13
ImageViewer * viewer
Definition: tool.h:14
The GuiImage class is a bridge to the Bial::Image data structure to the QImage data structure...
Definition: guiimage.h:20
void setVisible(bool value)
Definition: tool.cpp:14
virtual QPixmap getLabel(size_t axis)
Definition: tool.cpp:18
void setHasLabel(bool sHasLabel)
Definition: tool.cpp:7
Tool(GuiImage *guiImage, ImageViewer *viewer)
Definition: tool.cpp:11
bool visible() const
Definition: tool.cpp:23
bool hasLabel() const
Definition: tool.cpp:3
bool m_visible
Definition: tool.h:15
bool m_hasLabel
Definition: tool.h:16