X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=packages%2Fvtk%2Fsrc%2FbbvtkSphereList.h;h=070da9519e575347b8a23ae63fa3b85d157b2e02;hb=08ce916eba56a6111014712fc931a1cce7e8f877;hp=ddbc10d4bcf33ec345efc1ef40f087c20c3da16a;hpb=3b9ae551acae07891da406ab6fd0f0ce392dc923;p=bbtk.git diff --git a/packages/vtk/src/bbvtkSphereList.h b/packages/vtk/src/bbvtkSphereList.h index ddbc10d..070da95 100644 --- a/packages/vtk/src/bbvtkSphereList.h +++ b/packages/vtk/src/bbvtkSphereList.h @@ -67,6 +67,7 @@ class bbvtk_EXPORT SphereList 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); @@ -79,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*,"");