ITK 6.0.0
Insight Toolkit
 
Loading...
Searching...
No Matches
rtkRayQuadricIntersectionImageFilter.h
Go to the documentation of this file.
1/*=========================================================================
2 *
3 * Copyright RTK 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 * 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
19#ifndef rtkRayQuadricIntersectionImageFilter_h
20#define rtkRayQuadricIntersectionImageFilter_h
21
23#include "rtkConfiguration.h"
24
25namespace rtk
26{
27
37template <class TInputImage, class TOutputImage>
38class ITK_TEMPLATE_EXPORT RayQuadricIntersectionImageFilter
39 : public RayConvexIntersectionImageFilter<TInputImage, TOutputImage>
40{
41public:
42 ITK_DISALLOW_COPY_AND_MOVE(RayQuadricIntersectionImageFilter);
43
49
54
56 itkNewMacro(Self);
57
59 itkOverrideGetNameOfClassMacro(RayQuadricIntersectionImageFilter);
60
62 itkGetMacro(Density, ScalarType);
64
66 itkGetConstReferenceMacro(PlaneDirections, std::vector<VectorType>);
67 itkGetConstReferenceMacro(PlanePositions, std::vector<ScalarType>);
68
70 void
71 AddClipPlane(const VectorType & dir, const ScalarType & pos);
72
74 itkGetMacro(A, ScalarType);
76 itkGetMacro(B, ScalarType);
78 itkGetMacro(C, ScalarType);
80 itkGetMacro(D, ScalarType);
82 itkGetMacro(E, ScalarType);
84 itkGetMacro(F, ScalarType);
86 itkGetMacro(G, ScalarType);
88 itkGetMacro(H, ScalarType);
90 itkGetMacro(I, ScalarType);
92 itkGetMacro(J, ScalarType);
94
95protected:
98
99 void
101
102private:
104 std::vector<VectorType> m_PlaneDirections;
105 std::vector<ScalarType> m_PlanePositions;
106
117};
118
119} // end namespace rtk
120
121#ifndef ITK_MANUAL_INSTANTIATION
122# include "rtkRayQuadricIntersectionImageFilter.hxx"
123#endif
124
125#endif
Implements transparent reference counting.
itk::Point< ScalarType, Dimension > PointType
itk::Vector< ScalarType, Dimension > VectorType
RayConvexIntersectionImageFilter< TInputImage, TOutputImage > Superclass
~RayQuadricIntersectionImageFilter() override=default
void AddClipPlane(const VectorType &dir, const ScalarType &pos)
#define itkSetMacro(name, type)