X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=packages%2Fvtk%2Fsrc%2FbbvtkSphereList.h;h=070da9519e575347b8a23ae63fa3b85d157b2e02;hb=08ce916eba56a6111014712fc931a1cce7e8f877;hp=ac45d5ed087e0ff95a789996cebe5ab60bca89e1;hpb=c9eb653b2c0dc9384356c7de79ad9c2422be523c;p=bbtk.git diff --git a/packages/vtk/src/bbvtkSphereList.h b/packages/vtk/src/bbvtkSphereList.h index ac45d5e..070da95 100644 --- a/packages/vtk/src/bbvtkSphereList.h +++ b/packages/vtk/src/bbvtkSphereList.h @@ -62,7 +62,12 @@ class bbvtk_EXPORT SphereList void Process(); std::vector sphereActor; + std::vector 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); @@ -75,8 +80,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,""); BBTK_INPUT(SphereList,lstPointZ,"List of Z coordinates. Requirement: same size as vector X and vector Y.",std::vector,""); BBTK_INPUT(SphereList,lstRadio,"List of Radio values",std::vector,""); - 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,""); - 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,""); + 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,""); BBTK_INPUT(SphereList,Transform,"vtkTransform",vtkLinearTransform*,"");