ITK 6.0.0
Insight Toolkit
 
Loading...
Searching...
No Matches
itkWasmPointSetToPointSetFilter.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 itkWasmPointSetToPointSetFilter_h
19#define itkWasmPointSetToPointSetFilter_h
20
21#include "itkProcessObject.h"
22#include "itkWasmPointSet.h"
23
24namespace itk
25{
34template <typename TPointSet>
35class ITK_TEMPLATE_EXPORT WasmPointSetToPointSetFilter : public ProcessObject
36{
37public:
38 ITK_DISALLOW_COPY_AND_MOVE(WasmPointSetToPointSetFilter);
39
45
47 itkNewMacro(Self);
48
50 itkOverrideGetNameOfClassMacro(WasmPointSetToPointSetFilter);
51
54
55 using PointSetType = TPointSet;
57
60 virtual void
62
63 virtual void
64 SetInput(unsigned int, const WasmPointSetType * mesh);
65
66 const WasmPointSetType *
68
69 const WasmPointSetType *
70 GetInput(unsigned int idx);
71
74 const PointSetType *
75 GetOutput() const;
76
78 GetOutput(unsigned int idx);
79
80protected:
82 ~WasmPointSetToPointSetFilter() override = default;
83
88
89 void
91 {} // do nothing
92 void
93 GenerateData() override;
94
95 void
96 PrintSelf(std::ostream & os, Indent indent) const override;
97};
98} // end namespace itk
99
100#ifndef ITK_MANUAL_INSTANTIATION
101# include "itkWasmPointSetToPointSetFilter.hxx"
102#endif
103
104#endif
Control indentation during Print() invocation.
Definition itkIndent.h:53
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.
void PrintSelf(std::ostream &os, Indent indent) const override
Superclass::DataObjectIdentifierType DataObjectIdentifierType
~WasmPointSetToPointSetFilter() override=default
virtual void SetInput(unsigned int, const WasmPointSetType *mesh)
ProcessObject::DataObjectPointer MakeOutput(ProcessObject::DataObjectPointerArraySizeType idx) override
Make a DataObject of the correct type to used as the specified output.
PointSetType * GetOutput(unsigned int idx)
virtual void SetInput(const WasmPointSetType *mesh)
const PointSetType * GetOutput() const
Superclass::DataObjectPointerArraySizeType DataObjectPointerArraySizeType
const WasmPointSetType * GetInput(unsigned int idx)
ProcessObject::DataObjectPointer MakeOutput(const ProcessObject::DataObjectIdentifierType &) override
Make a DataObject of the correct type to used as the specified output.
const WasmPointSetType * GetInput()
JSON representation for an itk::PointSet.
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....