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

#include <segmentationtool.h>

Inheritance diagram for SegmentationTool:
Inheritance graph
Collaboration diagram for SegmentationTool:
Collaboration graph

Public Types

enum  { Type = 1 }
 

Public Member Functions

 SegmentationTool (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)
 
QPixmap getLabel (size_t axis)
 
void drawSeed (Bial::Point3D last, Bial::Point3D actual)
 
void setDrawType (int type)
 
void clearSeeds ()
 
Bial::Image< int > segmentationOGS (double alpha, double beta)
 
double getAlpha () const
 
void setAlpha (double value)
 
double getBeta () const
 
void setBeta (double value)
 
int getDrawType () const
 
void setSeedsVisibility (bool vis)
 
void setMaskVisibility (bool vis)
 
bool getSeedsVisible () const
 
bool getMaskVisible () const
 
void setThickness (int value)
 
- Public Member Functions inherited from Tool
 Tool (GuiImage *guiImage, ImageViewer *viewer)
 
void setVisible (bool value)
 
bool visible () const
 
bool hasLabel () const
 

Static Public Attributes

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

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 7 of file segmentationtool.h.

Member Enumeration Documentation

anonymous enum
Enumerator
Type 

Definition at line 25 of file segmentationtool.h.

Constructor & Destructor Documentation

SegmentationTool::SegmentationTool ( GuiImage guiImage,
ImageViewer viewer 
)

Definition at line 63 of file segmentationtool.cpp.

Member Function Documentation

void SegmentationTool::clearSeeds ( )

Definition at line 173 of file segmentationtool.cpp.

void SegmentationTool::drawSeed ( Bial::Point3D  last,
Bial::Point3D  actual 
)

Definition at line 139 of file segmentationtool.cpp.

double SegmentationTool::getAlpha ( ) const

Definition at line 20 of file segmentationtool.cpp.

double SegmentationTool::getBeta ( ) const

Definition at line 28 of file segmentationtool.cpp.

int SegmentationTool::getDrawType ( ) const

Definition at line 36 of file segmentationtool.cpp.

QPixmap SegmentationTool::getLabel ( size_t  axis)
virtual

Reimplemented from Tool.

Definition at line 224 of file segmentationtool.cpp.

bool SegmentationTool::getMaskVisible ( ) const

Definition at line 54 of file segmentationtool.cpp.

bool SegmentationTool::getSeedsVisible ( ) const

Definition at line 50 of file segmentationtool.cpp.

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

Implements Tool.

Definition at line 80 of file segmentationtool.cpp.

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

Implements Tool.

Definition at line 127 of file segmentationtool.cpp.

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

Implements Tool.

Definition at line 98 of file segmentationtool.cpp.

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

Implements Tool.

Definition at line 114 of file segmentationtool.cpp.

Bial::Image< int > SegmentationTool::segmentationOGS ( double  alpha,
double  beta 
)

Definition at line 183 of file segmentationtool.cpp.

void SegmentationTool::setAlpha ( double  value)

Definition at line 24 of file segmentationtool.cpp.

void SegmentationTool::setBeta ( double  value)

Definition at line 32 of file segmentationtool.cpp.

void SegmentationTool::setDrawType ( int  type)

Definition at line 169 of file segmentationtool.cpp.

void SegmentationTool::setMaskVisibility ( bool  vis)

Definition at line 45 of file segmentationtool.cpp.

void SegmentationTool::setSeedsVisibility ( bool  vis)

Definition at line 40 of file segmentationtool.cpp.

void SegmentationTool::setThickness ( int  value)

Definition at line 58 of file segmentationtool.cpp.

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

Implements Tool.

Definition at line 134 of file segmentationtool.cpp.

int SegmentationTool::type ( )
virtual

Implements Tool.

Definition at line 76 of file segmentationtool.cpp.

Member Data Documentation

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

Definition at line 27 of file segmentationtool.h.


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