X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2Ffpa%2FVTK%2FImageMPR.h;h=21a1c5cd0238effb16b5b1656f0eeb60eb9c30ca;hb=79df4abfecefc36c0dfca7d9f6f2978882de95dc;hp=0ada0bb91f6e4328ba076b203d8035b71f631f44;hpb=58beec8ea1d7265ffa6a8842f6a56fc3c0706524;p=FrontAlgorithms.git diff --git a/lib/fpa/VTK/ImageMPR.h b/lib/fpa/VTK/ImageMPR.h index 0ada0bb..21a1c5c 100644 --- a/lib/fpa/VTK/ImageMPR.h +++ b/lib/fpa/VTK/ImageMPR.h @@ -37,6 +37,7 @@ namespace fpa void SetBackground( double r, double g, double b ); void SetSize( unsigned int w, unsigned int h ); + void AddPolyData( vtkPolyData* pd, double opacity = double( 1 ) ); void AddPolyData( vtkPolyData* pd, double r, double g, double b, double opacity = double( 1 ) @@ -49,6 +50,7 @@ namespace fpa vtkRenderer* GetRenderer( ) const; void Start( ); + void Render( ); protected: vtkSmartPointer< vtkImageData > m_Image;