Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
Home
Manual
API Reference
Download
Bugzilla
Groups
Namespace List
Class List
File List
Examples
File List
File Members
mitkFiberBuilder.h
Go to the documentation of this file.
1
/*===================================================================
2
3
The Medical Imaging Interaction Toolkit (MITK)
4
5
Copyright (c) German Cancer Research Center,
6
Division of Medical and Biological Informatics.
7
All rights reserved.
8
9
This software is distributed WITHOUT ANY WARRANTY; without
10
even the implied warranty of MERCHANTABILITY or FITNESS FOR
11
A PARTICULAR PURPOSE.
12
13
See LICENSE.txt or http://www.mitk.org for details.
14
15
===================================================================*/
16
#ifndef _BUILDFIBRES
17
#define _BUILDFIBRES
18
19
// MITK
20
#include <MitkFiberTrackingExports.h>
21
#include <
mitkParticleGrid.h
>
22
23
// VTK
24
#include <vtkSmartPointer.h>
25
#include <vtkPolyData.h>
26
#include <vtkCellArray.h>
27
#include <vtkPoints.h>
28
#include <vtkPolyLine.h>
29
#include <vtkCleanPolyData.h>
30
31
#include <itkImage.h>
32
33
using namespace
std
;
34
35
namespace
mitk
36
{
37
41
class
MITKFIBERTRACKING_EXPORT
FiberBuilder
42
{
43
public
:
44
45
typedef
itk::Image<float, 3>
ItkFloatImageType
;
46
47
FiberBuilder
(
ParticleGrid
* grid, ItkFloatImageType* image);
48
~
FiberBuilder
();
49
50
vtkSmartPointer<vtkPolyData> iterate(
int
minFiberLength);
51
52
protected
:
53
54
void
AddPoint(
Particle
*dp, vtkSmartPointer<vtkPolyLine> container);
55
56
void
LabelPredecessors(
Particle
* p,
int
ep, vtkPolyLine* container);
57
void
LabelSuccessors(
Particle
* p,
int
ep, vtkPolyLine* container);
58
59
itk::Point<float>
m_LastPoint
;
60
float
m_FiberLength
;
61
ItkFloatImageType::Pointer
m_Image
;
62
ParticleGrid
*
m_Grid
;
63
vtkSmartPointer<vtkCellArray>
m_VtkCellArray
;
64
vtkSmartPointer<vtkPoints>
m_VtkPoints
;
65
66
};
67
68
}
69
70
#endif
mitkParticleGrid.h
mitk::FiberBuilder::m_VtkCellArray
vtkSmartPointer< vtkCellArray > m_VtkCellArray
Definition:
mitkFiberBuilder.h:63
mitk::Particle
A particle is the basic element of the Gibbs fiber tractography method.
Definition:
mitkParticle.h:30
mitk::Pointer
itk::SmartPointer< Self > Pointer
Definition:
mitkRenderingManager.h:389
mitk::ParticleGrid
Contains and manages particles.
Definition:
mitkParticleGrid.h:33
mitk::FiberBuilder::m_Image
ItkFloatImageType::Pointer m_Image
Definition:
mitkFiberBuilder.h:61
mitk::FiberBuilder::m_VtkPoints
vtkSmartPointer< vtkPoints > m_VtkPoints
Definition:
mitkFiberBuilder.h:64
std
STL namespace.
mitk
DataCollection - Class to facilitate loading/accessing structured data.
Definition:
GeometryOverview.dox:1
mitk::FiberBuilder::m_LastPoint
itk::Point< float > m_LastPoint
Definition:
mitkFiberBuilder.h:59
mitk::FiberBuilder
Gnerates actual fiber structure (vtkPolyData) from the particle grid content.
Definition:
mitkFiberBuilder.h:41
mitk::FiberBuilder::m_FiberLength
float m_FiberLength
Definition:
mitkFiberBuilder.h:60
mitk::FiberBuilder::ItkFloatImageType
itk::Image< float, 3 > ItkFloatImageType
Definition:
mitkFiberBuilder.h:45
mitk::FiberBuilder::m_Grid
ParticleGrid * m_Grid
Definition:
mitkFiberBuilder.h:62
git
MITK
Modules
DiffusionImaging
FiberTracking
Algorithms
GibbsTracking
mitkFiberBuilder.h
Generated on Fri Feb 3 2017 20:51:58 for Medical Imaging Interaction Toolkit by
1.8.9.1