#ifndef __bbUtilitiesDistance_h_INCLUDED__ #define __bbUtilitiesDistance_h_INCLUDED__ #include "bbtkAtomicBlackBox.h" #include "iostream" namespace bbUtilities { class /*BBTK_EXPORT*/ Distance : public bbtk::AtomicBlackBox { // BBTK_USER_BLACK_BOX_INTERFACE(Distance,bbtk::AtomicBlackBox); BBTK_BLACK_BOX_INTERFACE(Distance,bbtk::AtomicBlackBox); //================================================================== BBTK_DECLARE_INPUT(FileNameAxisPoints,std::string); BBTK_DECLARE_INPUT(DSDirectory, std::string); BBTK_DECLARE_INPUT(Vessel, int); BBTK_DECLARE_INPUT(InX, std::vector); BBTK_DECLARE_INPUT(InY, std::vector); BBTK_DECLARE_INPUT(InZ, std::vector); BBTK_PROCESS(Process); void Process(); }; BBTK_BEGIN_DESCRIBE_BLACK_BOX(Distance,bbtk::AtomicBlackBox); BBTK_NAME("Distance"); BBTK_AUTHOR("car-prie@uniandes.edu.co"); BBTK_DESCRIPTION("After sampling, test wheter the points closer to the Aorta are between a distance inferior to the local radius"); BBTK_CATEGORY("__CATEGORY__"); BBTK_INPUT(Distance,FileNameAxisPoints,"Filename where the points are stored",std::string, ""); BBTK_INPUT(Distance,DSDirectory,"Datase directory", std::string, ""); BBTK_INPUT(Distance,Vessel,"Vessel number", int, ""); BBTK_INPUT(Distance,InX,"Vector x resampled", std::vector, ""); BBTK_INPUT(Distance,InY,"Vector x resampled", std::vector, ""); BBTK_INPUT(Distance,InZ,"Vector x resampled",std::vector, ""); BBTK_END_DESCRIBE_BLACK_BOX(Distance); } // EO namespace bbUtilities #endif // __bbUtilitiesDistance_h_INCLUDED__