18 #ifndef itkFrustumSpatialFunction_h
19 #define itkFrustumSpatialFunction_h
38 template<
unsigned int VDimension = 3,
39 typename TInput = Point< double, VDimension > >
68 } FrustumRotationPlaneType;
71 OutputType Evaluate(
const InputType & position)
const override;
74 itkGetConstMacro(Apex, InputType);
75 itkSetMacro(Apex, InputType);
79 itkGetConstMacro(AngleZ,
double);
80 itkSetMacro(AngleZ,
double);
84 itkGetConstMacro(ApertureAngleX,
double);
85 itkSetMacro(ApertureAngleX,
double);
89 itkGetConstMacro(ApertureAngleY,
double);
90 itkSetMacro(ApertureAngleY,
double);
94 itkGetConstMacro(TopPlane,
double);
95 itkSetMacro(TopPlane,
double);
99 itkGetConstMacro(BottomPlane,
double);
100 itkSetMacro(BottomPlane,
double);
104 itkGetConstMacro(RotationPlane, FrustumRotationPlaneType);
105 itkSetMacro(RotationPlane, FrustumRotationPlaneType);
111 void PrintSelf(std::ostream & os,
Indent indent)
const override;
115 double m_AngleZ{ 0.0f };
116 double m_ApertureAngleX{ 0.0f };
117 double m_ApertureAngleY{ 0.0f };
118 double m_TopPlane{ 0.0f };
119 double m_BottomPlane{ 0.0f };
124 #ifndef ITK_MANUAL_INSTANTIATION
125 #include "itkFrustumSpatialFunction.hxx"
typename Superclass::OutputType OutputType
Spatial function implementation of a truncated pyramid.
typename Superclass::InputType InputType
Control indentation during Print() invocation.
typename Superclass::OutputType OutputType
typename Superclass::InputType InputType
FrustumRotationPlaneType m_RotationPlane
Returns whether or not a location is "inside" or "outside" a function.