Gazebo Rendering

API Reference

9.0.0
Projector.hh
Go to the documentation of this file.
1/*
2 * Copyright (C) 2023 Open Source Robotics Foundation
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 *
16 */
17#ifndef GZ_RENDERING_PROJECTOR_HH_
18#define GZ_RENDERING_PROJECTOR_HH_
19
20#include <string>
21
22#include <gz/math/Angle.hh>
23
24#include "gz/rendering/config.hh"
25#include "gz/rendering/Export.hh"
28
29namespace gz
30{
31 namespace rendering
32 {
33 inline namespace GZ_RENDERING_VERSION_NAMESPACE {
34 //
37 //
39 class GZ_RENDERING_VISIBLE Projector :
40 public virtual Visual
41 {
43 public: virtual ~Projector();
44
47 public: virtual double FarClipPlane() const = 0;
48
51 public: virtual void SetFarClipPlane(double _far) = 0;
52
55 public: virtual double NearClipPlane() const = 0;
56
59 public: virtual void SetNearClipPlane(double _near) = 0;
60
63 public: virtual math::Angle HFOV() const = 0;
64
67 public: virtual void SetHFOV(const math::Angle &_hfov) = 0;
68
71 public: virtual std::string Texture() const = 0;
72
75 public: virtual void SetTexture(const std::string &_texture) = 0;
76
79 public: virtual bool IsEnabled() const = 0;
80
83 public: virtual void SetEnabled(bool _enabled) = 0;
84 };
85 }
86 }
87}
88#endif