X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=vv%2FvvImageContour.cxx;h=7318640f78d287209c4533c20605786ea33391f3;hb=996a050b898c093fa00462b1a4aa78b9a515cb2a;hp=88924c1895d5c27cd247a603419508e77f398d8f;hpb=c7c62b61f99ae5c36563613b9a7b4b3b2ec3648b;p=clitk.git diff --git a/vv/vvImageContour.cxx b/vv/vvImageContour.cxx index 88924c1..7318640 100644 --- a/vv/vvImageContour.cxx +++ b/vv/vvImageContour.cxx @@ -3,8 +3,8 @@ Program: vv Module: $RCSfile: vvImageContour.cxx,v $ Language: C++ - Date: $Date: 2010/03/01 07:37:25 $ - Version: $Revision: 1.4 $ + Date: $Date: 2010/03/05 10:32:33 $ + Version: $Revision: 1.5 $ Author : David Sarrut (david.sarrut@creatis.insa-lyon.fr) Copyright (C) 2010 @@ -83,6 +83,15 @@ void vvImageContour::setSlicer(vvSlicer * slicer) { //------------------------------------------------------------------------------ +//------------------------------------------------------------------------------ +void vvImageContour::setColor(double r, double g, double b) { + for(unsigned int i=0; iGetProperty()->SetColor(r,g,b); + } +} +//------------------------------------------------------------------------------ + + //------------------------------------------------------------------------------ void vvImageContour::hideActors() { if (!mSlicer) return; @@ -108,7 +117,7 @@ void vvImageContour::showActors() { //------------------------------------------------------------------------------ -void vvImageContour::update(int value) { +void vvImageContour::update(double value) { mValue= value; if (!mSlicer) return;