NorMIT-nav
22.09
An IGT application
|
#include <cxColorVariationFilter.h>
Public Member Functions | |
ColorVariationFilter (VisServicesPtr services) | |
virtual | ~ColorVariationFilter () |
virtual QString | getType () const |
virtual QString | getName () const |
virtual QString | getHelp () const |
MeshPtr | getOutputMesh () |
virtual bool | execute () |
MeshPtr | execute (MeshPtr inputMesh, double globaleVariance, double localeVariance, int smoothingIterations) |
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) |
virtual bool | preProcess () |
Public Member Functions inherited from cx::Filter | |
Filter () | |
virtual | ~Filter () |
Static Public Member Functions | |
static QString | getNameSuffixColorVariation () |
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 to apply variation in colors to a mesh
Definition at line 27 of file cxColorVariationFilter.h.
cx::ColorVariationFilter::ColorVariationFilter | ( | VisServicesPtr | services | ) |
Definition at line 35 of file cxColorVariationFilter.cpp.
|
inlinevirtual |
Definition at line 33 of file cxColorVariationFilter.h.
|
protectedvirtual |
Implements cx::FilterImpl.
Definition at line 91 of file cxColorVariationFilter.cpp.
|
protectedvirtual |
Implements cx::FilterImpl.
Definition at line 84 of file cxColorVariationFilter.cpp.
|
protectedvirtual |
Implements cx::FilterImpl.
Definition at line 101 of file cxColorVariationFilter.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 111 of file cxColorVariationFilter.cpp.
MeshPtr cx::ColorVariationFilter::execute | ( | MeshPtr | inputMesh, |
double | globaleVariance, | ||
double | localeVariance, | ||
int | smoothingIterations | ||
) |
Definition at line 128 of file cxColorVariationFilter.cpp.
|
virtual |
Return a help text describing algorithm usage.
Implements cx::Filter.
Definition at line 55 of file cxColorVariationFilter.cpp.
|
virtual |
Return a descriptive name for this algorithm.
Implements cx::Filter.
Definition at line 40 of file cxColorVariationFilter.cpp.
|
static |
Definition at line 50 of file cxColorVariationFilter.cpp.
MeshPtr cx::ColorVariationFilter::getOutputMesh | ( | ) |
Definition at line 155 of file cxColorVariationFilter.cpp.
|
virtual |
Return the type of this algorithm. Need to match id string in user documentation
Implements cx::Filter.
Definition at line 45 of file cxColorVariationFilter.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 160 of file cxColorVariationFilter.cpp.