11 #ifndef __itkFiberTractsReader_h 12 #define __itkFiberTractsReader_h 14 #include <itkLightProcessObject.h> 47 virtual void Update();
66 Superclass::PrintSelf(os, indent);
67 PrintVar(
true, os<< indent, m_FileName);
68 m_FiberTracts->Print(os, indent);
73 FiberTractsPointer m_FiberTracts = FiberTractsType::New();
78 void operator=(
const Self&);
86 reader->SetFileName(filename);
90 std::cout << printInfo <<
" " << filename << std::endl;
93 catch (itk::ExceptionObject & err)
95 std::cout <<
"ExceptionObject caught !" << std::endl;
96 std::cout << err << std::endl;
99 fibers = reader->GetOutput();
105 #ifndef ITK_MANUAL_INSTANTIATION
FiberType::Pointer FiberPointer
SmartPointer< Self > Pointer
TractType::VertexType VertexType
FiberTracts< double > FiberTractsType
FiberTractsType::FiberPointer FiberPointer
FiberTractsType::FiberType FiberType
LightProcessObject Superclass
FiberTractsPointer GetOutput() const
FiberTractsType::Pointer FiberTractsPointer
void PrintSelf(std::ostream &os, Indent indent) const ITK_OVERRIDE
bool IsLogNormal(const int level=utl::LogLevel)
#define PrintVar(cond, os,...)
std::vector< ValueType > STDVectorType
bool ReadFibers(const std::string &filename, SmartPointer< FiberTracts< double > > &fibers, const std::string &printInfo="Reading fibers:")
FiberType::VertexType VertexType
#define itkSetGetMacro(name, type)
FiberType::STDVectorType STDVectorType
SmartPointer< Self > Pointer