Commit 495201b0 authored by Emmanuel Promayon's avatar Emmanuel Promayon

FIXED code cleaning

parent 40341a89
......@@ -36,11 +36,11 @@ using namespace camitk;
// --------------- constructor -------------------
ImageLutAction::ImageLutAction(ActionExtension* extension) : Action(extension) {
setName("Lut");
setName("Image Look Up Table");
setDescription("Modify the LUT of an image components");
setComponent("ImageComponent");
setFamily("ImageLut");
addTag("Lut");
setFamily("Image LUT");
addTag("LUT");
}
// --------------- getWidget -------------------
......
......@@ -47,7 +47,7 @@ using namespace camitk;
// ---------------------- Constructor ----------------------------
ImageLutWidget::ImageLutWidget(QWidget* parent) : QWidget(parent) {
myComponent = NULL;
myComponent = nullptr;
lutMin = 0;
lutMax = 255;
......@@ -92,7 +92,7 @@ void ImageLutWidget::updateComponent(ImageComponent* comp) {
myComponent = comp;
// if there is no lookup table, just don't display this widget!
if (myComponent->getLut() == NULL) {
if (myComponent->getLut() == nullptr) {
setEnabled(false);
return;
}
......
......@@ -51,10 +51,8 @@ public:
/// Default Destructor
virtual ~VolumeRenderingAction() = default;
void createVolumeRendering(camitk::ImageComponent* comp);
public slots:
/** this method is automatically called when the action is triggered.
* Call getTargets() method to get the list of components to use.
......
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