11/*
2- * Copyright (C) 2015 Open Source Robotics Foundation
2+ * Copyright (C) 2024 Open Source Robotics Foundation
33 *
44 * Licensed under the Apache License, Version 2.0 (the "License");
55 * you may not use this file except in compliance with the License.
@@ -72,24 +72,7 @@ namespace gz
7272 // / \brief Destructor
7373 public: virtual ~FrustumVisual ();
7474
75- // / \brief Constructor
76- // / \param[in] _near Near plane distance. This is the distance from
77- // / the frustum's vertex to the closest plane
78- // / \param[in] _far Far plane distance. This is the distance from the
79- // / frustum's vertex to the farthest plane.
80- // / \param[in] _fov Field of view. The field of view is the
81- // / angle between the frustum's vertex and the edges of the near or far
82- // / plane. This value represents the horizontal angle.
83- // / \param[in] _aspectRatio The aspect ratio, which is the width divided
84- // / by height of the near or far planes.
85- // / \param[in] _pose Pose of the frustum, which is the vertex (top of
86- // / the pyramid).
87- /* protected: FrustumVisual(double _near,
88- double _far,
89- const math::Angle &_fov,
90- double _aspectRatio,
91- const gz::math::Pose3d &_pose = gz::math::Pose3d::Zero);*/
92-
75+ // / \brief Update the Visual
9376 public: virtual void Update () = 0;
9477
9578 // / \brief Get the near distance. This is the distance from the
@@ -147,16 +130,6 @@ namespace gz
147130 // / \return Plane of the frustum.
148131 public: virtual gz::math::Planed Plane (const FrustumVisualPlane _plane) const = 0;
149132
150- // / \brief Check if a box lies inside the pyramid frustum.
151- // / \param[in] _b Box to check.
152- // / \return True if the box is inside the pyramid frustum.
153- // public: virtual bool Contains(const gz::math::AxisAlignedBox &_b) const = 0; //TO-DO
154-
155- // / \brief Check if a point lies inside the pyramid frustum.
156- // / \param[in] _p Point to check.
157- // / \return True if the point is inside the pyramid frustum.
158- // public: virtual bool Contains(const gz::math::Vector3d &_p) const = 0; //TO-DO
159-
160133 // / \brief Get the pose of the frustum
161134 // / \return Pose of the frustum
162135 // / \sa SetPose
@@ -170,9 +143,6 @@ namespace gz
170143 // / \brief Compute the planes of the frustum. This is called whenever
171144 // / a property of the frustum is changed.
172145 private: void ComputePlanes ();
173-
174- // / \brief Private data pointer
175- // GZ_UTILS_IMPL_PTR(dataPtr)
176146 };
177147 }
178148 }
0 commit comments