]> Creatis software - bbtk.git/blobdiff - packages/vtk/src/bbvtkSphereList.h
#3490 Init param PolyDataToActor
[bbtk.git] / packages / vtk / src / bbvtkSphereList.h
index fdc775afc1868d6dff5a855c158d9ef56e858db8..89b471f692088c1a550c0c1db4a77c7c73e25797 100644 (file)
@@ -62,6 +62,7 @@ class bbvtk_EXPORT SphereList
   void Process();
 
   std::vector<vtkActor *> sphereActor;
+  std::vector<vtkPolyDataMapper *>vtkpolydatamaperLst;
   std::vector<vtkSphereSource *> vtkspheresourceLst;
 
 private:
@@ -80,8 +81,8 @@ 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*,"");