#ifndef __bbPersistenceVTKReader_h_INCLUDED__ #define __bbPersistenceVTKReader_h_INCLUDED__ #include "bbPersistence_EXPORT.h" #include "bbtkAtomicBlackBox.h" #include "iostream" #include #include #include #include #include #include #include #include #include #include #include #include "names.h" namespace bbPersistence { #define OBS_POST_READER_1 1401 class bbPersistence_EXPORT VTKReader : public bbtk::AtomicBlackBox, public vtkObject { BBTK_BLACK_BOX_INTERFACE(VTKReader,bbtk::AtomicBlackBox); BBTK_DECLARE_INPUT(InPath, std::string); BBTK_DECLARE_INPUT(InOpacity, double); BBTK_DECLARE_INPUT(InColor, std::vector); BBTK_DECLARE_INPUT(InPostReadObs1, vtkCommand*); BBTK_DECLARE_OUTPUT(Out,vtkPolyData*); BBTK_DECLARE_OUTPUT(OutActor,vtkProp3D*); BBTK_PROCESS(Process); void Process(); vtkPolyData* informacion; bool readed; }; BBTK_BEGIN_DESCRIBE_BLACK_BOX(VTKReader,bbtk::AtomicBlackBox); BBTK_NAME("VTKReader"); BBTK_AUTHOR("_author_"); BBTK_DESCRIPTION("_description_"); BBTK_CATEGORY("__CATEGORY__"); BBTK_INPUT(VTKReader,InPath,"Path to the file to be readed",std::string,""); BBTK_INPUT(VTKReader,InOpacity,"",double,""); BBTK_INPUT(VTKReader,InColor,"",std::vector,""); BBTK_INPUT(VTKReader,InPostReadObs1,"Who will be notified after persist", vtkCommand*,""); BBTK_OUTPUT(VTKReader,Out,"Information readed", vtkPolyData*,""); BBTK_OUTPUT(VTKReader,OutActor,"Information as an actor", vtkProp3D*,""); BBTK_END_DESCRIBE_BLACK_BOX(VTKReader); } // EO namespace bbPersistence #endif // __bbPersistenceVTKReader_h_INCLUDED__