- // Creation
- static ImageSliceActors* New( );
-
- void AddSlicesCommand( TSlicesCommand command, void* data );
- void AddWindowLevelCommand( TWindowLevelCommand command, void* data );
- void AddRenderCommand( TVoidCommand command, void* data );
-
- void RemoveSlicesCommand( TSlicesCommand command );
- void RemoveWindowLevelCommand( TWindowLevelCommand command );
- void RemoveRenderCommand( TVoidCommand command );
-
- void AddInputConnection( vtkAlgorithmOutput* aout, int axis = 2 );
- void AddInputData( vtkImageData* data, int axis = 2 );
- void Clear( );
-
- void AssociateSlice( Self* slice );
-
- vtkImageData* GetInputImage( unsigned int id );
- const vtkImageData* GetInputImage( unsigned int id ) const;
-
- vtkInteractorStyle* GetStyle( );
- const vtkInteractorStyle* GetStyle( ) const;
-
- void PushActorsInto( vtkRenderWindow* window, bool force_style = true );
- void PopActorsFrom( vtkRenderWindow* window );
- unsigned int GetNumberOfImageActors( ) const;
- vtkImageActor* GetImageActor( unsigned int id );
- const vtkImageActor* GetImageActor( unsigned int id ) const;
- vtkTextActor* GetTextActor( );
- const vtkTextActor* GetTextActor( ) const;
- vtkActor* GetPlaneActor( );
- const vtkActor* GetPlaneActor( ) const;
- vtkPlane* GetPlaneFunction( );
- const vtkPlane* GetPlaneFunction( ) const;
-
- void SetInterpolate( bool v );
- void InterpolateOn( );
- void InterpolateOff( );
-
- double* GetDisplayBounds( ) const;
- void GetDisplayBounds( double bounds[ 6 ] ) const;
-
- void ResetCursor( );
- void SetCursor( double pos[ 3 ] );
-
- vtkImageMapToColors* GetImageMap( unsigned int id );
- const vtkImageMapToColors* GetImageMap( unsigned int id ) const;
-
- double GetMinWindow( ) const;
- double GetMaxWindow( ) const;
- double GetMinLevel( ) const;
- double GetMaxLevel( ) const;
- double GetWindow( ) const;
- double GetLevel( ) const;
- void SetWindow( double w );
- void SetLevel( double l );
- void SetWindowLevel( double w, double l );
- void ResetWindowLevel( );
-
- void SetLookupTable( unsigned int id, vtkLookupTable* lut );
- void SetLookupTableAsColor(
- unsigned int id, double r, double g, double b
- );
-
- int GetAxis( ) const;
- int GetSliceNumber( ) const;
- int GetSliceNumberMinValue( ) const;
- int GetSliceNumberMaxValue( ) const;
- void SetSliceNumber( const int& slice );
- void SetSlice( double* pos );
- void UpdateText( );
- void UpdateText( double pos[ 3 ] );
- void UpdateText( const double& w, const double& l );