public:
vtkTypeMacro( ImageSliceActors, vtkPropCollection );
- vtkGetMacro( MinWindow, double );
- vtkGetMacro( MaxWindow, double );
- vtkGetMacro( MinLevel, double );
- vtkGetMacro( MaxLevel, double );
-
public:
// Creation
static ImageSliceActors* New( );
- void AddCursorCommand( TCursorCommand command, void* data );
+ void AddSlicesCommand( TCursorCommand command, void* data );
+ void AddSeedCommand( TCursorCommand command, void* data );
void AddInputConnection( vtkAlgorithmOutput* aout, int axis = 2 );
void AddInputData( vtkImageData* data, int axis = 2 );
void Clear( );
void AssociateSlice( Self* other );
- void SetSlicesCommand( TCursorCommand cmd, void* data );
vtkInteractorStyle* GetStyle( );
const vtkInteractorStyle* GetStyle( ) const;
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 );
std::vector< vtkSmartPointer< Self > > m_AssociatedSlices;
// Associated commands
- std::vector< std::pair< TCursorCommand, void* > > m_CursorCommands;
+ std::vector< std::pair< TCursorCommand, void* > > m_SlicesCommands;
+ std::vector< std::pair< TCursorCommand, void* > > m_SeedCommands;
// Other associated actors
typedef std::pair< vtkAlgorithm*, vtkActor* > TAssociatedActor;