18#ifndef itkMeshToPolyDataFilter_h
19#define itkMeshToPolyDataFilter_h
29template <
typename TInputType,
typename =
void>
33template <
typename TInputType>
34struct HasCellTraits<TInputType,
std::void_t<typename TInputType::CellTraits>> : std::true_type
55template <
typename TInputMesh>
109 template <
typename TInputMeshDispatch,
110 typename std::enable_if<!HasCellTraits<TInputMeshDispatch>::value,
int>::type = 0>
114 template <
typename TInputMeshDispatch,
115 typename std::enable_if<HasCellTraits<TInputMeshDispatch>::value,
int>::type = 0>
125 class VisitCellsClass;
129#ifndef ITK_MANUAL_INSTANTIATION
130# include "itkMeshToPolyDataFilter.hxx"
Control indentation during Print() invocation.
PolyDataType * GetOutput()
const PolyDataType * GetOutput() const
SmartPointer< Self > Pointer
ProcessObject::DataObjectPointer MakeOutput(ProcessObject::DataObjectPointerArraySizeType idx) override
Make a DataObject of the correct type to used as the specified output.
PolyDataType * GetOutput(unsigned int idx)
PolyData< typename InputMeshType::PixelType > PolyDataType
void GenerateDataDispatch()
void SetInput(const InputMeshType *input)
~MeshToPolyDataFilter() override=default
const InputMeshType * GetInput() const
SmartPointer< const Self > ConstPointer
void PrintSelf(std::ostream &os, Indent indent) const override
void GenerateData() override
static constexpr unsigned int PointDimension
MeshToPolyDataFilter< InputMeshType > Self
ProcessObject::DataObjectPointer MakeOutput(const ProcessObject::DataObjectIdentifierType &) override
Make a DataObject of the correct type to used as the specified output.
const InputMeshType * GetInput(unsigned int idx) const
Geometry class compatible with vtk.js PolyData.
virtual void SetInput(const DataObjectIdentifierType &key, DataObject *input)
Protected method for setting indexed and named inputs.
DataObjectPointerArray::size_type DataObjectPointerArraySizeType
DataObject::Pointer DataObjectPointer
DataObject::DataObjectIdentifierType DataObjectIdentifierType
Implements transparent reference counting.
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....