//===== // Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost) //===== #ifndef __bbcreaVtkStreamLineVisu_h_INCLUDED__ #define __bbcreaVtkStreamLineVisu_h_INCLUDED__ #include "bbcreaVtk_EXPORT.h" #include "bbtkAtomicBlackBox.h" #include "iostream" #include "vtkDataObject.h" #include "vtkDataSet.h" #include "vtkPolyData.h" #include "vtkRenderer.h" #include "creaVtkStreamLine.h" namespace bbcreaVtk { class bbcreaVtk_EXPORT StreamLineVisu : public bbtk::AtomicBlackBox { BBTK_BLACK_BOX_INTERFACE(StreamLineVisu,bbtk::AtomicBlackBox); //===== // Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost) //===== BBTK_DECLARE_INPUT(In,vtkDataObject*); BBTK_DECLARE_INPUT(Source,vtkDataSet*); BBTK_DECLARE_INPUT(Active,bool); BBTK_DECLARE_INPUT(PolyData,vtkPolyData*); BBTK_DECLARE_INPUT(Renderer,vtkRenderer*); BBTK_DECLARE_INPUT(Opacity,double); BBTK_DECLARE_INPUT(ScaleFactor,double); BBTK_DECLARE_INPUT(TypeForm,int); BBTK_DECLARE_INPUT(ColorLaw,int); BBTK_DECLARE_INPUT(Color, std::vector ); BBTK_DECLARE_OUTPUT(Out,vtkProp3D*); BBTK_PROCESS(Process); void Process(); private: creaVtkStreamLine creavtkstreamline; //===== // Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost) //===== }; BBTK_BEGIN_DESCRIBE_BLACK_BOX(StreamLineVisu,bbtk::AtomicBlackBox); BBTK_NAME("StreamLineVisu"); BBTK_AUTHOR("ED at InfoDev Creatis"); BBTK_DESCRIPTION("vtk Stream Line"); BBTK_CATEGORY("empty"); BBTK_INPUT(StreamLineVisu,Active,"Active (false default)",bool,""); BBTK_INPUT(StreamLineVisu,PolyData,"(needed) vtkPolyData.",vtkPolyData*,""); BBTK_INPUT(StreamLineVisu,Opacity,"Opacity (1 default)",double,""); BBTK_INPUT(StreamLineVisu,Renderer,"vtkRenderer",vtkRenderer*,""); BBTK_INPUT(StreamLineVisu,ScaleFactor,"Scale factor",double,""); BBTK_INPUT(StreamLineVisu,TypeForm,"Type of form : 0(default) Tubes, 1 Ribbons,2 Lines",int,""); BBTK_INPUT(StreamLineVisu,ColorLaw,"(default 0) 0=Direction 1=MagnitudDirection 2=Solid",int,""); BBTK_INPUT(StreamLineVisu,Color,"In case of ColorLaw=Solid the color is [R,G,B] 0..1",std::vector,""); BBTK_OUTPUT(StreamLineVisu,Out,"vtkProp3D of an vtkActor",vtkProp3D*,""); BBTK_END_DESCRIBE_BLACK_BOX(StreamLineVisu); //===== // Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost) //===== } // EO namespace bbcreaVtk #endif // __bbcreaVtkStreamLineVisu_h_INCLUDED__