Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
|
Gnerates actual fiber structure (vtkPolyData) from the particle grid content. More...
#include <mitkFiberBuilder.h>
Public Types | |
typedef itk::Image< float, 3 > | ItkFloatImageType |
Public Member Functions | |
FiberBuilder (ParticleGrid *grid, ItkFloatImageType *image) | |
~FiberBuilder () | |
vtkSmartPointer< vtkPolyData > | iterate (int minFiberLength) |
Protected Member Functions | |
void | AddPoint (Particle *dp, vtkSmartPointer< vtkPolyLine > container) |
void | LabelPredecessors (Particle *p, int ep, vtkPolyLine *container) |
void | LabelSuccessors (Particle *p, int ep, vtkPolyLine *container) |
Protected Attributes | |
itk::Point< float > | m_LastPoint |
float | m_FiberLength |
ItkFloatImageType::Pointer | m_Image |
ParticleGrid * | m_Grid |
vtkSmartPointer< vtkCellArray > | m_VtkCellArray |
vtkSmartPointer< vtkPoints > | m_VtkPoints |
Gnerates actual fiber structure (vtkPolyData) from the particle grid content.
Definition at line 41 of file mitkFiberBuilder.h.
typedef itk::Image<float, 3> mitk::FiberBuilder::ItkFloatImageType |
Definition at line 45 of file mitkFiberBuilder.h.
FiberBuilder::FiberBuilder | ( | ParticleGrid * | grid, |
ItkFloatImageType * | image | ||
) |
Definition at line 21 of file mitkFiberBuilder.cpp.
References m_FiberLength, m_Grid, and m_Image.
FiberBuilder::~FiberBuilder | ( | ) |
Definition at line 28 of file mitkFiberBuilder.cpp.
|
protected |
Definition at line 118 of file mitkFiberBuilder.cpp.
References mitk::Particle::GetPos(), mitk::Particle::label, m_FiberLength, m_Image, m_LastPoint, and m_VtkPoints.
Referenced by LabelPredecessors(), and LabelSuccessors().
vtkSmartPointer< vtkPolyData > FiberBuilder::iterate | ( | int | minFiberLength | ) |
Definition at line 33 of file mitkFiberBuilder.cpp.
References mitk::ParticleGrid::GetParticle(), mitk::Particle::label, LabelPredecessors(), LabelSuccessors(), m_FiberLength, m_Grid, mitk::ParticleGrid::m_NumParticles, m_VtkCellArray, m_VtkPoints, and mitk::New().
Referenced by itk::GibbsTrackingFilter< ItkQBallImageType >::GenerateData().
|
protected |
Definition at line 71 of file mitkFiberBuilder.cpp.
References AddPoint(), mitk::ParticleGrid::GetParticle(), mitk::Particle::ID, mitk::Particle::label, m_Grid, mitk::Particle::mID, and mitk::Particle::pID.
Referenced by iterate().
|
protected |
Definition at line 95 of file mitkFiberBuilder.cpp.
References AddPoint(), mitk::ParticleGrid::GetParticle(), mitk::Particle::ID, mitk::Particle::label, m_Grid, mitk::Particle::mID, and mitk::Particle::pID.
Referenced by iterate().
|
protected |
Definition at line 60 of file mitkFiberBuilder.h.
Referenced by AddPoint(), FiberBuilder(), and iterate().
|
protected |
Definition at line 62 of file mitkFiberBuilder.h.
Referenced by FiberBuilder(), iterate(), LabelPredecessors(), and LabelSuccessors().
|
protected |
Definition at line 61 of file mitkFiberBuilder.h.
Referenced by AddPoint(), and FiberBuilder().
|
protected |
Definition at line 59 of file mitkFiberBuilder.h.
Referenced by AddPoint().
|
protected |
Definition at line 63 of file mitkFiberBuilder.h.
Referenced by iterate().
|
protected |
Definition at line 64 of file mitkFiberBuilder.h.
Referenced by AddPoint(), and iterate().