12 #ifndef __itkFiberTractsWriter_h 13 #define __itkFiberTractsWriter_h 15 #include <itkLightProcessObject.h> 48 virtual void Update();
50 void WriteTractsTRK();
52 void WriteTractsTCK();
62 Superclass::PrintSelf(os, indent);
63 PrintVar(
true, os<< indent, m_FileName);
64 m_FiberTracts->Print(os, indent);
69 FiberTractsPointer m_FiberTracts = FiberTractsType::New();
74 void operator=(
const Self&);
82 writer->SetFileName(filename);
83 writer->SetFiberTracts(fibers);
87 std::cout << printInfo <<
" " << filename << std::endl;
90 catch (itk::ExceptionObject & err)
92 std::cout <<
"ExceptionObject caught !" << std::endl;
93 std::cout << err << std::endl;
101 #ifndef ITK_MANUAL_INSTANTIATION
FiberType::Pointer FiberPointer
TractType::VertexType VertexType
bool SaveFibers(const SmartPointer< FiberTracts< double > > &fibers, const std::string &filename, const std::string &printInfo="Writing fibers:")
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
#define itkSetGetMacro(name, type)
FiberTractsType::FiberType FiberType
FiberTractsType::Pointer FiberTractsPointer
FiberType::VertexType VertexType
SmartPointer< Self > Pointer
SmartPointer< Self > Pointer
LightProcessObject Superclass
FiberTracts< double > FiberTractsType
FiberTractsType::FiberPointer FiberPointer
FiberType::STDVectorType STDVectorType