/*========================================================================= Program: vv http://www.creatis.insa-lyon.fr/rio/vv Authors belong to: - University of LYON http://www.universite-lyon.fr/ - Léon Bérard cancer center http://www.centreleonberard.fr - CREATIS CNRS laboratory http://www.creatis.insa-lyon.fr This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the copyright notices for more information. It is distributed under dual licence - BSD See included LICENSE.txt file - CeCILL-B http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html ===========================================================================**/ #ifndef clitkSelectPointsGenericFilter_cxx #define clitkSelectPointsGenericFilter_cxx /* ================================================= * @file clitkSelectPointsGenericFilter.cxx * @author * @date * * @brief * ===================================================*/ #include "clitkSelectPointsGenericFilter.h" namespace clitk { //----------------------------------------------------------- // Constructor //----------------------------------------------------------- SelectPointsGenericFilter::SelectPointsGenericFilter() { m_Verbose=false; } //----------------------------------------------------------- // Update //----------------------------------------------------------- void SelectPointsGenericFilter::Update() { //----------------------------- // Typedefs //----------------------------- typedef double ValueType; typedef std::vector MeasureListType; typedef itk::Point PointType; typedef clitk::List PointListType; typedef clitk::Lists PointListsType; //----------------------------- // Input point lists //----------------------------- PointListsType pointLists; unsigned int numberOfPoints=0; unsigned int numberOfLists=m_ArgsInfo.input_given; for (unsigned int i=0; i= m_ArgsInfo.lower_arg[component]) && (referencePointList[number][m_ArgsInfo.component_arg[component]] <= m_ArgsInfo.upper_arg[component]) ) { if(m_Verbose) std::cout<<"Selecting point "< filenames; for (unsigned int i=0;i