#include "clitkImageToImageGenericFilter.h"
#include "clitkProfileImage_ggo.h"
+#include <vtkFloatArray.h>
+
//--------------------------------------------------------------------
namespace clitk
{
public:
//--------------------------------------------------------------------
typedef ProfileImageGenericFilter Self;
- typedef itk::SmartPointer<Self> Pointer;
- typedef itk::SmartPointer<const Self> ConstPointer;
+ typedef itk::SmartPointer<Self> Pointer;
+ typedef itk::SmartPointer<const Self> ConstPointer;
typedef args_info_clitkProfileImage args_info_type;
//--------------------------------------------------------------------
// Main function called each time the filter is updated
template<class InputImageType>
void UpdateWithInputImageType();
+
+ vtkFloatArray* GetArrayX();
+ vtkFloatArray* GetArrayY();
+ vtkFloatArray* GetCoord();
+
+ //Write the output in the txt file
+ void WriteOutput(std::string outputFilename);
protected:
ProfileImageGenericFilter();
template<unsigned int Dim> void InitializeImageType();
args_info_type mArgsInfo;
+
+ vtkSmartPointer<vtkFloatArray> mArrayX;
+ vtkSmartPointer<vtkFloatArray> mArrayY;
+ vtkSmartPointer<vtkFloatArray> mCoord;
+ vtkSmartPointer<vtkFloatArray> mCoordmm;
+ int mDimension;
+
+
}; // end class
//--------------------------------------------------------------------