Biomedical Image Analysis Library
The Biomedical Image Analysis Library is a poweful tool for developers, physicians, researchers, engineers, and so on.
DefaultTool Class Reference

#include <defaulttool.h>

Inheritance diagram for DefaultTool:
Inheritance graph
Collaboration diagram for DefaultTool:
Collaboration graph

Public Types

enum  { Type = 0 }
 

Public Member Functions

 DefaultTool (GuiImage *guiImage, ImageViewer *viewer)
 
int type ()
 
void mouseReleased (QPointF pt, Qt::MouseButtons buttons, size_t axis)
 
void mouseClicked (QPointF pt, Qt::MouseButtons buttons, size_t axis)
 
void mouseDragged (QPointF pt, Qt::MouseButtons buttons, size_t axis)
 
void mouseMoved (QPointF pt, size_t axis)
 
void sliceChanged (size_t axis, size_t slice)
 
void updateOverlay (QPointF pt, size_t axis)
 
- Public Member Functions inherited from Tool
 Tool (GuiImage *guiImage, ImageViewer *viewer)
 
void setVisible (bool value)
 
virtual QPixmap getLabel (size_t axis)
 
bool visible () const
 
bool hasLabel () const
 

Static Public Attributes

static const int supportedFormats = ( ( int ) Modality::BW2D | ( int ) Modality::BW3D | ( int ) Modality::RGB2D )
 

Additional Inherited Members

- Protected Member Functions inherited from Tool
void setHasLabel (bool sHasLabel)
 
- Protected Attributes inherited from Tool
GuiImageguiImage
 
ImageViewerviewer
 
bool m_visible
 
bool m_hasLabel = false
 

Detailed Description

Definition at line 6 of file defaulttool.h.

Member Enumeration Documentation

anonymous enum
Enumerator
Type 

Definition at line 10 of file defaulttool.h.

Constructor & Destructor Documentation

DefaultTool::DefaultTool ( GuiImage guiImage,
ImageViewer viewer 
)

Definition at line 6 of file defaulttool.cpp.

Member Function Documentation

void DefaultTool::mouseClicked ( QPointF  pt,
Qt::MouseButtons  buttons,
size_t  axis 
)
virtual

Implements Tool.

Definition at line 22 of file defaulttool.cpp.

void DefaultTool::mouseDragged ( QPointF  pt,
Qt::MouseButtons  buttons,
size_t  axis 
)
virtual

Implements Tool.

Definition at line 30 of file defaulttool.cpp.

void DefaultTool::mouseMoved ( QPointF  pt,
size_t  axis 
)
virtual

Implements Tool.

Definition at line 38 of file defaulttool.cpp.

void DefaultTool::mouseReleased ( QPointF  pt,
Qt::MouseButtons  buttons,
size_t  axis 
)
virtual

Implements Tool.

Definition at line 14 of file defaulttool.cpp.

void DefaultTool::sliceChanged ( size_t  axis,
size_t  slice 
)
virtual

Implements Tool.

Definition at line 86 of file defaulttool.cpp.

int DefaultTool::type ( )
virtual

Implements Tool.

Definition at line 10 of file defaulttool.cpp.

void DefaultTool::updateOverlay ( QPointF  pt,
size_t  axis 
)

Definition at line 63 of file defaulttool.cpp.

Member Data Documentation

const int DefaultTool::supportedFormats = ( ( int ) Modality::BW2D | ( int ) Modality::BW3D | ( int ) Modality::RGB2D )
static

Definition at line 11 of file defaulttool.h.


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