Commit 2c4a7488 authored by Emmanuel Promayon's avatar Emmanuel Promayon

FIXED remove "this->" usage (see CPG-033)

parent 245d05f6
......@@ -49,10 +49,10 @@ ManualThreshold::ManualThreshold(ActionExtension* extension) : Action(extension)
setComponent("ImageComponent");
// Setting classification family and tags
this->setFamily("ITK Segmentation");
this->addTag("Threshold");
this->addTag("Manual");
this->addTag("Classification");
setFamily("ITK Segmentation");
addTag("Threshold");
addTag("Manual");
addTag("Classification");
// Setting parameters default values
Property* lowThresholdProperty = new Property(tr("Low Threshold"), 128, tr("Voxels which have a scalar value below this low threshold value will be set to black (min possible value). Above it AND below the high threshold value, they will be set to white (max possible value)."), "");
......@@ -114,8 +114,8 @@ Action::ApplyStatus ManualThreshold::apply() {
// --------------- process -------------------
void ManualThreshold::process(ImageComponent* comp) {
// Get the parameters
this->lowThreshold = property("Low Threshold").toInt();
this->highThreshold = property("High Threshold").toInt();
lowThreshold = property("Low Threshold").toInt();
highThreshold = property("High Threshold").toInt();
// ITK filter implementation using templates
vtkSmartPointer<vtkImageData> inputImage = comp->getImageData();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment