ITK 6.0.0
Insight Toolkit
 
Loading...
Searching...
No Matches
rtkRayEllipsoidIntersectionImageFilter.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 rtkRayEllipsoidIntersectionImageFilter_h
20#define rtkRayEllipsoidIntersectionImageFilter_h
21
25
28
29namespace rtk
30{
31
42template <class TInputImage, class TOutputImage>
43class ITK_TEMPLATE_EXPORT RayEllipsoidIntersectionImageFilter
44 : public RayConvexIntersectionImageFilter<TInputImage, TOutputImage>
45{
46public:
47 ITK_DISALLOW_COPY_AND_MOVE(RayEllipsoidIntersectionImageFilter);
48
54
59
61 itkNewMacro(Self);
62
64 itkOverrideGetNameOfClassMacro(RayEllipsoidIntersectionImageFilter);
65
67 itkGetMacro(Density, ScalarType);
69
71 itkGetConstReferenceMacro(PlaneDirections, std::vector<VectorType>);
72 itkGetConstReferenceMacro(PlanePositions, std::vector<ScalarType>);
73
75 void
76 AddClipPlane(const VectorType & dir, const ScalarType & pos);
77
79 itkGetMacro(Center, PointType);
81
83 itkGetMacro(Axis, VectorType);
85
87 itkGetMacro(Angle, ScalarType);
89
90protected:
93
94 void
96
97private:
99 std::vector<VectorType> m_PlaneDirections;
100 std::vector<ScalarType> m_PlanePositions;
101
105};
106
107} // end namespace rtk
108
109#ifndef ITK_MANUAL_INSTANTIATION
110# include "rtkRayEllipsoidIntersectionImageFilter.hxx"
111#endif
112
113#endif
Implements transparent reference counting.
itk::Point< ScalarType, Dimension > PointType
itk::Vector< ScalarType, Dimension > VectorType
~RayEllipsoidIntersectionImageFilter() override=default
void AddClipPlane(const VectorType &dir, const ScalarType &pos)
RayConvexIntersectionImageFilter< TInputImage, TOutputImage > Superclass
#define itkSetMacro(name, type)