- // Creation
- static ImageSliceActors* New( );
-
- void SetAxis( int axis );
- void SetInputConnection( vtkAlgorithmOutput* aout );
- void SetInputImage( vtkImageData* data );
- int AddBinaryConnection(
- vtkAlgorithmOutput* aout,
- const double& r, const double& g, const double& b
- );
- int AddBinaryImage(
- vtkImageData* data,
- const double& r, const double& g, const double& b
- );
- void Clear( );
-
- void AssociateSlice( Self* slice );
-
- vtkImageData* GetInputImage( );
- const vtkImageData* GetInputImage( ) const;
-
- vtkInteractorStyle* GetStyle( );
- const vtkInteractorStyle* GetStyle( ) const;
-
- void PushActorsInto( vtkRenderWindow* window, bool force_style = true );
- void PopActorsFrom( vtkRenderWindow* window );
- unsigned int GetNumberOfImages( ) const;
-
- vtkImageActor* GetImageActor( );
- const vtkImageActor* GetImageActor( ) const;
- vtkImageActor* GetBinaryActor( );
- const vtkImageActor* GetBinaryActor( ) 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 ] );
-
- void ResetAxesCursor( );
- void SetAxesCursor( double pos[ 3 ] );
-
- 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( );
-
- 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 );