Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
mitk::FiberBuilder Class Reference

Gnerates actual fiber structure (vtkPolyData) from the particle grid content. More...

#include <mitkFiberBuilder.h>

Collaboration diagram for mitk::FiberBuilder:

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
 
ParticleGridm_Grid
 
vtkSmartPointer< vtkCellArray > m_VtkCellArray
 
vtkSmartPointer< vtkPoints > m_VtkPoints
 

Detailed Description

Gnerates actual fiber structure (vtkPolyData) from the particle grid content.

Definition at line 41 of file mitkFiberBuilder.h.

Member Typedef Documentation

Definition at line 45 of file mitkFiberBuilder.h.

Constructor & Destructor Documentation

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.

Member Function Documentation

void FiberBuilder::AddPoint ( Particle dp,
vtkSmartPointer< vtkPolyLine >  container 
)
protected
void FiberBuilder::LabelPredecessors ( Particle p,
int  ep,
vtkPolyLine *  container 
)
protected
void FiberBuilder::LabelSuccessors ( Particle p,
int  ep,
vtkPolyLine *  container 
)
protected

Member Data Documentation

float mitk::FiberBuilder::m_FiberLength
protected

Definition at line 60 of file mitkFiberBuilder.h.

Referenced by AddPoint(), FiberBuilder(), and iterate().

ParticleGrid* mitk::FiberBuilder::m_Grid
protected

Definition at line 62 of file mitkFiberBuilder.h.

Referenced by FiberBuilder(), iterate(), LabelPredecessors(), and LabelSuccessors().

ItkFloatImageType::Pointer mitk::FiberBuilder::m_Image
protected

Definition at line 61 of file mitkFiberBuilder.h.

Referenced by AddPoint(), and FiberBuilder().

itk::Point<float> mitk::FiberBuilder::m_LastPoint
protected

Definition at line 59 of file mitkFiberBuilder.h.

Referenced by AddPoint().

vtkSmartPointer<vtkCellArray> mitk::FiberBuilder::m_VtkCellArray
protected

Definition at line 63 of file mitkFiberBuilder.h.

Referenced by iterate().

vtkSmartPointer<vtkPoints> mitk::FiberBuilder::m_VtkPoints
protected

Definition at line 64 of file mitkFiberBuilder.h.

Referenced by AddPoint(), and iterate().


The documentation for this class was generated from the following files: