From f9f849d89513eed18cbfb923ccda961ecc7ede24 Mon Sep 17 00:00:00 2001 From: Eduardo DAVILA Date: Mon, 27 Jan 2020 10:53:08 +0100 Subject: [PATCH] Clean code --- packages/vtk/src/bbvtkTemporalPicker.cxx | 2 -- packages/vtk/src/bbvtkTemporalPicker.h | 17 +---------------- 2 files changed, 1 insertion(+), 18 deletions(-) diff --git a/packages/vtk/src/bbvtkTemporalPicker.cxx b/packages/vtk/src/bbvtkTemporalPicker.cxx index 4623084..37901c7 100644 --- a/packages/vtk/src/bbvtkTemporalPicker.cxx +++ b/packages/vtk/src/bbvtkTemporalPicker.cxx @@ -56,7 +56,6 @@ void TemporalPicker::Process() // * TYPE is the C++ type of the input/output // (the one provided in the attribute 'type' of the tag 'input') - std::vector result; if (bbGetInputIn()!=NULL) { @@ -138,7 +137,6 @@ void TemporalPicker::Process() } else {// bbGetInputIn printf("ERROR: Missing Input:In vtkImageData* in TemporalPicker Box..\n "); } // bbGetInputIn - bbSetOutputOut(result); } //===== diff --git a/packages/vtk/src/bbvtkTemporalPicker.h b/packages/vtk/src/bbvtkTemporalPicker.h index f41e642..13b918f 100644 --- a/packages/vtk/src/bbvtkTemporalPicker.h +++ b/packages/vtk/src/bbvtkTemporalPicker.h @@ -25,9 +25,6 @@ # ------------------------------------------------------------------------ */ -//===== -// Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost) -//===== #ifndef __bbvtkTemporalPicker_h_INCLUDED__ #define __bbvtkTemporalPicker_h_INCLUDED__ #include "bbvtk_EXPORT.h" @@ -36,27 +33,18 @@ #include "vtkImageData.h" - namespace bbvtk { -class bbvtk_EXPORT TemporalPicker - : - public bbtk::AtomicBlackBox +class bbvtk_EXPORT TemporalPicker : public bbtk::AtomicBlackBox { BBTK_BLACK_BOX_INTERFACE(TemporalPicker,bbtk::AtomicBlackBox); -//===== -// Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost) -//===== BBTK_DECLARE_INPUT(In,vtkImageData*); BBTK_DECLARE_INPUT(SizeRegion,int); BBTK_DECLARE_INPUT(Point,std::vector); BBTK_DECLARE_OUTPUT(Out,std::vector); BBTK_PROCESS(Process); void Process(); -//===== -// Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost) -//===== }; BBTK_BEGIN_DESCRIBE_BLACK_BOX(TemporalPicker,bbtk::AtomicBlackBox); @@ -69,9 +57,6 @@ BBTK_BEGIN_DESCRIBE_BLACK_BOX(TemporalPicker,bbtk::AtomicBlackBox); BBTK_INPUT(TemporalPicker,Point,"Point [x,y]",std::vector,""); BBTK_OUTPUT(TemporalPicker,Out,"Output vector with Z information",std::vector,""); BBTK_END_DESCRIBE_BLACK_BOX(TemporalPicker); -//===== -// Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost) -//===== } // EO namespace bbvtk -- 2.45.1