X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2Ffpa%2FVTK%2FImageMPR.h;h=0ada0bb91f6e4328ba076b203d8035b71f631f44;hb=818377732bc3fd1b02ca56bc78c225345a5fac27;hp=ba82b9571fa4008c899025a6bc99467552087523;hpb=972dd44060dfff40ba3daab899c6365445f6de7e;p=FrontAlgorithms.git diff --git a/lib/fpa/VTK/ImageMPR.h b/lib/fpa/VTK/ImageMPR.h index ba82b95..0ada0bb 100644 --- a/lib/fpa/VTK/ImageMPR.h +++ b/lib/fpa/VTK/ImageMPR.h @@ -37,7 +37,10 @@ namespace fpa void SetBackground( double r, double g, double b ); void SetSize( unsigned int w, unsigned int h ); - void AddPolyData( vtkPolyData* pd, double r, double g, double b ); + void AddPolyData( + vtkPolyData* pd, + double r, double g, double b, double opacity = double( 1 ) + ); unsigned int GetNumberOfSeeds( ) const; void GetSeed( int n, double* s ) const;