BBTK_DECLARE_INPUT( lstPointY , std::vector<double> );
BBTK_DECLARE_INPUT( lstPointZ , std::vector<double> );
BBTK_DECLARE_INPUT( lstPointR , std::vector<double> );
+ BBTK_DECLARE_INPUT( OutputFormat , std::string );
+ BBTK_DECLARE_INPUT( Value , double );
+
+
BBTK_DECLARE_OUTPUT(Out,vtkImageData *);
BBTK_PROCESS(Process);
void Process();
+ int GetTypeFormat( std::string formatStr , vtkImageData* image );
+
+
private:
vtkImageData *mimage;
};
BBTK_INPUT(AxeVolume,lstPointY,"List of Y values", std::vector<double> ,"");
BBTK_INPUT(AxeVolume,lstPointZ,"List of Z values", std::vector<double> ,"");
BBTK_INPUT(AxeVolume,lstPointR,"List of Radius", std::vector<double> ,"");
+
+ BBTK_INPUT(AxeVolume,OutputFormat,"Image output format: SAME (default), VTK_BIT, VTK_CHAR, VTK_SIGNED_CHAR, VTK_UNSIGNED_CHAR, VTK_SHORT, VTK_UNSIGNED_SHORT, VTK_INT, VTK_UNSIGNED_INT, VTK_LONG, VTK_UNSIGNED_LONG, VTK_FLOAT, VTK_DOUBLE",std::string,"");
+ BBTK_INPUT(AxeVolume,Value,"(255 default) Gray level in the output image", double ,"");
+
BBTK_OUTPUT(AxeVolume,Out,"Result image",vtkImageData*,"");
BBTK_END_DESCRIBE_BLACK_BOX(AxeVolume);
}