]> Creatis software - cpPlugins.git/blobdiff - lib/cpExtensions/Visualization/MPRObjects.h
sphere widget done, finally
[cpPlugins.git] / lib / cpExtensions / Visualization / MPRObjects.h
index 71741ef17a9b3f7f38dfa7fee3fe4a509212cbd9..c21fca66f55e2fc36614e1442e502ad0c6af86a7 100644 (file)
@@ -20,14 +20,18 @@ namespace cpExtensions
     public:
       typedef MPRObjects Self;
 
-      typedef MPRActors::TBaseStyle          TBaseStyle;
-      typedef MPRActors::TStyle              TStyle;
-      typedef MPRActors::TSlicesCommand      TSlicesCommand;
-      typedef MPRActors::TWindowLevelCommand TWindowLevelCommand;
-      typedef MPRActors::TMouseCommand       TMouseCommand;
-      typedef MPRActors::TMouseWheelCommand  TMouseWheelCommand;
-      typedef MPRActors::TKeyCommand         TKeyCommand;
-      typedef MPRActors::TVoidCommand        TVoidCommand;
+      typedef MPRActors::TStyle                   TStyle;
+      typedef MPRActors::TMouseCommand            TMouseCommand;
+      typedef MPRActors::TMouseWheelCommand       TMouseWheelCommand;
+      typedef MPRActors::TKeyCommand              TKeyCommand;
+      typedef MPRActors::TVoidCommand             TVoidCommand;
+      typedef MPRActors::TMouseMoveCommand        TMouseMoveCommand;
+      typedef MPRActors::TMouseClickCommand       TMouseClickCommand;
+      typedef MPRActors::TMouseDoubleClickCommand TMouseDoubleClickCommand;
+      typedef MPRActors::TExposeCommand           TExposeCommand;
+      typedef MPRActors::TConfigureCommand        TConfigureCommand;
+      typedef MPRActors::TEnterCommand            TEnterCommand;
+      typedef MPRActors::TLeaveCommand            TLeaveCommand;
 
     public:
       vtkTypeMacro( MPRObjects, vtkObject );
@@ -41,12 +45,13 @@ namespace cpExtensions
         vtkRenderWindow* wz, vtkRenderWindow* w3D
         );
       void AddImage( vtkImageData* image );
+      unsigned int GetNumberOfImages( ) const;
       void ClearAll( );
 
       void ResetCamera( const int& id );
       void ResetCameras( );
-      void Render( const int& id );
-      void RenderAll( );
+      void Render( const int& id, const double& t );
+      void RenderAll( const double& t );
       vtkRenderer* GetXRenderer( );
       vtkRenderer* GetYRenderer( );
       vtkRenderer* GetZRenderer( );