Loading...
Searching...
No Matches
itkMeshFileReaderBase.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 itkMeshFileReaderBase_h
#define itkMeshFileReaderBase_h
#include "itkMeshSource.h"
#include "itkMacro.h"
#include "itkMeshFileReader.h" // for MeshFileReaderException
namespace itk
{
template <class TOutputMesh>
class ITK_TEMPLATE_EXPORT MeshFileReaderBase : public MeshSource<TOutputMesh>
{
public:
ITK_DISALLOW_COPY_AND_MOVE(MeshFileReaderBase);
using Self = MeshFileReaderBase;
using Superclass = MeshSource<TOutputMesh>;
using Pointer = SmartPointer<Self>;
using ConstPointer = SmartPointer<const Self>;
itkNewMacro(Self);
itkTypeMacro(MeshFileReaderBase, MeshSource);
using typename Superclass::DataObjectPointer;
using typename Superclass::OutputMeshType;
using typename Superclass::OutputMeshPointer;
itkGetStringMacro(FileName);
itkSetStringMacro(FileName);
void
GenerateOutputInformation() override;
void
EnlargeOutputRequestedRegion(DataObject * output) override;
protected:
MeshFileReaderBase() = default;
~MeshFileReaderBase() override = default;
virtual void
TestFileExistanceAndReadability();
std::string m_FileName{};
};
} // end namespace itk
#ifndef ITK_MANUAL_INSTANTIATION
# include "itkMeshFileReaderBase.hxx"
#endif
#endif
itk::MeshFileReaderBase::ITK_DISALLOW_COPY_AND_MOVE
ITK_DISALLOW_COPY_AND_MOVE(MeshFileReaderBase)
itk::MeshFileReaderBase::GenerateOutputInformation
void GenerateOutputInformation() override
itk::MeshFileReaderBase::TestFileExistanceAndReadability
virtual void TestFileExistanceAndReadability()
itk::MeshFileReaderBase::MeshFileReaderBase
MeshFileReaderBase()=default
itk::MeshFileReaderBase::Superclass
MeshSource< TOutputMesh > Superclass
Definition itkMeshFileReaderBase.h:44
itk::MeshFileReaderBase::~MeshFileReaderBase
~MeshFileReaderBase() override=default
itk::MeshFileReaderBase::Pointer
SmartPointer< Self > Pointer
Definition itkMeshFileReaderBase.h:45
itk::MeshFileReaderBase::m_FileName
std::string m_FileName
Definition itkMeshFileReaderBase.h:90
itk::MeshFileReaderBase::Self
MeshFileReaderBase Self
Definition itkMeshFileReaderBase.h:43
itk::MeshFileReaderBase::EnlargeOutputRequestedRegion
void EnlargeOutputRequestedRegion(DataObject *output) override
itk::MeshFileReaderBase::ConstPointer
SmartPointer< const Self > ConstPointer
Definition itkMeshFileReaderBase.h:46
itk
Definition itkAdvancedImageToImageMetric.h:43

Generated on 1768596610 for elastix by 1.15.0 |