#ifndef __bbUtilitiesCatPointsActors_h_INCLUDED__ #define __bbUtilitiesCatPointsActors_h_INCLUDED__ #include "bbtkAtomicBlackBox.h" #include "iostream" #include "vtkImageData.h" #include "vtkActor.h" #include "vtkPolyDataMapper.h" #include "vtkPolyData.h" #include "vtkPoints.h" #include "vtkCellArray.h" #include "vtkSphereSource.h" #include "vtkSphere.h" #include "vtkProperty.h" namespace bbUtilities { class /*BBTK_EXPORT*/ CatPointsActors : public bbtk::AtomicBlackBox { BBTK_BLACK_BOX_INTERFACE(CatPointsActors,bbtk::AtomicBlackBox); //================================================================== BBTK_DECLARE_INPUT(DSDirectory,std::string); BBTK_DECLARE_INPUT(Vessel,int); BBTK_DECLARE_OUTPUT(Actors,std::vector); BBTK_PROCESS(Process); void Process(); private: vtkActor* sphereactor0; vtkActor* sphereactor1; vtkActor* sphereactor2; vtkActor* sphereactor3; }; BBTK_BEGIN_DESCRIBE_BLACK_BOX(CatPointsActors,bbtk::AtomicBlackBox); BBTK_NAME("CatPointsActors"); BBTK_AUTHOR("car-prie@uniandes.edu.co"); BBTK_DESCRIPTION("Creates the sphere actor for each point appends them to a list and returns them as output"); BBTK_CATEGORY("__CATEGORY__"); BBTK_INPUT(CatPointsActors,DSDirectory,"Directory of the dataset that contains folders vessel0-3 with points A B E S",std::string, ""); BBTK_INPUT(CatPointsActors,Vessel,"Vessel number",int, ""); BBTK_OUTPUT(CatPointsActors,Actors,"Vector of actors",std::vector,""); BBTK_END_DESCRIBE_BLACK_BOX(CatPointsActors); } // EO namespace bbUtilities #endif // __bbUtilitiesCatPointsActors_h_INCLUDED__