ITK 6.0.0
Insight Toolkit
 
Loading...
Searching...
No Matches
itkTrxFileReader.h
Go to the documentation of this file.
1/*=========================================================================
2 *
3 * Copyright NumFOCUS
4 *
5 * Licensed under the Apache License, Version 2.0 (the "License");
6 * you may not use this file except in compliance with the License.
7 * You may obtain a copy of the License at
8 *
9 * https://www.apache.org/licenses/LICENSE-2.0.txt
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
16 *
17 *=========================================================================*/
18#ifndef itkTrxFileReader_h
19#define itkTrxFileReader_h
20
21#include "TractographyTRXExport.h"
22
23#include "itkProcessObject.h"
25
26namespace itk
27{
34class TractographyTRX_EXPORT TrxFileReader : public ProcessObject
35{
36public:
37 ITK_DISALLOW_COPY_AND_MOVE(TrxFileReader);
38
43
44 itkNewMacro(Self);
45 itkOverrideGetNameOfClassMacro(TrxFileReader);
46
49
50 void
51 SetFileName(const std::string & filename);
52
53 const std::string &
54 GetFileName() const;
55
58
59 const OutputType *
60 GetOutput() const;
61
62protected:
64 ~TrxFileReader() override = default;
65
68
69 void
70 GenerateData() override;
71
72private:
73 std::string m_FileName{};
74};
75} // end namespace itk
76
77#endif
DataObjectPointerArray::size_type DataObjectPointerArraySizeType
DataObject::Pointer DataObjectPointer
Implements transparent reference counting.
OutputType * GetOutput()
OutputType::Pointer OutputPointer
void GenerateData() override
SmartPointer< Self > Pointer
const std::string & GetFileName() const
ProcessObject Superclass
DataObjectPointer MakeOutput(DataObjectPointerArraySizeType idx) override
Make a DataObject of the correct type to used as the specified output.
const OutputType * GetOutput() const
TrxStreamlineData OutputType
~TrxFileReader() override=default
SmartPointer< const Self > ConstPointer
void SetFileName(const std::string &filename)
Central data container for TRX tractography files.
SmartPointer< Self > Pointer
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....