#ifndef __bbUtilitiesDrawAxis_h_INCLUDED__ #define __bbUtilitiesDrawAxis_h_INCLUDED__ #include "bbtkAtomicBlackBox.h" #include "iostream" #include "vtkImageData.h" #include "vtkRenderer.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*/ DrawAxis : public bbtk::AtomicBlackBox { BBTK_BLACK_BOX_INTERFACE(DrawAxis,bbtk::AtomicBlackBox); //================================================================== BBTK_DECLARE_INPUT(FileNameAxisPoints,std::string); BBTK_DECLARE_INPUT(Image,vtkImageData*); BBTK_DECLARE_INPUT(FileNamePoints,std::string); BBTK_DECLARE_INPUT(InRenderer,vtkRenderer*); BBTK_DECLARE_INPUT(Color,std::vector); BBTK_PROCESS(Process); void Process(); }; BBTK_BEGIN_DESCRIBE_BLACK_BOX(DrawAxis,bbtk::AtomicBlackBox); BBTK_NAME("DrawAxis"); BBTK_AUTHOR("Monica Lozano"); BBTK_DESCRIPTION("Draw an axis defined in a file"); BBTK_CATEGORY("__CATEGORY__"); BBTK_INPUT(DrawAxis,FileNameAxisPoints,"Path to the file that contains the the axis points",std::string, ""); BBTK_INPUT(DrawAxis,Image,"Image",vtkImageData*, ""); BBTK_INPUT(DrawAxis,FileNamePoints,"Path to the file that contains the point A,B,E,S",std::string, ""); BBTK_INPUT(DrawAxis,InRenderer,"Render",vtkRenderer*, ""); BBTK_INPUT(DrawAxis,Color,"Color",std::vector, ""); BBTK_END_DESCRIBE_BLACK_BOX(DrawAxis); } // EO namespace bbUtilities #endif // __bbUtilitiesDrawAxis_h_INCLUDED__