ANIMA
4.0
|
#include <tclap/CmdLine.h>
#include <animaReadWriteFunctions.h>
#include <animaShapesWriter.h>
#include <animaShapesReader.h>
#include <vtkSmartPointer.h>
#include <vtkPoints.h>
#include <vtkPointData.h>
#include <vtkPolyData.h>
#include <vtkCleanPolyData.h>
#include <vtkGenericCell.h>
#include <itkNearestNeighborInterpolateImageFunction.h>
#include <itkPoolMultiThreader.h>
Go to the source code of this file.
Classes | |
struct | ThreaderArguments |
Functions | |
void | FilterTracks (vtkPolyData *tracks, unsigned int startIndex, unsigned int endIndex, itk::NearestNeighborInterpolateImageFunction< itk::Image< unsigned short, 3 > > *interpolator, const std::vector< unsigned int > &touchLabels, const std::vector< unsigned int > &endingsLabels, const std::vector< unsigned int > &forbiddenLabels) |
int | main (int argc, char **argv) |
ITK_THREAD_RETURN_FUNCTION_CALL_CONVENTION | ThreadFilterer (void *arg) |
void FilterTracks | ( | vtkPolyData * | tracks, |
unsigned int | startIndex, | ||
unsigned int | endIndex, | ||
itk::NearestNeighborInterpolateImageFunction< itk::Image< unsigned short, 3 > > * | interpolator, | ||
const std::vector< unsigned int > & | touchLabels, | ||
const std::vector< unsigned int > & | endingsLabels, | ||
const std::vector< unsigned int > & | forbiddenLabels | ||
) |
Definition at line 17 of file animaFibersFilterer.cxx.
Referenced by ThreadFilterer().
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 162 of file animaFibersFilterer.cxx.
References ThreaderArguments::endingsLabels, ThreaderArguments::forbiddenLabels, anima::ShapesReader::GetOutput(), ThreaderArguments::interpolator, anima::ShapesReader::SetFileName(), anima::ShapesWriter::SetFileName(), anima::ShapesWriter::SetInputData(), ThreadFilterer(), ThreaderArguments::touchLabels, ThreaderArguments::tracks, anima::ShapesReader::Update(), and anima::ShapesWriter::Update().
ITK_THREAD_RETURN_FUNCTION_CALL_CONVENTION ThreadFilterer | ( | void * | arg | ) |
Definition at line 141 of file animaFibersFilterer.cxx.
References ThreaderArguments::endingsLabels, FilterTracks(), ThreaderArguments::forbiddenLabels, ThreaderArguments::interpolator, ThreaderArguments::touchLabels, and ThreaderArguments::tracks.
Referenced by main().