DMRITool
v0.1.1-139-g860d86b4
Diffusion MRI Tool
|
#include <itkFiberTracts.h>
Definition at line 26 of file itkFiberTracts.h.
Public Types | |
typedef SmartPointer< const Self > | ConstPointer |
typedef FiberContainerType::Pointer | FiberContainerPointer |
typedef VectorContainer< unsigned int, FiberPointer > | FiberContainerType |
typedef FiberType::Pointer | FiberPointer |
typedef Fiber< ValueType > | FiberType |
typedef std::shared_ptr< HeaderType > | HeaderPointer |
typedef TrackVisHeaderType | HeaderType |
typedef SmartPointer< Self > | Pointer |
typedef FiberTracts | Self |
typedef DataObject | Superclass |
typedef FiberType::TractPointer | TractPointer |
typedef FiberType::TractType | TractType |
typedef TValue | ValueType |
typedef TractType::VertexType | VertexType |
Public Member Functions | |
void | AppendFiber (const FiberPointer fiber) |
void | AppendFibers (const Pointer fibers) |
virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
FiberTracts< TValue >::Pointer | DeepClone () const |
FiberPointer | GetFiber (const int index) const |
virtual const char * | GetNameOfClass () const |
int | GetNumberOfFibers () const |
int | GetNumberOfPoints () const |
void | GetPointStats (std::vector< double > &numPointsStats, std::vector< double > &pointDistStats) const |
bool | HasPropertyName (const std::string &name) const |
bool | HasScalarName (const std::string &name) const |
itkSetGetMacro (Header, HeaderPointer) | |
itkSetGetMacro (Fibers, FiberContainerPointer) | |
void | PrintFibersHeader (std::ostream &os=std::cout, Indent indent=0) const |
void | RemovePropertiesByName (const std::string &name) |
void | RemoveScalarsByName (const std::string &name) |
Pointer | SelectByBallROI (double x, double y, double z, double radius) |
Pointer | SelectByIndicesOfTracts (const std::vector< int > &indices) |
Static Public Member Functions | |
static Pointer | New () |
Protected Member Functions | |
FiberTracts () | |
LightObject::Pointer | InternalClone () const ITK_OVERRIDE |
virtual void | PrintSelf (std::ostream &os, Indent indent) const ITK_OVERRIDE |
~FiberTracts () | |
Protected Attributes | |
FiberContainerPointer | m_Fibers = FiberContainerType::New() |
HeaderPointer | m_Header |
Private Member Functions | |
FiberTracts (const Self &) ITK_DELETE_FUNCTION | |
void | operator= (const Self &) ITK_DELETE_FUNCTION |
typedef SmartPointer< const Self > itk::FiberTracts< TValue >::ConstPointer |
Definition at line 33 of file itkFiberTracts.h.
typedef FiberContainerType::Pointer itk::FiberTracts< TValue >::FiberContainerPointer |
Definition at line 51 of file itkFiberTracts.h.
typedef VectorContainer< unsigned int, FiberPointer > itk::FiberTracts< TValue >::FiberContainerType |
Definition at line 50 of file itkFiberTracts.h.
typedef FiberType::Pointer itk::FiberTracts< TValue >::FiberPointer |
Definition at line 45 of file itkFiberTracts.h.
typedef Fiber<ValueType> itk::FiberTracts< TValue >::FiberType |
Definition at line 44 of file itkFiberTracts.h.
typedef std::shared_ptr<HeaderType> itk::FiberTracts< TValue >::HeaderPointer |
Definition at line 42 of file itkFiberTracts.h.
typedef TrackVisHeaderType itk::FiberTracts< TValue >::HeaderType |
Definition at line 41 of file itkFiberTracts.h.
typedef SmartPointer< Self > itk::FiberTracts< TValue >::Pointer |
Definition at line 32 of file itkFiberTracts.h.
typedef FiberTracts itk::FiberTracts< TValue >::Self |
Standard class typedefs.
Definition at line 30 of file itkFiberTracts.h.
typedef DataObject itk::FiberTracts< TValue >::Superclass |
Definition at line 31 of file itkFiberTracts.h.
typedef FiberType::TractPointer itk::FiberTracts< TValue >::TractPointer |
Definition at line 47 of file itkFiberTracts.h.
typedef FiberType::TractType itk::FiberTracts< TValue >::TractType |
Definition at line 46 of file itkFiberTracts.h.
typedef TValue itk::FiberTracts< TValue >::ValueType |
Definition at line 37 of file itkFiberTracts.h.
typedef TractType::VertexType itk::FiberTracts< TValue >::VertexType |
Definition at line 48 of file itkFiberTracts.h.
|
inlineprotected |
Definition at line 106 of file itkFiberTracts.h.
|
inlineprotected |
Definition at line 109 of file itkFiberTracts.h.
References itk::FiberTracts< TValue >::InternalClone(), ITK_OVERRIDE, and itk::FiberTracts< TValue >::PrintSelf().
|
private |
void itk::FiberTracts< TValue >::AppendFiber | ( | const FiberPointer | fiber | ) |
Append a fiber. Should have the same number of scalars and the same number of properties.
Definition at line 151 of file itkFiberTracts.hxx.
References itk::FiberTracts< TValue >::AppendFibers().
Referenced by itk::FiberTracts< TValue >::HasScalarName(), and itk::FiberTracts< TValue >::SelectByBallROI().
void itk::FiberTracts< TValue >::AppendFibers | ( | const Pointer | fibers | ) |
Append fibers. Should have the same number of scalars and the same number of properties.
Definition at line 160 of file itkFiberTracts.hxx.
References itk::IsSameStructure(), itk::FiberTracts< TValue >::PrintSelf(), and utlGlobalException.
Referenced by itk::FiberTracts< TValue >::AppendFiber(), and itk::FiberTracts< TValue >::HasScalarName().
virtual::itk::LightObject::Pointer itk::FiberTracts< TValue >::CreateAnother | ( | void | ) | const |
FiberTracts< TValue >::Pointer itk::FiberTracts< TValue >::DeepClone | ( | ) | const |
Definition at line 41 of file itkFiberTracts.hxx.
References itk::CopyTrackvisHeader(), and itk::FiberTracts< TValue >::GetNumberOfPoints().
Referenced by itk::FiberTracts< TValue >::GetFiber(), and itk::FiberTracts< TValue >::InternalClone().
|
inline |
Definition at line 64 of file itkFiberTracts.h.
References itk::FiberTracts< TValue >::DeepClone(), and itk::FiberTracts< TValue >::m_Fibers.
|
virtual |
|
inline |
Definition at line 57 of file itkFiberTracts.h.
References itk::FiberTracts< TValue >::GetNumberOfPoints(), and itk::FiberTracts< TValue >::m_Fibers.
int itk::FiberTracts< TValue >::GetNumberOfPoints | ( | ) | const |
Definition at line 58 of file itkFiberTracts.hxx.
References itk::FiberTracts< TValue >::GetPointStats().
Referenced by itk::FiberTracts< TValue >::DeepClone(), and itk::FiberTracts< TValue >::GetNumberOfFibers().
void itk::FiberTracts< TValue >::GetPointStats | ( | std::vector< double > & | numPointsStats, |
std::vector< double > & | pointDistStats | ||
) | const |
Get the stats of the number of points in each tract, and the stats of distances between two points in each tract.
Definition at line 69 of file itkFiberTracts.hxx.
References utl::GetContainerStats(), and itk::FiberTracts< TValue >::RemoveScalarsByName().
Referenced by itk::FiberTracts< TValue >::GetNumberOfPoints(), and itk::FiberTracts< TValue >::HasScalarName().
|
inline |
Definition at line 76 of file itkFiberTracts.h.
References itk::HasPropertyName(), and itk::FiberTracts< TValue >::m_Header.
|
inline |
Definition at line 80 of file itkFiberTracts.h.
References itk::FiberTracts< TValue >::AppendFiber(), itk::FiberTracts< TValue >::AppendFibers(), itk::FiberTracts< TValue >::GetPointStats(), itk::HasScalarName(), itk::FiberTracts< TValue >::m_Header, itk::FiberTracts< TValue >::RemovePropertiesByName(), itk::FiberTracts< TValue >::RemoveScalarsByName(), itk::FiberTracts< TValue >::SelectByBallROI(), and itk::FiberTracts< TValue >::SelectByIndicesOfTracts().
|
protected |
Definition at line 23 of file itkFiberTracts.hxx.
References itk::FiberTracts< TValue >::DeepClone().
Referenced by itk::FiberTracts< TValue >::~FiberTracts().
itk::FiberTracts< TValue >::itkSetGetMacro | ( | Header | , |
HeaderPointer | |||
) |
itk::FiberTracts< TValue >::itkSetGetMacro | ( | Fibers | , |
FiberContainerPointer | |||
) |
|
static |
|
private |
|
inline |
Definition at line 71 of file itkFiberTracts.h.
References itk::FiberTracts< TValue >::m_Header, and itk::PrintTractVisHeader().
|
protectedvirtual |
Definition at line 170 of file itkFiberTracts.hxx.
References utl::PrintVector(), and utlSAGlobalException.
Referenced by itk::FiberTracts< TValue >::AppendFibers(), and itk::FiberTracts< TValue >::~FiberTracts().
void itk::FiberTracts< TValue >::RemovePropertiesByName | ( | const std::string & | name | ) |
remove properties by name
Definition at line 98 of file itkFiberTracts.hxx.
References utl::CovertChar2DArrayToStringArray(), itk::RemovePropertyName(), and itk::FiberTracts< TValue >::SelectByIndicesOfTracts().
Referenced by itk::FiberTracts< TValue >::HasScalarName(), and itk::FiberTracts< TValue >::RemoveScalarsByName().
void itk::FiberTracts< TValue >::RemoveScalarsByName | ( | const std::string & | name | ) |
remove scalars by name
Definition at line 86 of file itkFiberTracts.hxx.
References utl::CovertChar2DArrayToStringArray(), itk::FiberTracts< TValue >::RemovePropertiesByName(), and itk::RemoveScalarName().
Referenced by itk::FiberTracts< TValue >::GetPointStats(), and itk::FiberTracts< TValue >::HasScalarName().
FiberTracts< TValue >::Pointer itk::FiberTracts< TValue >::SelectByBallROI | ( | double | x, |
double | y, | ||
double | z, | ||
double | radius | ||
) |
Get fiber tracts across in a ball ROI (origin x,y,z and radius)
Definition at line 126 of file itkFiberTracts.hxx.
References itk::FiberTracts< TValue >::AppendFiber(), and itk::CopyTrackvisHeader().
Referenced by itk::FiberTracts< TValue >::HasScalarName(), and itk::FiberTracts< TValue >::SelectByIndicesOfTracts().
FiberTracts< TValue >::Pointer itk::FiberTracts< TValue >::SelectByIndicesOfTracts | ( | const std::vector< int > & | indices | ) |
Get fiber tracts based on indices
Definition at line 110 of file itkFiberTracts.hxx.
References itk::CopyTrackvisHeader(), and itk::FiberTracts< TValue >::SelectByBallROI().
Referenced by itk::FiberTracts< TValue >::HasScalarName(), and itk::FiberTracts< TValue >::RemovePropertiesByName().
|
protected |
Definition at line 117 of file itkFiberTracts.h.
Referenced by itk::FiberTracts< TValue >::GetFiber(), and itk::FiberTracts< TValue >::GetNumberOfFibers().
|
protected |
Definition at line 115 of file itkFiberTracts.h.
Referenced by itk::FiberTracts< TValue >::HasPropertyName(), itk::FiberTracts< TValue >::HasScalarName(), and itk::FiberTracts< TValue >::PrintFibersHeader().