void Process();
std::vector<vtkActor *> sphereActor;
+ std::vector<vtkSphereSource *> vtkspheresourceLst;
+private:
+ double GetRadio(int);
+ void GetPoint(int i, double &px,double &py,double &pz);
+ void GetColor(int i, double &cr,double &cg,double &cb);
};
BBTK_BEGIN_DESCRIBE_BLACK_BOX(SphereList,bbtk::AtomicBlackBox);
BBTK_INPUT(SphereList,lstPointY,"List of Y coordinates. Requirement: same size as vector X and vector Z.",std::vector<double>,"");
BBTK_INPUT(SphereList,lstPointZ,"List of Z coordinates. Requirement: same size as vector X and vector Y.",std::vector<double>,"");
BBTK_INPUT(SphereList,lstRadio,"List of Radio values",std::vector<double>,"");
- BBTK_INPUT(SphereList,Colour,"Colour RGB values for the spheres (3 first values of the vector for the first sphere, following values for the second sphere, etc.)",std::vector<double>,"");
- BBTK_INPUT(SphereList,Opacity,"Opacity of the spheres",double,"");
+ BBTK_INPUT(SphereList,Colour,"Colour RGB values for the spheres (default [1 0 0]) (3 first values of the vector for the first sphere, following values for the second sphere, etc.)",std::vector<double>,"");
+ BBTK_INPUT(SphereList,Opacity,"Opacity of the spheres (default 1)",double,"");
BBTK_INPUT(SphereList,Spacing,"(default [1 1 1]) Spacing vector [sx sy sz]",std::vector<double>,"");
BBTK_INPUT(SphereList,Transform,"vtkTransform",vtkLinearTransform*,"");