#ifndef __bbUtilitiesAddRemoveActors_h_INCLUDED__ #define __bbUtilitiesAddRemoveActors_h_INCLUDED__ #include "bbtkAtomicBlackBox.h" #include "iostream" #include "vtkImageData.h" #include "vtkRenderer.h" #include "vtkActor.h" #include "vtkActorCollection.h" namespace bbUtilities { class /*BBTK_EXPORT*/ AddRemoveActors : public bbtk::AtomicBlackBox { BBTK_BLACK_BOX_INTERFACE(AddRemoveActors,bbtk::AtomicBlackBox); //================================================================== BBTK_DECLARE_INPUT(Actors,std::vector); BBTK_DECLARE_INPUT(Renderer,vtkRenderer*); BBTK_DECLARE_INPUT(Add,int); BBTK_PROCESS(Process); void Process(); private: vtkRenderer* render; }; BBTK_BEGIN_DESCRIBE_BLACK_BOX(AddRemoveActors,bbtk::AtomicBlackBox); BBTK_NAME("AddRemoveActors"); BBTK_AUTHOR("car-prie@uniandes.edu.co"); BBTK_DESCRIPTION("Add or Remove multiple actors"); BBTK_CATEGORY("__CATEGORY__"); BBTK_INPUT(AddRemoveActors,Actors,"Actor to be added or removed",std::vector,""); BBTK_INPUT(AddRemoveActors,Renderer,"Renderer where actor is to be placed",vtkRenderer*,""); BBTK_INPUT(AddRemoveActors,Add,"0 to add 1 to remove",int,""); BBTK_END_DESCRIBE_BLACK_BOX(AddRemoveActors); } // EO namespace bbUtilities #endif // __bbUtilitiesAddRemoveActors_h_INCLUDED__