public:
typedef ImageSliceActors Self;
+ typedef void ( *TCursorCommand )( double*, int, void* );
+
public:
vtkTypeMacro( ImageSliceActors, vtkPropCollection );
LUTType lut = Self::LUTType_None );
void Clear( );
+ void AssociateSlice( Self* other );
+ void SetSlicesCommand( TCursorCommand cmd, void* data );
+
vtkInteractorStyle* GetStyle( );
const vtkInteractorStyle* GetStyle( ) 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 );
std::vector< vtkSmartPointer< vtkImageActor > > ImageActors;
bool Interpolate;
+ // Other associated slices
+ std::vector< vtkSmartPointer< Self > > AssociatedSlices;
+ TCursorCommand SlicesCommand;
+ void* SlicesData;
+
// Other associated actors
typedef std::pair< vtkAlgorithm*, vtkActor* > TAssociatedActor;
typedef std::vector< TAssociatedActor > TAssociatedActors;