ITK  4.9.0
Insight Segmentation and Registration Toolkit
itkSmoothingQuadEdgeMeshFilter.h
Go to the documentation of this file.
1 /*=========================================================================
2  *
3  * Copyright Insight Software Consortium
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  * http://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 itkSmoothingQuadEdgeMeshFilter_h
19 #define itkSmoothingQuadEdgeMeshFilter_h
20 
23 
24 namespace itk
25 {
57 template< typename TInputMesh, typename TOutputMesh=TInputMesh >
59  public QuadEdgeMeshToQuadEdgeMeshFilter< TInputMesh, TOutputMesh >
60 {
61 public:
66 
69 
71  itkNewMacro(Self);
72 
73  typedef TInputMesh InputMeshType;
74  typedef typename InputMeshType::Pointer InputMeshPointer;
75 
76  typedef TOutputMesh OutputMeshType;
77  typedef typename OutputMeshType::Pointer OutputMeshPointer;
78  typedef typename OutputMeshType::EdgeCellType OutputEdgeCellType;
79  typedef typename OutputMeshType::PolygonCellType OutputPolygonCellType;
80  typedef typename OutputMeshType::QEType OutputQEType;
81  typedef typename OutputMeshType::PointIdentifier OutputPointIdentifier;
82  typedef typename OutputMeshType::PointType OutputPointType;
83  typedef typename OutputPointType::VectorType OutputVectorType;
84  typedef typename OutputPointType::CoordRepType OutputCoordType;
85  typedef typename OutputMeshType::PointsContainer OutputPointsContainer;
86  typedef typename OutputMeshType::PointsContainerPointer OutputPointsContainerPointer;
87  typedef typename OutputMeshType::PointsContainerIterator OutputPointsContainerIterator;
88  typedef typename OutputMeshType::CellsContainerPointer OutputCellsContainerPointer;
89  typedef typename OutputMeshType::CellsContainerIterator OutputCellsContainerIterator;
90 
91  itkStaticConstMacro(PointDimension, unsigned int, OutputMeshType::PointDimension);
92 
94 
96 
98  itkSetMacro(NumberOfIterations, unsigned int);
99  itkGetConstMacro(NumberOfIterations, unsigned int);
101 
103  itkSetMacro(DelaunayConforming, bool);
104  itkGetConstMacro(DelaunayConforming, bool);
106 
108  itkSetMacro(RelaxationFactor, OutputCoordType);
109  itkGetConstMacro(RelaxationFactor, OutputCoordType);
111 
112 protected:
115  void PrintSelf(std::ostream & os, Indent indent) const ITK_OVERRIDE;
116 
118 
121 
123 
126 
128 
130 
131  unsigned int m_NumberOfIterations;
132 
134 
135  void GenerateData() ITK_OVERRIDE;
136 
137 private:
139  void operator=(const Self &);
140 };
141 }
142 
143 #include "itkSmoothingQuadEdgeMeshFilter.hxx"
144 #endif
void PrintSelf(std::ostream &os, Indent indent) const override
Light weight base class for most itk classes.
OutputMeshType::CellsContainerIterator OutputCellsContainerIterator
void SetCoefficientsMethod(CoefficientsComputation *iMethod)
OutputMeshType::CellsContainerPointer OutputCellsContainerPointer
OutputMeshType::PointsContainerPointer OutputPointsContainerPointer
OutputMeshType::PointsContainer OutputPointsContainer
InputOutputDelaunayConformingType::Pointer InputOutputDelaunayConformingPointer
OutputMeshType::EdgeCellType OutputEdgeCellType
OutputMeshType::PointIdentifier OutputPointIdentifier
OutputPointType::CoordRepType OutputCoordType
DelaunayConformingQuadEdgeMeshFilter< InputMeshType, OutputMeshType > InputOutputDelaunayConformingType
QuadEdgeMeshToQuadEdgeMeshFilter< TInputMesh, TOutputMesh > Superclass
OutputDelaunayConformingType::Pointer OutputDelaunayConformingPointer
DelaunayConformingQuadEdgeMeshFilter< OutputMeshType, OutputMeshType > OutputDelaunayConformingType
InputOutputDelaunayConformingPointer m_InputDelaunayFilter
OutputMeshType::PolygonCellType OutputPolygonCellType
MatrixCoefficients< OutputMeshType > CoefficientsComputation
Control indentation during Print() invocation.
Definition: itkIndent.h:49
OutputDelaunayConformingPointer m_OutputDelaunayFilter
OutputMeshType::PointsContainerIterator OutputPointsContainerIterator
Superclass for all the matrix coefficients computation classes.