RayZaler 0.1
The free opto-mechanical simulation framework
SphericalLens.h
1//
2// Copyright (c) 2024 Gonzalo José Carracedo Carballal
3//
4// This program is free software: you can redistribute it and/or modify
5// it under the terms of the GNU Lesser General Public License as
6// published by the Free Software Foundation, either version 3 of the
7// License, or (at your option) any later version.
8//
9// This program is distributed in the hope that it will be useful, but
10// WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU Lesser General Public License for more details.
13//
14// You should have received a copy of the GNU Lesser General Public
15// License along with this program. If not, see
16// <http://www.gnu.org/licenses/>
17//
18
19#ifndef _SPHERICAL_LENS_H
20#define _SPHERICAL_LENS_H
21
22#include "ConicLens.h"
23
24namespace RZ {
25 class TranslatedFrame;
26
27 class SphericalLens : public ConicLens {
28 protected:
29 virtual bool propertyChanged(std::string const &, PropertyValue const &) override;
30
31 public:
34 std::string const &,
36 Element *parent = nullptr);
37
38 virtual ~SphericalLens() override;
39 };
40
41 RZ_DECLARE_ELEMENT_FROM(SphericalLens, ConicLens);
42}
43
44#endif // _SPHERICAL_LENS_H
Definition: ConicLens.h:29
Definition: Element.h:393
Definition: Element.h:173
Definition: Element.h:58
Definition: ReferenceFrame.h:59
Definition: SphericalLens.h:27