{
public:
-
- //--------------------------------------------------------------------
- BinarizeImageGenericFilter();
-
//--------------------------------------------------------------------
typedef BinarizeImageGenericFilter Self;
typedef itk::SmartPointer<Self> Pointer;
void UpdateWithInputImageType();
protected:
+ BinarizeImageGenericFilter();
template<unsigned int Dim> void InitializeImageType();
args_info_type mArgsInfo;
Program: vv
Module: $RCSfile: vvToolMIP.cxx,v $
Language: C++
- Date: $Date: 2011/03/22 15:50:39 $
- Version: $Revision: 1.2 $
+ Date: $Date: 2011/04/15 08:29:21 $
+ Version: $Revision: 1.3 $
Author : Bharath Navalpakkam (Bharath.Navalpakkam@creatis.insa-lyon.fr)
Copyright (C) 2010
//------------------------------------------------------------------------------
vvToolMIP::~vvToolMIP()
{
- delete mFilter;
}
//------------------------------------------------------------------------------
void vvToolMIP::Initialize()
cmdline_parser_clitkMIP_init(&args_info);
args_info.dimension_arg=this->dimensionSpinBox->value();
args_info.dimension_given=true;
- clitk::MIPGenericFilter* filter= dynamic_cast<clitk::MIPGenericFilter*>(mFilter);
+ clitk::MIPGenericFilter* filter= dynamic_cast<clitk::MIPGenericFilter*>(mFilter.GetPointer());
filter->SetArgsInfo(args_info);
filter->SetInputVVImage(mCurrentImage);
filter->Update();
virtual void Initialization();
void InitializeInputs();
Ui::vvToolWidgetBase ui;
- clitk::ImageToImageGenericFilterBase * mFilter;
+ clitk::ImageToImageGenericFilterBase::Pointer mFilter;
vvMainWindowBase * mMainWindow;
std::vector<vvSlicerManager*> mSlicerManagersCompatible;
vvSlicerManager * mCurrentSlicerManager;