#include "vtkDataObject.h"
#include "vtkDataSet.h"
+
+#include "vtkPolyData.h"
#include "vtkRenderer.h"
#include "creaVtkStreamLine.h"
-
-
namespace bbcreaVtk
{
//=====
// 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(Active,bool);
+
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<double> );
BBTK_DECLARE_OUTPUT(Out,vtkProp3D*);
BBTK_PROCESS(Process);
void Process();
BBTK_CATEGORY("empty");
BBTK_INPUT(StreamLineVisu,Active,"Active (false default)",bool,"");
- BBTK_INPUT(StreamLineVisu,In,"(needed) vtkDataObject. (Example vtkDataObject<-vtkDataSet<-vtkPointSet<-vtkPolyData (parrent class) )",vtkDataObject*,"");
- BBTK_INPUT(StreamLineVisu,Source,"(needed) vtkDataSet. (Example vtkPointSource->GetOutput() )",vtkDataSet*,"");
+ 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) Tube, 1 Ribbon",int,"");
+ 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<double>,"");
+
BBTK_OUTPUT(StreamLineVisu,Out,"vtkProp3D of an vtkActor",vtkProp3D*,"");
BBTK_END_DESCRIBE_BLACK_BOX(StreamLineVisu);