NorMIT-nav
16.5
An IGT application
|
#include <cxResampleImageFilter.h>
Public Member Functions | |
ResampleImageFilter (VisServicesPtr services) | |
virtual | ~ResampleImageFilter () |
virtual QString | getType () const |
virtual QString | getName () const |
virtual QString | getHelp () const |
virtual bool | execute () |
virtual bool | postProcess () |
DoublePropertyPtr | getMarginOption (QDomElement root) |
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) |
virtual bool | preProcess () |
Public Member Functions inherited from cx::Filter | |
Filter () | |
virtual | ~Filter () |
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 resampling and cropping a volume into the space of another.
Definition at line 47 of file cxResampleImageFilter.h.
cx::ResampleImageFilter::ResampleImageFilter | ( | VisServicesPtr | services | ) |
Definition at line 48 of file cxResampleImageFilter.cpp.
|
inlinevirtual |
Definition at line 53 of file cxResampleImageFilter.h.
|
protectedvirtual |
Implements cx::FilterImpl.
Definition at line 83 of file cxResampleImageFilter.cpp.
|
protectedvirtual |
Implements cx::FilterImpl.
Definition at line 78 of file cxResampleImageFilter.cpp.
|
protectedvirtual |
Implements cx::FilterImpl.
Definition at line 98 of file cxResampleImageFilter.cpp.
|
virtual |
Crop the image to the bounding box bb_q. bb_q is given in the output space q, defined relative to the image space d with qMd. If qMd is non-identity, image is resampled to space q. outputSpacing can be used to resample the volume (after cropping).
Implements cx::Filter.
Definition at line 118 of file cxResampleImageFilter.cpp.
|
virtual |
Return a help text describing algorithm usage.
Implements cx::Filter.
Definition at line 63 of file cxResampleImageFilter.cpp.
DoublePropertyPtr cx::ResampleImageFilter::getMarginOption | ( | QDomElement | root | ) |
Definition at line 71 of file cxResampleImageFilter.cpp.
|
virtual |
Return a descriptive name for this algorithm.
Implements cx::Filter.
Definition at line 53 of file cxResampleImageFilter.cpp.
|
virtual |
Return the type of this algorithm.
Implements cx::Filter.
Definition at line 58 of file cxResampleImageFilter.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.
Implements cx::Filter.
Definition at line 158 of file cxResampleImageFilter.cpp.