Loading...
Searching...
No Matches
itkTransformixInputPointFileReader.h
Go to the documentation of this file.
/*=========================================================================
*
* Copyright UMC Utrecht and contributors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0.txt
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
*=========================================================================*/
#ifndef itkTransformixInputPointFileReader_h
#define itkTransformixInputPointFileReader_h
#include "itkMeshFileReaderBase.h"
#include <fstream>
namespace itk
{
template <class TOutputMesh>
class ITK_TEMPLATE_EXPORT TransformixInputPointFileReader : public MeshFileReaderBase<TOutputMesh>
{
public:
ITK_DISALLOW_COPY_AND_MOVE(TransformixInputPointFileReader);
using Self = TransformixInputPointFileReader;
using Superclass = MeshFileReaderBase<TOutputMesh>;
using Pointer = SmartPointer<Self>;
using ConstPointer = SmartPointer<const Self>;
itkNewMacro(Self);
itkTypeMacro(TransformixInputPointFileReader, MeshFileReaderBase);
using typename Superclass::DataObjectPointer;
using typename Superclass::OutputMeshType;
using typename Superclass::OutputMeshPointer;
itkGetConstMacro(PointsAreIndices, bool);
itkGetConstMacro(NumberOfPoints, unsigned long);
void
GenerateOutputInformation() override;
protected:
TransformixInputPointFileReader() = default;
~TransformixInputPointFileReader() override = default;
void
GenerateData() override;
private:
unsigned long m_NumberOfPoints{ 0 };
bool m_PointsAreIndices{ false };
std::ifstream m_Reader{};
};
} // end namespace itk
#ifndef ITK_MANUAL_INSTANTIATION
# include "itkTransformixInputPointFileReader.hxx"
#endif
#endif
itk::MeshFileReaderBase::MeshFileReaderBase
MeshFileReaderBase()=default
itk::TransformixInputPointFileReader::GenerateData
void GenerateData() override
itk::TransformixInputPointFileReader::GenerateOutputInformation
void GenerateOutputInformation() override
itk::TransformixInputPointFileReader::~TransformixInputPointFileReader
~TransformixInputPointFileReader() override=default
itk::TransformixInputPointFileReader::Superclass
MeshFileReaderBase< TOutputMesh > Superclass
Definition itkTransformixInputPointFileReader.h:53
itk::TransformixInputPointFileReader::m_NumberOfPoints
unsigned long m_NumberOfPoints
Definition itkTransformixInputPointFileReader.h:101
itk::TransformixInputPointFileReader::ITK_DISALLOW_COPY_AND_MOVE
ITK_DISALLOW_COPY_AND_MOVE(TransformixInputPointFileReader)
itk::TransformixInputPointFileReader::m_PointsAreIndices
bool m_PointsAreIndices
Definition itkTransformixInputPointFileReader.h:102
itk::TransformixInputPointFileReader::TransformixInputPointFileReader
TransformixInputPointFileReader()=default
itk::TransformixInputPointFileReader::ConstPointer
SmartPointer< const Self > ConstPointer
Definition itkTransformixInputPointFileReader.h:55
itk::TransformixInputPointFileReader::Self
TransformixInputPointFileReader Self
Definition itkTransformixInputPointFileReader.h:52
itk::TransformixInputPointFileReader::m_Reader
std::ifstream m_Reader
Definition itkTransformixInputPointFileReader.h:104
itk::TransformixInputPointFileReader::Pointer
SmartPointer< Self > Pointer
Definition itkTransformixInputPointFileReader.h:54
itkMeshFileReaderBase.h
itk
Definition itkAdvancedImageToImageMetric.h:43

Generated on 1768596610 for elastix by 1.15.0 |