#ifndef __bbvtkPolyDataWriterPlus_h_INCLUDED__ #define __bbvtkPolyDataWriterPlus_h_INCLUDED__ #include "bbvtk_EXPORT.h" #include "bbtkAtomicBlackBox.h" #include "iostream" #include #include #include #include #include #include #include #include #include #include #include #include #include "names.h" namespace bbvtk { #define OBS_PRE_WRITER_1 1201 #define OBS_POST_WRITER_1 1301 class bbvtk_EXPORT PolyDataWriterPlus : public bbtk::AtomicBlackBox, public vtkObject { BBTK_BLACK_BOX_INTERFACE(PolyDataWriterPlus,bbtk::AtomicBlackBox); BBTK_DECLARE_INPUT(InPrePersistObs1, vtkCommand*); BBTK_DECLARE_INPUT(InPostPersistObs1, vtkCommand*); BBTK_DECLARE_INPUT(InPath, std::string); BBTK_DECLARE_INPUT(In, vtkPolyData*); BBTK_DECLARE_INPUT(In2, vtkProp3D*); BBTK_DECLARE_INPUT(InFilePrefix, std::string); BBTK_PROCESS(Process); void Process(); }; BBTK_BEGIN_DESCRIBE_BLACK_BOX(PolyDataWriterPlus,bbtk::AtomicBlackBox); BBTK_NAME("PolyDataWriterPlus"); BBTK_AUTHOR("_author_"); BBTK_DESCRIPTION("_description_"); BBTK_CATEGORY("__CATEGORY__"); BBTK_INPUT(PolyDataWriterPlus,InPrePersistObs1,"Who will be notified before persist", vtkCommand*,""); BBTK_INPUT(PolyDataWriterPlus,InPostPersistObs1,"Who will be notified after persist", vtkCommand*,""); BBTK_INPUT(PolyDataWriterPlus,InPath,"Path to the file to be created or rewrited",std::string,""); BBTK_INPUT(PolyDataWriterPlus,In,"Information to be saved", vtkPolyData*,""); BBTK_INPUT(PolyDataWriterPlus,In2,"Information to be saved", vtkProp3D*,""); BBTK_END_DESCRIBE_BLACK_BOX(PolyDataWriterPlus); } // EO namespace bbvtk #endif // __bbPersistenceVTKWriter_h_INCLUDED__