#include "BaseImageFilter.h" #include // ------------------------------------------------------------------------- bool fpaPlugins::BaseImageFilter:: IsInteractive( ) { return( true ); } // ------------------------------------------------------------------------- void fpaPlugins::BaseImageFilter:: SetInteractionObjects( const std::vector< void* >& objs ) { if( objs.size( ) > 0 ) this->m_SingleInteractor = reinterpret_cast< vtkRenderWindowInteractor* >( objs[ 0 ] ); if( objs.size( ) > 1 ) this->m_MPRViewer = reinterpret_cast< TMPRWidget* >( objs[ 1 ] ); } // ------------------------------------------------------------------------- fpaPlugins::BaseImageFilter:: BaseImageFilter( ) : Superclass( ) { this->_AddInput( "Input" ); this->_AddInput( "Seeds" ); this->_AddOutput< cpPlugins::Image >( "Output" ); this->m_Parameters.ConfigureAsBool( "VisualDebug" ); this->m_Parameters.ConfigureAsBool( "StopAtOneFront" ); this->m_Parameters.SetBool( "VisualDebug", false ); this->m_Parameters.SetBool( "StopAtOneFront", false ); std::vector< std::string > orders; orders.push_back( "1" ); orders.push_back( "2" ); this->m_Parameters.ConfigureAsChoices( "NeighborhoodOrder", orders ); this->m_Parameters.SetSelectedChoice( "NeighborhoodOrder", "1" ); } // ------------------------------------------------------------------------- fpaPlugins::BaseImageFilter:: ~BaseImageFilter( ) { } // eof - $RCSfile$