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
mitkFiberBundleSource.cpp
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
17
18
#include "
mitkQBallImageSource.h
"
19
20
21
mitk::QBallImageSource::QBallImageSource
()
22
{
23
// Create the output. We use static_cast<> here because we know the default
24
// output must be of type TOutputImage
25
OutputImageType::Pointer
output
26
=
static_cast<
OutputImageType
*
>
(this->
MakeOutput
(0).GetPointer());
27
Superclass::SetNumberOfRequiredOutputs(1);
28
Superclass::SetNthOutput(0, output.GetPointer());
29
}
30
31
mitk::QBallImageSource::DataObjectPointer
mitk::QBallImageSource::MakeOutput
(
unsigned
int
/*idx*/
)
32
{
33
return
static_cast<
itk::DataObject*
>
(
OutputImageType::New
().GetPointer());
34
}
mitk::Image::Pointer
itk::SmartPointer< Self > Pointer
Definition:
mitkImage.h:88
mitk::QBallImageSource::OutputImageType
mitk::QBallImage OutputImageType
Definition:
mitkQBallImageSource.h:31
mitk::QBallImageSource::MakeOutput
virtual itk::DataObject::Pointer MakeOutput(DataObjectPointerArraySizeType idx) override
Definition:
mitkQBallImageSource.cpp:31
mitk::QBallImageSource::QBallImageSource
QBallImageSource()
Definition:
mitkQBallImageSource.cpp:21
mitkQBallImageSource.h
mitk::QBallImageSource::DataObjectPointer
itk::DataObject::Pointer DataObjectPointer
Definition:
mitkQBallImageSource.h:34
mitk::New
static itkEventMacro(BoundingShapeInteractionEvent, itk::AnyEvent) class MITKBOUNDINGSHAPE_EXPORT BoundingShapeInteractor Pointer New()
Basic interaction methods for mitk::GeometryData.
git
MITK
Modules
DiffusionImaging
FiberTracking
IODataStructures
FiberBundle
mitkFiberBundleSource.cpp
Generated on Fri Feb 3 2017 20:51:58 for Medical Imaging Interaction Toolkit by
1.8.9.1