Fraxinus
17.12
An IGT application
|
#include <cxAirwaysFilterService.h>
Public Member Functions | |
AirwaysFilter (VisServicesPtr services) | |
virtual | ~AirwaysFilter () |
virtual QString | getType () const |
virtual QString | getName () const |
virtual QString | getHelp () const |
void | setDefaultStraightCLTubesOption (bool defaultStraightCLTubesOption) |
bool | preProcess () |
virtual bool | execute () |
virtual bool | postProcess () |
Public Member Functions inherited from cx::FilterImpl | |
virtual | ~FilterImpl () |
virtual QString | getUid () const |
virtual void | initialize (QDomElement root, QString uid="") |
virtual std::vector< PropertyPtr > | getOptions () |
virtual std::vector< SelectDataStringPropertyBasePtr > | getInputTypes () |
virtual std::vector< SelectDataStringPropertyBasePtr > | getOutputTypes () |
virtual bool | hasPresets () |
virtual PresetsPtr | getPresets () |
virtual QDomElement | generatePresetFromCurrentlySetOptions (QString name) |
virtual void | setActive (bool on) |
Public Member Functions inherited from cx::Filter | |
Filter () | |
virtual | ~Filter () |
Static Public Member Functions | |
static QString | getNameSuffix () |
static QString | getNameSuffixStraight () |
static QString | getNameSuffixTubes () |
Protected Member Functions | |
virtual void | createOptions () |
virtual void | createInputTypes () |
virtual void | createOutputTypes () |
Protected Member Functions inherited from cx::FilterImpl | |
FilterImpl (VisServicesPtr services) | |
ImagePtr | getCopiedInputImage (int index=0) |
void | updateThresholdFromImageChange (QString uid, DoublePropertyPtr threshold) |
void | updateThresholdPairFromImageChange (QString uid, DoublePairPropertyPtr threshold) |
PatientModelServicePtr | patientService () |
Additional Inherited Members | |
Public Slots inherited from cx::FilterImpl | |
virtual void | requestSetPresetSlot (QString name) |
Public Slots inherited from cx::Filter | |
virtual void | requestSetPresetSlot (QString name)=0 |
Signals inherited from cx::Filter | |
void | changed () |
Protected Attributes inherited from cx::FilterImpl | |
std::vector< SelectDataStringPropertyBasePtr > | mInputTypes |
std::vector< SelectDataStringPropertyBasePtr > | mOutputTypes |
std::vector< PropertyPtr > | mOptionsAdapters |
QDomElement | mOptions |
std::vector< DataPtr > | mCopiedInput |
QDomElement | mCopiedOptions |
bool | mActive |
VisServicesPtr | mServices |
Filter for airway segmentation and centerline extraction of a CT volume.
Algorithm written by Erik Smistad.
Definition at line 62 of file cxAirwaysFilterService.h.
cx::AirwaysFilter::AirwaysFilter | ( | VisServicesPtr | services | ) |
Definition at line 70 of file cxAirwaysFilterService.cpp.
|
virtual |
Definition at line 81 of file cxAirwaysFilterService.cpp.
|
protectedvirtual |
Implements cx::FilterImpl.
Definition at line 474 of file cxAirwaysFilterService.cpp.
|
protectedvirtual |
Implements cx::FilterImpl.
Definition at line 467 of file cxAirwaysFilterService.cpp.
|
protectedvirtual |
Implements cx::FilterImpl.
Definition at line 484 of file cxAirwaysFilterService.cpp.
|
virtual |
Execute filter with the given inputs and produce an output. This method is threadable - can be executed in a secondary thread. Assumes preprocess has been called.
Implements cx::Filter.
Definition at line 189 of file cxAirwaysFilterService.cpp.
|
virtual |
Return a help text describing algorithm usage.
Implements cx::Filter.
Definition at line 94 of file cxAirwaysFilterService.cpp.
|
virtual |
Return a descriptive name for this algorithm.
Implements cx::Filter.
Definition at line 84 of file cxAirwaysFilterService.cpp.
|
static |
Definition at line 102 of file cxAirwaysFilterService.cpp.
|
static |
Definition at line 107 of file cxAirwaysFilterService.cpp.
|
static |
Definition at line 112 of file cxAirwaysFilterService.cpp.
|
virtual |
Return the type of this algorithm. Need to match id string in user documentation
Implements cx::Filter.
Definition at line 89 of file cxAirwaysFilterService.cpp.
|
virtual |
Perform postprocessing tasks and set result from calculation into the output adapters.
Must be called from the main thread. Assumes execute() has been called.
because the segmented image is 0..1
Implements cx::Filter.
Definition at line 310 of file cxAirwaysFilterService.cpp.
|
virtual |
Perform main thread preprocessing. Copies input data from options and the input adapters into thread-safe storage. Assumes getOptions(), getInputTypes(), getOutputTypes() has been called (this initializes options)
Reimplemented from cx::FilterImpl.
Definition at line 156 of file cxAirwaysFilterService.cpp.
void cx::AirwaysFilter::setDefaultStraightCLTubesOption | ( | bool | defaultStraightCLTubesOption | ) |
Definition at line 443 of file cxAirwaysFilterService.cpp.