]> Creatis software - FrontAlgorithms.git/blobdiff - lib/fpa/VTK/ImageMPR.h
...
[FrontAlgorithms.git] / lib / fpa / VTK / ImageMPR.h
index 21a1c5cd0238effb16b5b1656f0eeb60eb9c30ca..978738ae16415e25e4f0733c4bdb6e6bd458094c 100644 (file)
@@ -20,6 +20,7 @@
 #include <vtkSeedWidget.h>
 #include <vtkSmartPointer.h>
 #include <vtkSphereSource.h>
+#include <vtkLookupTable.h>
 
 namespace fpa
 {
@@ -36,15 +37,24 @@ namespace fpa
       void SetImage( vtkImageData* image );
       void SetBackground( double r, double g, double b );
       void SetSize( unsigned int w, unsigned int h );
+      void SetWindowLevel( double w, double l );
 
       void AddPolyData( vtkPolyData* pd, double opacity = double( 1 ) );
       void AddPolyData(
         vtkPolyData* pd,
         double r, double g, double b, double opacity = double( 1 )
         );
+      void AddPolyData(
+        vtkPolyData* pd,
+        vtkLookupTable* lut,
+        double opacity = double( 1 )
+        );
 
       unsigned int GetNumberOfSeeds( ) const;
       void GetSeed( int n, double* s ) const;
+      unsigned int AddSeed(
+        const double& x, const double& y, const double& z
+        ) const;
 
       vtkRenderWindow* GetWindow( ) const;
       vtkRenderer* GetRenderer( ) const;