diff --git a/include/gz/rendering/ArrowVisual.hh b/include/gz/rendering/ArrowVisual.hh index 646f98651..1c3e5f0a8 100644 --- a/include/gz/rendering/ArrowVisual.hh +++ b/include/gz/rendering/ArrowVisual.hh @@ -32,7 +32,7 @@ namespace gz public virtual CompositeVisual { /// \brief Destructor - public: virtual ~ArrowVisual() { } + public: virtual ~ArrowVisual(); /// \brief Get arrow-head visual /// \return The arrow-head visual diff --git a/include/gz/rendering/AxisVisual.hh b/include/gz/rendering/AxisVisual.hh index 9fc251c9b..e493cf988 100644 --- a/include/gz/rendering/AxisVisual.hh +++ b/include/gz/rendering/AxisVisual.hh @@ -32,7 +32,7 @@ namespace gz public virtual CompositeVisual { /// \brief Destructor - public: virtual ~AxisVisual() { } + public: virtual ~AxisVisual(); /// \brief set true to show the axis heads, false otherwise /// \param[in] _b true to show the axis heads, false otherwise diff --git a/include/gz/rendering/BoundingBoxCamera.hh b/include/gz/rendering/BoundingBoxCamera.hh index e11bfb535..0143dfd07 100644 --- a/include/gz/rendering/BoundingBoxCamera.hh +++ b/include/gz/rendering/BoundingBoxCamera.hh @@ -55,7 +55,7 @@ namespace gz public virtual Camera { /// \brief Destructor - public: virtual ~BoundingBoxCamera() { } + public: virtual ~BoundingBoxCamera(); /// \brief Get the BoundingBox data /// \return Buffer of bounding boxes info (label, minX, minY, maxX, maxY). diff --git a/include/gz/rendering/COMVisual.hh b/include/gz/rendering/COMVisual.hh index 57b5d41b1..067b8183b 100644 --- a/include/gz/rendering/COMVisual.hh +++ b/include/gz/rendering/COMVisual.hh @@ -37,7 +37,7 @@ namespace gz public virtual Visual { /// \brief Destructor - public: virtual ~COMVisual() {} + public: virtual ~COMVisual(); /// \brief Set the inertial component of the visual /// \param[in] _inertial Inertial component of the visual diff --git a/include/gz/rendering/Camera.hh b/include/gz/rendering/Camera.hh index b51450489..deee4bdb6 100644 --- a/include/gz/rendering/Camera.hh +++ b/include/gz/rendering/Camera.hh @@ -54,7 +54,7 @@ namespace gz unsigned int, unsigned int, const std::string&)> NewFrameListener; /// \brief Destructor - public: virtual ~Camera() { } + public: virtual ~Camera(); /// \brief Get the image width in pixels /// \return The image width in pixels diff --git a/include/gz/rendering/Capsule.hh b/include/gz/rendering/Capsule.hh index ad5d2bc03..ee7abcc0c 100644 --- a/include/gz/rendering/Capsule.hh +++ b/include/gz/rendering/Capsule.hh @@ -19,6 +19,7 @@ #define GZ_RENDERING_CAPSULE_HH_ #include "gz/rendering/config.hh" +#include "gz/rendering/Export.hh" #include "gz/rendering/Geometry.hh" #include "gz/rendering/Object.hh" @@ -33,7 +34,7 @@ namespace gz public virtual Geometry { /// \brief Destructor - public: virtual ~Capsule() { } + public: virtual ~Capsule(); /// \brief Set the radius of the capsule public: virtual void SetRadius(double _radius) = 0; diff --git a/include/gz/rendering/CompositeVisual.hh b/include/gz/rendering/CompositeVisual.hh index a3006f3cc..07f1d0fec 100644 --- a/include/gz/rendering/CompositeVisual.hh +++ b/include/gz/rendering/CompositeVisual.hh @@ -33,7 +33,7 @@ namespace gz public virtual Visual { /// \brief Destructor - public: virtual ~CompositeVisual() { } + public: virtual ~CompositeVisual(); }; } } diff --git a/include/gz/rendering/DepthCamera.hh b/include/gz/rendering/DepthCamera.hh index adda64089..fc739ec7d 100644 --- a/include/gz/rendering/DepthCamera.hh +++ b/include/gz/rendering/DepthCamera.hh @@ -39,7 +39,7 @@ namespace gz unsigned int, unsigned int, const std::string&)> NewFrameListener; /// \brief Destructor - public: virtual ~DepthCamera() { } + public: virtual ~DepthCamera(); /// \brief Create a texture which will hold the depth data public: virtual void CreateDepthTexture() = 0; diff --git a/include/gz/rendering/Geometry.hh b/include/gz/rendering/Geometry.hh index ed5c6e66c..f445e778b 100644 --- a/include/gz/rendering/Geometry.hh +++ b/include/gz/rendering/Geometry.hh @@ -36,7 +36,7 @@ namespace gz public virtual Object { /// \brief Destructor - public: virtual ~Geometry() { } + public: virtual ~Geometry(); /// \brief Determine if this Geometry is attached to a Visual /// \return True if this Geometry has a parent Visual diff --git a/include/gz/rendering/GizmoVisual.hh b/include/gz/rendering/GizmoVisual.hh index d230cd47a..d4a748d63 100644 --- a/include/gz/rendering/GizmoVisual.hh +++ b/include/gz/rendering/GizmoVisual.hh @@ -35,7 +35,7 @@ namespace gz public virtual CompositeVisual { /// \brief Destructor - public: virtual ~GizmoVisual() { } + public: virtual ~GizmoVisual(); /// \brief Set the transform mode of the gizmo. This controls the visual /// appearance of the gizmo. Only the visuals in the specified mode will diff --git a/include/gz/rendering/GpuRays.hh b/include/gz/rendering/GpuRays.hh index 3fb81bac5..b1d646d53 100644 --- a/include/gz/rendering/GpuRays.hh +++ b/include/gz/rendering/GpuRays.hh @@ -42,7 +42,7 @@ namespace gz unsigned int, unsigned int, const std::string&)> NewFrameListener; /// \brief Destructor - public: virtual ~GpuRays() { } + public: virtual ~GpuRays(); /// \brief All things needed to get back z buffer for gpu rays data. /// \return Array of gpu rays data. diff --git a/include/gz/rendering/Grid.hh b/include/gz/rendering/Grid.hh index 547b79b74..6b1ca0921 100644 --- a/include/gz/rendering/Grid.hh +++ b/include/gz/rendering/Grid.hh @@ -35,7 +35,7 @@ namespace gz public virtual Geometry { /// \brief Destructor - public: virtual ~Grid() { } + public: virtual ~Grid(); /// \brief Set the number of cells on a planar grid /// \param[in] _count The number of cells diff --git a/include/gz/rendering/InertiaVisual.hh b/include/gz/rendering/InertiaVisual.hh index fd1824b26..97187cde3 100644 --- a/include/gz/rendering/InertiaVisual.hh +++ b/include/gz/rendering/InertiaVisual.hh @@ -36,7 +36,7 @@ namespace gz public virtual Visual { /// \brief Destructor - public: virtual ~InertiaVisual() {} + public: virtual ~InertiaVisual(); /// \brief Set the inertial component of the visual /// \param[in] _inertial Inertial component of the visual diff --git a/include/gz/rendering/JointVisual.hh b/include/gz/rendering/JointVisual.hh index 507b04ff3..e89b9707e 100644 --- a/include/gz/rendering/JointVisual.hh +++ b/include/gz/rendering/JointVisual.hh @@ -70,7 +70,7 @@ namespace gz public virtual Visual { /// \brief Destructor - public: virtual ~JointVisual() {} + public: virtual ~JointVisual(); /// \brief Create an axis and attach it to the joint visual. /// \param[in] _axis Axis vector. diff --git a/include/gz/rendering/Light.hh b/include/gz/rendering/Light.hh index 084b3c30e..1af5dbe96 100644 --- a/include/gz/rendering/Light.hh +++ b/include/gz/rendering/Light.hh @@ -33,7 +33,7 @@ namespace gz public virtual Node { /// \brief Destructor - public: virtual ~Light() { } + public: virtual ~Light(); /// \brief Get the diffuse color /// \return The diffuse color @@ -122,7 +122,7 @@ namespace gz public virtual Light { /// \brief Destructor - public: virtual ~DirectionalLight() { } + public: virtual ~DirectionalLight(); /// \brief Get the direction of the light /// \return The direction of the light @@ -145,7 +145,7 @@ namespace gz public virtual Light { /// \brief Destructor - public: virtual ~PointLight() { } + public: virtual ~PointLight(); }; /// \class SpotLight Light.hh gz/rendering/Light.hh @@ -154,7 +154,7 @@ namespace gz public virtual Light { /// \brief Destructor - public: virtual ~SpotLight() { } + public: virtual ~SpotLight(); /// \brief Get direction of the light /// \return The direction of the light diff --git a/include/gz/rendering/LightVisual.hh b/include/gz/rendering/LightVisual.hh index 6de0a5bc1..a478daccc 100644 --- a/include/gz/rendering/LightVisual.hh +++ b/include/gz/rendering/LightVisual.hh @@ -50,7 +50,7 @@ namespace gz public virtual Visual { /// \brief Descructor - public: virtual ~LightVisual() {} + public: virtual ~LightVisual(); /// \brief set type of the light /// \param[in] _type type of the light diff --git a/include/gz/rendering/Material.hh b/include/gz/rendering/Material.hh index a59ce2af0..8f1cad7ef 100644 --- a/include/gz/rendering/Material.hh +++ b/include/gz/rendering/Material.hh @@ -49,7 +49,7 @@ namespace gz public virtual Object { /// \brief Destructor - public: virtual ~Material() { } + public: virtual ~Material(); /// \brief Determine if lighting affects this material /// \return True if lighting affects this material diff --git a/include/gz/rendering/Mesh.hh b/include/gz/rendering/Mesh.hh index 6a134ddd1..dc1d148ec 100644 --- a/include/gz/rendering/Mesh.hh +++ b/include/gz/rendering/Mesh.hh @@ -38,7 +38,7 @@ namespace gz public virtual Geometry { /// \brief Destructor - public: virtual ~Mesh() { } + public: virtual ~Mesh(); /// \brief Check whether the mesh has skeleton /// \return True if the mesh has skeleton @@ -136,7 +136,7 @@ namespace gz public virtual Object { /// \brief Destructor - public: virtual ~SubMesh() { } + public: virtual ~SubMesh(); /// \brief Get the currently assigned material /// \return The currently assigned material diff --git a/include/gz/rendering/Node.hh b/include/gz/rendering/Node.hh index faa4d8de2..ff2a53fc6 100644 --- a/include/gz/rendering/Node.hh +++ b/include/gz/rendering/Node.hh @@ -52,7 +52,7 @@ namespace gz public virtual Object { /// \brief Destructor - public: virtual ~Node() { } + public: virtual ~Node(); /// \brief Determine if this Node is attached to another Node. /// \return True if this Node has a parent Node diff --git a/include/gz/rendering/Object.hh b/include/gz/rendering/Object.hh index 69c994065..90e6ef0aa 100644 --- a/include/gz/rendering/Object.hh +++ b/include/gz/rendering/Object.hh @@ -34,7 +34,7 @@ namespace gz class GZ_RENDERING_VISIBLE Object { /// \brief Destructor - public: virtual ~Object() { } + public: virtual ~Object(); /// \brief Get the object ID. This ID will be unique across all objects /// inside a given scene, but necessarily true for objects across diff --git a/include/gz/rendering/ParticleEmitter.hh b/include/gz/rendering/ParticleEmitter.hh index b2829317b..2698a3fc2 100644 --- a/include/gz/rendering/ParticleEmitter.hh +++ b/include/gz/rendering/ParticleEmitter.hh @@ -59,7 +59,7 @@ namespace gz public virtual Visual { /// \brief Destructor - public: virtual ~ParticleEmitter() {} + public: virtual ~ParticleEmitter(); /// \brief \brief Get the emitter type. /// \return Emitter type. diff --git a/include/gz/rendering/RayQuery.hh b/include/gz/rendering/RayQuery.hh index 14b62d5d6..8eb48d425 100644 --- a/include/gz/rendering/RayQuery.hh +++ b/include/gz/rendering/RayQuery.hh @@ -64,7 +64,7 @@ namespace gz : public virtual Object { /// \brief Destructor - public: virtual ~RayQuery() { } + public: virtual ~RayQuery(); /// \brief Set ray origin /// \param[in] _origin Ray origin diff --git a/include/gz/rendering/RenderEngine.hh b/include/gz/rendering/RenderEngine.hh index df09b7b9d..667c622c5 100644 --- a/include/gz/rendering/RenderEngine.hh +++ b/include/gz/rendering/RenderEngine.hh @@ -37,7 +37,7 @@ namespace gz class GZ_RENDERING_VISIBLE RenderEngine { /// \brief Destructor - public: virtual ~RenderEngine() { } + public: virtual ~RenderEngine(); /// \brief Load any necessary resources to set up render-engine. This /// should called before any other function. diff --git a/include/gz/rendering/RenderPass.hh b/include/gz/rendering/RenderPass.hh index adc5e925d..30d4671bf 100644 --- a/include/gz/rendering/RenderPass.hh +++ b/include/gz/rendering/RenderPass.hh @@ -35,7 +35,7 @@ namespace gz : public virtual Object { /// \brief Destructor - public: virtual ~RenderPass() { } + public: virtual ~RenderPass(); /// \brief Set to enable or disable the render pass /// \param[in] _enabled True to enable the render pass, false to disable. diff --git a/include/gz/rendering/RenderTarget.hh b/include/gz/rendering/RenderTarget.hh index 06087a70b..2e400cec0 100644 --- a/include/gz/rendering/RenderTarget.hh +++ b/include/gz/rendering/RenderTarget.hh @@ -38,7 +38,7 @@ namespace gz public virtual Object { /// \brief Destructor - public: virtual ~RenderTarget() { } + public: virtual ~RenderTarget(); /// \brief Get render target width in pixels /// \return The render target width in pixels @@ -104,7 +104,7 @@ namespace gz public virtual RenderTarget { /// \brief Destructor - public: virtual ~RenderTexture() { } + public: virtual ~RenderTexture(); /// \brief Returns the OpenGL texture Id. A valid Id is returned only // if this is an OpenGL render texture @@ -127,7 +127,7 @@ namespace gz public virtual RenderTarget { /// \brief Destructor - public: virtual ~RenderWindow() { } + public: virtual ~RenderWindow(); /// \brief Get the window handle that the render window is attached to. /// \return Window handle diff --git a/include/gz/rendering/Scene.hh b/include/gz/rendering/Scene.hh index 847b96980..29a01ed57 100644 --- a/include/gz/rendering/Scene.hh +++ b/include/gz/rendering/Scene.hh @@ -48,7 +48,7 @@ namespace gz class GZ_RENDERING_VISIBLE Scene { /// \brief Destructor - public: virtual ~Scene() { } + public: virtual ~Scene(); /// \brief Load scene-specific resources public: virtual void Load() = 0; diff --git a/include/gz/rendering/SegmentationCamera.hh b/include/gz/rendering/SegmentationCamera.hh index 3aaf120d3..bb0d175c6 100644 --- a/include/gz/rendering/SegmentationCamera.hh +++ b/include/gz/rendering/SegmentationCamera.hh @@ -52,7 +52,7 @@ namespace gz public virtual Camera { /// \brief Destructor - public: virtual ~SegmentationCamera() { } + public: virtual ~SegmentationCamera(); /// \brief Create a texture which will hold the segmentation data public: virtual void CreateSegmentationTexture() = 0; diff --git a/include/gz/rendering/Sensor.hh b/include/gz/rendering/Sensor.hh index 7bf0a928f..ecdb50074 100644 --- a/include/gz/rendering/Sensor.hh +++ b/include/gz/rendering/Sensor.hh @@ -33,7 +33,7 @@ namespace gz public virtual Node { /// \brief Sensor - public: virtual ~Sensor() { } + public: virtual ~Sensor(); /// \brief Set visibility mask /// \param[in] _mask Visibility mask diff --git a/include/gz/rendering/Storage.hh b/include/gz/rendering/Storage.hh index 954474fdc..7a877d4a1 100644 --- a/include/gz/rendering/Storage.hh +++ b/include/gz/rendering/Storage.hh @@ -57,7 +57,7 @@ namespace gz typedef std::shared_ptr ConstTPtr; /// \brief Destructor - public: virtual ~Map() { } + public: virtual ~Map() = default; /// \brief Get the number of elements in this map /// \return The number of elements in this map @@ -122,7 +122,7 @@ namespace gz typedef std::shared_ptr ConstTPtr; /// \brief Destructor - public: virtual ~Store() { } + public: virtual ~Store() = default; /// \brief Get number of elements in this store /// \return The number of elements in this store @@ -244,7 +244,7 @@ namespace gz typedef std::shared_ptr ConstTStorePtr; /// \brief Destructor - public: virtual ~CompositeStore() { } + public: virtual ~CompositeStore() = default; /// \brief Get number of Stores /// \return The number of Stores @@ -291,7 +291,7 @@ namespace gz class GZ_RENDERING_VISIBLE StoreWrapper : public Store { - public: virtual ~StoreWrapper() { } + public: virtual ~StoreWrapper() = default; }; // armhf failed to build with this code. It can not be removed for the rest diff --git a/include/gz/rendering/Text.hh b/include/gz/rendering/Text.hh index b5b3f08d9..3c1a86414 100644 --- a/include/gz/rendering/Text.hh +++ b/include/gz/rendering/Text.hh @@ -66,7 +66,7 @@ namespace gz public: Text() = default; /// \brief Destructor - public: virtual ~Text() = default; + public: virtual ~Text(); /// \brief Set the font. /// \param[in] _font Name of the font diff --git a/include/gz/rendering/ThermalCamera.hh b/include/gz/rendering/ThermalCamera.hh index 17189e472..bb94387c8 100644 --- a/include/gz/rendering/ThermalCamera.hh +++ b/include/gz/rendering/ThermalCamera.hh @@ -41,7 +41,7 @@ namespace gz public virtual Camera { /// \brief Destructor - public: virtual ~ThermalCamera() { } + public: virtual ~ThermalCamera(); /// \brief Set the ambient temperature of the environment /// \param[in] _ambient Ambient temperature in kelvin diff --git a/include/gz/rendering/ViewController.hh b/include/gz/rendering/ViewController.hh index 095ed9400..60afd2c7b 100644 --- a/include/gz/rendering/ViewController.hh +++ b/include/gz/rendering/ViewController.hh @@ -35,7 +35,7 @@ namespace gz class GZ_RENDERING_VISIBLE ViewController { /// \brief Destructor - public: virtual ~ViewController() { } + public: virtual ~ViewController(); /// \brief Set the camera that will be controlled by this view controller. /// \param[in] _camera Camera to control diff --git a/include/gz/rendering/Visual.hh b/include/gz/rendering/Visual.hh index 7f9aca51b..d499a64b0 100644 --- a/include/gz/rendering/Visual.hh +++ b/include/gz/rendering/Visual.hh @@ -34,7 +34,7 @@ namespace gz public virtual Node { /// \brief Destructor - public: virtual ~Visual() { } + public: virtual ~Visual(); /// \brief Get the number of geometries attached to this visual /// \return The number of geometries attached to this visual diff --git a/include/gz/rendering/WideAngleCamera.hh b/include/gz/rendering/WideAngleCamera.hh index 3df4c7dbd..388b1ed5f 100644 --- a/include/gz/rendering/WideAngleCamera.hh +++ b/include/gz/rendering/WideAngleCamera.hh @@ -38,7 +38,7 @@ namespace gz public virtual Camera { /// \brief Destructor - public: virtual ~WideAngleCamera() { } + public: virtual ~WideAngleCamera(); /// \brief Set the camera lens to use for this wide angle camera /// \param[in] _lens Camera lens to set diff --git a/src/ArrowVisual.cc b/src/ArrowVisual.cc new file mode 100644 index 000000000..90ea2bbca --- /dev/null +++ b/src/ArrowVisual.cc @@ -0,0 +1,25 @@ +/* + * Copyright (C) 2022 Open Source Robotics Foundation + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + +#include "gz/rendering/ArrowVisual.hh" + +namespace gz::rendering +{ + +ArrowVisual::~ArrowVisual() = default; + +} // namespace gz::rendering diff --git a/src/AxisVisual.cc b/src/AxisVisual.cc new file mode 100644 index 000000000..010ab9a14 --- /dev/null +++ b/src/AxisVisual.cc @@ -0,0 +1,25 @@ +/* + * Copyright (C) 2022 Open Source Robotics Foundation + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + +#include "gz/rendering/AxisVisual.hh" + +namespace gz::rendering +{ + +AxisVisual::~AxisVisual() = default; + +} // namespace gz::rendering diff --git a/src/BoundingBox.cc b/src/BoundingBox.cc index e26788a4f..017a9bb44 100644 --- a/src/BoundingBox.cc +++ b/src/BoundingBox.cc @@ -91,9 +91,7 @@ BoundingBox::BoundingBox() : } ///////////////////////////////////////////////// -BoundingBox::~BoundingBox() -{ -} +BoundingBox::~BoundingBox() = default; ////////////////////////////////////////////////// BoundingBox::BoundingBox(const BoundingBox &_box) diff --git a/src/BoundingBoxCamera.cc b/src/BoundingBoxCamera.cc new file mode 100644 index 000000000..f64cde3fe --- /dev/null +++ b/src/BoundingBoxCamera.cc @@ -0,0 +1,25 @@ +/* + * Copyright (C) 2022 Open Source Robotics Foundation + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + +#include "gz/rendering/BoundingBoxCamera.hh" + +namespace gz::rendering +{ + +BoundingBoxCamera::~BoundingBoxCamera() = default; + +} // namespace gz::rendering diff --git a/src/COMVisual.cc b/src/COMVisual.cc new file mode 100644 index 000000000..231a9c01a --- /dev/null +++ b/src/COMVisual.cc @@ -0,0 +1,25 @@ +/* + * Copyright (C) 2022 Open Source Robotics Foundation + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + +#include "gz/rendering/COMVisual.hh" + +namespace gz::rendering +{ + +COMVisual::~COMVisual() = default; + +} // namespace gz::rendering diff --git a/src/Camera.cc b/src/Camera.cc new file mode 100644 index 000000000..88912fb3c --- /dev/null +++ b/src/Camera.cc @@ -0,0 +1,25 @@ +/* + * Copyright (C) 2022 Open Source Robotics Foundation + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + +#include "gz/rendering/Camera.hh" + +namespace gz::rendering +{ + +Camera::~Camera() = default; + +} // namespace gz::rendering diff --git a/src/CameraLens.cc b/src/CameraLens.cc index 6fe468c49..b966f6849 100644 --- a/src/CameraLens.cc +++ b/src/CameraLens.cc @@ -156,9 +156,7 @@ CameraLens::CameraLens(const CameraLens &_other) } ////////////////////////////////////////////////// -CameraLens::~CameraLens() -{ -} +CameraLens::~CameraLens() = default; ////////////////////////////////////////////////// CameraLens &CameraLens::operator=(const CameraLens &_other) diff --git a/src/Capsule.cc b/src/Capsule.cc new file mode 100644 index 000000000..beb5a43e9 --- /dev/null +++ b/src/Capsule.cc @@ -0,0 +1,25 @@ +/* + * Copyright (C) 2022 Open Source Robotics Foundation + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + +#include "gz/rendering/Capsule.hh" + +namespace gz::rendering +{ + +Capsule::~Capsule() = default; + +} // namespace gz::rendering diff --git a/src/CompositeVisual.cc b/src/CompositeVisual.cc new file mode 100644 index 000000000..c7d759824 --- /dev/null +++ b/src/CompositeVisual.cc @@ -0,0 +1,25 @@ +/* + * Copyright (C) 2022 Open Source Robotics Foundation + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + +#include "gz/rendering/CompositeVisual.hh" + +namespace gz::rendering +{ + +CompositeVisual::~CompositeVisual() = default; + +} // namespace gz::rendering diff --git a/src/DepthCamera.cc b/src/DepthCamera.cc new file mode 100644 index 000000000..ce82e8e36 --- /dev/null +++ b/src/DepthCamera.cc @@ -0,0 +1,25 @@ +/* + * Copyright (C) 2022 Open Source Robotics Foundation + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + +#include "gz/rendering/DepthCamera.hh" + +namespace gz::rendering +{ + +DepthCamera::~DepthCamera() = default; + +} // namespace gz::rendering diff --git a/src/DistortionPass.cc b/src/DistortionPass.cc index a21b48a40..086422bf1 100644 --- a/src/DistortionPass.cc +++ b/src/DistortionPass.cc @@ -21,11 +21,7 @@ using namespace gz; using namespace rendering; ////////////////////////////////////////////////// -DistortionPass::DistortionPass() -{ -} +DistortionPass::DistortionPass() = default; ////////////////////////////////////////////////// -DistortionPass::~DistortionPass() -{ -} +DistortionPass::~DistortionPass() = default; diff --git a/src/GaussianNoisePass.cc b/src/GaussianNoisePass.cc index 231225416..d7f4fe21a 100644 --- a/src/GaussianNoisePass.cc +++ b/src/GaussianNoisePass.cc @@ -22,11 +22,7 @@ using namespace gz; using namespace rendering; ////////////////////////////////////////////////// -GaussianNoisePass::GaussianNoisePass() -{ -} +GaussianNoisePass::GaussianNoisePass() = default; ////////////////////////////////////////////////// -GaussianNoisePass::~GaussianNoisePass() -{ -} +GaussianNoisePass::~GaussianNoisePass() = default; diff --git a/src/Geometry.cc b/src/Geometry.cc new file mode 100644 index 000000000..6f2b77921 --- /dev/null +++ b/src/Geometry.cc @@ -0,0 +1,25 @@ +/* + * Copyright (C) 2022 Open Source Robotics Foundation + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + +#include "gz/rendering/Geometry.hh" + +namespace gz::rendering +{ + +Geometry::~Geometry() = default; + +} // namespace gz::rendering diff --git a/src/GizmoVisual.cc b/src/GizmoVisual.cc new file mode 100644 index 000000000..2d84da717 --- /dev/null +++ b/src/GizmoVisual.cc @@ -0,0 +1,25 @@ +/* + * Copyright (C) 2022 Open Source Robotics Foundation + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + +#include "gz/rendering/GizmoVisual.hh" + +namespace gz::rendering +{ + +GizmoVisual::~GizmoVisual() = default; + +} // namespace gz::rendering diff --git a/src/GpuRays.cc b/src/GpuRays.cc new file mode 100644 index 000000000..5a72125c3 --- /dev/null +++ b/src/GpuRays.cc @@ -0,0 +1,25 @@ +/* + * Copyright (C) 2022 Open Source Robotics Foundation + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + +#include "gz/rendering/GpuRays.hh" + +namespace gz::rendering +{ + +GpuRays::~GpuRays() = default; + +} // namespace gz::rendering diff --git a/src/Grid.cc b/src/Grid.cc new file mode 100644 index 000000000..a4aec45b5 --- /dev/null +++ b/src/Grid.cc @@ -0,0 +1,25 @@ +/* + * Copyright (C) 2022 Open Source Robotics Foundation + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + +#include "gz/rendering/Grid.hh" + +namespace gz::rendering +{ + +Grid::~Grid() = default; + +} // namespace gz::rendering diff --git a/src/HeightmapDescriptor.cc b/src/HeightmapDescriptor.cc index ec2e7421f..7367551d8 100644 --- a/src/HeightmapDescriptor.cc +++ b/src/HeightmapDescriptor.cc @@ -80,9 +80,7 @@ HeightmapTexture::HeightmapTexture() : } ///////////////////////////////////////////////// -HeightmapTexture::~HeightmapTexture() -{ -} +HeightmapTexture::~HeightmapTexture() = default; ////////////////////////////////////////////////// HeightmapTexture::HeightmapTexture(const HeightmapTexture &_texture) @@ -154,9 +152,7 @@ HeightmapBlend::HeightmapBlend() : ///////////////////////////////////////////////// -HeightmapBlend::~HeightmapBlend() -{ -} +HeightmapBlend::~HeightmapBlend() = default; ////////////////////////////////////////////////// HeightmapBlend::HeightmapBlend(const HeightmapBlend &_blend) diff --git a/src/Image.cc b/src/Image.cc index 983022e66..5a0fd3fe3 100644 --- a/src/Image.cc +++ b/src/Image.cc @@ -41,9 +41,7 @@ Image::Image(unsigned int _width, unsigned int _height, } ////////////////////////////////////////////////// -Image::~Image() -{ -} +Image::~Image() = default; ////////////////////////////////////////////////// unsigned int Image::Width() const diff --git a/src/InertiaVisual.cc b/src/InertiaVisual.cc new file mode 100644 index 000000000..1d72d45d2 --- /dev/null +++ b/src/InertiaVisual.cc @@ -0,0 +1,25 @@ +/* + * Copyright (C) 2022 Open Source Robotics Foundation + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + +#include "gz/rendering/InertiaVisual.hh" + +namespace gz::rendering +{ + +InertiaVisual::~InertiaVisual() = default; + +} // namespace gz::rendering diff --git a/src/JointVisual.cc b/src/JointVisual.cc new file mode 100644 index 000000000..c4a4c2ae9 --- /dev/null +++ b/src/JointVisual.cc @@ -0,0 +1,25 @@ +/* + * Copyright (C) 2022 Open Source Robotics Foundation + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + +#include "gz/rendering/JointVisual.hh" + +namespace gz::rendering +{ + +JointVisual::~JointVisual() = default; + +} // namespace gz::rendering diff --git a/src/LidarVisual.cc b/src/LidarVisual.cc index 1ef14ebe9..deb45d626 100644 --- a/src/LidarVisual.cc +++ b/src/LidarVisual.cc @@ -22,11 +22,7 @@ using namespace gz; using namespace rendering; ////////////////////////////////////////////////// -LidarVisual::LidarVisual() -{ -} +LidarVisual::LidarVisual() = default; ////////////////////////////////////////////////// -LidarVisual::~LidarVisual() -{ -} +LidarVisual::~LidarVisual() = default; diff --git a/src/Light.cc b/src/Light.cc new file mode 100644 index 000000000..3a732875c --- /dev/null +++ b/src/Light.cc @@ -0,0 +1,31 @@ +/* + * Copyright (C) 2022 Open Source Robotics Foundation + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + +#include "gz/rendering/Light.hh" + +namespace gz::rendering +{ + +Light::~Light() = default; + +DirectionalLight::~DirectionalLight() = default; + +PointLight::~PointLight() = default; + +SpotLight::~SpotLight() = default; + +} // namespace gz::rendering diff --git a/src/LightVisual.cc b/src/LightVisual.cc new file mode 100644 index 000000000..50bf06896 --- /dev/null +++ b/src/LightVisual.cc @@ -0,0 +1,25 @@ +/* + * Copyright (C) 2022 Open Source Robotics Foundation + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + +#include "gz/rendering/LightVisual.hh" + +namespace gz::rendering +{ + +LightVisual::~LightVisual() = default; + +} // namespace gz::rendering diff --git a/src/Marker.cc b/src/Marker.cc index 71481eabe..b3d63843c 100644 --- a/src/Marker.cc +++ b/src/Marker.cc @@ -22,11 +22,7 @@ using namespace gz; using namespace rendering; ////////////////////////////////////////////////// -Marker::Marker() -{ -} +Marker::Marker() = default; ////////////////////////////////////////////////// -Marker::~Marker() -{ -} +Marker::~Marker() = default; diff --git a/src/Material.cc b/src/Material.cc new file mode 100644 index 000000000..da1aaa3f9 --- /dev/null +++ b/src/Material.cc @@ -0,0 +1,25 @@ +/* + * Copyright (C) 2022 Open Source Robotics Foundation + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + +#include "gz/rendering/Material.hh" + +namespace gz::rendering +{ + +Material::~Material() = default; + +} // namespace gz::rendering diff --git a/src/Mesh.cc b/src/Mesh.cc new file mode 100644 index 000000000..0f46de7c9 --- /dev/null +++ b/src/Mesh.cc @@ -0,0 +1,28 @@ +/* + * Copyright (C) 2022 Open Source Robotics Foundation + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + +#include "gz/rendering/Mesh.hh" + +namespace gz::rendering +{ + +Mesh::~Mesh() = default; + +SubMesh::~SubMesh() = default; + +} // namespace gz::rendering + diff --git a/src/MeshDescriptor.cc b/src/MeshDescriptor.cc index 00a8ed905..4d35f0615 100644 --- a/src/MeshDescriptor.cc +++ b/src/MeshDescriptor.cc @@ -25,9 +25,7 @@ using namespace gz; using namespace rendering; ////////////////////////////////////////////////// -MeshDescriptor::MeshDescriptor() -{ -} +MeshDescriptor::MeshDescriptor() = default; ////////////////////////////////////////////////// MeshDescriptor::MeshDescriptor(const std::string &_meshName) : diff --git a/src/Node.cc b/src/Node.cc new file mode 100644 index 000000000..8c3a82d99 --- /dev/null +++ b/src/Node.cc @@ -0,0 +1,25 @@ +/* + * Copyright (C) 2022 Open Source Robotics Foundation + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + +#include "gz/rendering/Node.hh" + +namespace gz::rendering +{ + +Node::~Node() = default; + +} // namespace gz::rendering diff --git a/src/Object.cc b/src/Object.cc new file mode 100644 index 000000000..59ce8f1ea --- /dev/null +++ b/src/Object.cc @@ -0,0 +1,25 @@ +/* + * Copyright (C) 2022 Open Source Robotics Foundation + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + +#include "gz/rendering/Object.hh" + +namespace gz::rendering +{ + +Object::~Object() = default; + +} // namespace gz::rendering diff --git a/src/OrbitViewController.cc b/src/OrbitViewController.cc index 1ed7f6b66..cbdd02257 100644 --- a/src/OrbitViewController.cc +++ b/src/OrbitViewController.cc @@ -60,9 +60,7 @@ OrbitViewController::OrbitViewController(const CameraPtr &_camera) } ////////////////////////////////////////////////// -OrbitViewController::~OrbitViewController() -{ -} +OrbitViewController::~OrbitViewController() = default; ////////////////////////////////////////////////// void OrbitViewController::SetCamera(const CameraPtr &_camera) diff --git a/src/OrthoViewController.cc b/src/OrthoViewController.cc index 025f4dc64..296059fe7 100644 --- a/src/OrthoViewController.cc +++ b/src/OrthoViewController.cc @@ -67,9 +67,7 @@ OrthoViewController::OrthoViewController(const CameraPtr &_camera) } ////////////////////////////////////////////////// -OrthoViewController::~OrthoViewController() -{ -} +OrthoViewController::~OrthoViewController() = default; ////////////////////////////////////////////////// void OrthoViewController::SetCamera(const CameraPtr &_camera) diff --git a/src/ParticleEmitter.cc b/src/ParticleEmitter.cc new file mode 100644 index 000000000..b6be39659 --- /dev/null +++ b/src/ParticleEmitter.cc @@ -0,0 +1,25 @@ +/* + * Copyright (C) 2022 Open Source Robotics Foundation + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + +#include "gz/rendering/ParticleEmitter.hh" + +namespace gz::rendering +{ + +ParticleEmitter::~ParticleEmitter() = default; + +} // namespace gz::rendering diff --git a/src/RayQuery.cc b/src/RayQuery.cc new file mode 100644 index 000000000..066b60e9c --- /dev/null +++ b/src/RayQuery.cc @@ -0,0 +1,25 @@ +/* + * Copyright (C) 2022 Open Source Robotics Foundation + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + +#include "gz/rendering/RayQuery.hh" + +namespace gz::rendering +{ + +RayQuery::~RayQuery() = default; + +} // namespace gz::rendering diff --git a/src/RenderEngine.cc b/src/RenderEngine.cc new file mode 100644 index 000000000..67e0ee680 --- /dev/null +++ b/src/RenderEngine.cc @@ -0,0 +1,25 @@ +/* + * Copyright (C) 2022 Open Source Robotics Foundation + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + +#include "gz/rendering/RenderEngine.hh" + +namespace gz::rendering +{ + +RenderEngine::~RenderEngine() = default; + +} // namespace gz::rendering diff --git a/src/RenderPass.cc b/src/RenderPass.cc new file mode 100644 index 000000000..ce38c85ae --- /dev/null +++ b/src/RenderPass.cc @@ -0,0 +1,25 @@ +/* + * Copyright (C) 2022 Open Source Robotics Foundation + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + +#include "gz/rendering/RenderPass.hh" + +namespace gz::rendering +{ + +RenderPass::~RenderPass() = default; + +} // namespace gz::rendering diff --git a/src/RenderPassSystem.cc b/src/RenderPassSystem.cc index 9f60a5dc1..2719d7593 100644 --- a/src/RenderPassSystem.cc +++ b/src/RenderPassSystem.cc @@ -38,9 +38,7 @@ RenderPassSystem::RenderPassSystem() : } ////////////////////////////////////////////////// -RenderPassSystem::~RenderPassSystem() -{ -} +RenderPassSystem::~RenderPassSystem() = default; ////////////////////////////////////////////////// RenderPassPtr RenderPassSystem::CreateImpl(const std::string &_type) diff --git a/src/RenderTarget.cc b/src/RenderTarget.cc new file mode 100644 index 000000000..da01d14db --- /dev/null +++ b/src/RenderTarget.cc @@ -0,0 +1,29 @@ +/* + * Copyright (C) 2022 Open Source Robotics Foundation + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + +#include "gz/rendering/RenderTarget.hh" + +namespace gz::rendering +{ + +RenderTarget::~RenderTarget() = default; + +RenderTexture::~RenderTexture() = default; + +RenderWindow::~RenderWindow() = default; + +} // namespace gz::rendering diff --git a/src/Scene.cc b/src/Scene.cc new file mode 100644 index 000000000..c45dd6d89 --- /dev/null +++ b/src/Scene.cc @@ -0,0 +1,25 @@ +/* + * Copyright (C) 2022 Open Source Robotics Foundation + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + +#include "gz/rendering/Scene.hh" + +namespace gz::rendering +{ + +Scene::~Scene() = default; + +} // namespace gz::rendering diff --git a/src/SegmentationCamera.cc b/src/SegmentationCamera.cc new file mode 100644 index 000000000..913e565de --- /dev/null +++ b/src/SegmentationCamera.cc @@ -0,0 +1,25 @@ +/* + * Copyright (C) 2022 Open Source Robotics Foundation + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + +#include "gz/rendering/SegmentationCamera.hh" + +namespace gz::rendering +{ + +SegmentationCamera::~SegmentationCamera() = default; + +} // namespace gz::rendering diff --git a/src/Sensor.cc b/src/Sensor.cc new file mode 100644 index 000000000..f6b92cc43 --- /dev/null +++ b/src/Sensor.cc @@ -0,0 +1,25 @@ +/* + * Copyright (C) 2022 Open Source Robotics Foundation + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + +#include "gz/rendering/Sensor.hh" + +namespace gz::rendering +{ + +Sensor::~Sensor() = default; + +} // namespace gz::rendering diff --git a/src/Text.cc b/src/Text.cc new file mode 100644 index 000000000..4ee952f2b --- /dev/null +++ b/src/Text.cc @@ -0,0 +1,25 @@ +/* + * Copyright (C) 2022 Open Source Robotics Foundation + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + +#include "gz/rendering/Text.hh" + +namespace gz::rendering +{ + +Text::~Text() = default; + +} // namespace gz::rendering diff --git a/src/ThermalCamera.cc b/src/ThermalCamera.cc new file mode 100644 index 000000000..aea331fa3 --- /dev/null +++ b/src/ThermalCamera.cc @@ -0,0 +1,25 @@ +/* + * Copyright (C) 2022 Open Source Robotics Foundation + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + +#include "gz/rendering/ThermalCamera.hh" + +namespace gz::rendering +{ + +ThermalCamera::~ThermalCamera() = default; + +} // namespace gz::rendering diff --git a/src/ViewController.cc b/src/ViewController.cc new file mode 100644 index 000000000..2651cf977 --- /dev/null +++ b/src/ViewController.cc @@ -0,0 +1,25 @@ +/* + * Copyright (C) 2022 Open Source Robotics Foundation + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + +#include "gz/rendering/ViewController.hh" + +namespace gz::rendering +{ + +ViewController::~ViewController() = default; + +} // namespace gz::rendering diff --git a/src/Visual.cc b/src/Visual.cc new file mode 100644 index 000000000..b03ec8fdb --- /dev/null +++ b/src/Visual.cc @@ -0,0 +1,25 @@ +/* + * Copyright (C) 2022 Open Source Robotics Foundation + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + +#include "gz/rendering/Visual.hh" + +namespace gz::rendering +{ + +Visual::~Visual() = default; + +} // namespace gz::rendering diff --git a/src/WideAngleCamera.cc b/src/WideAngleCamera.cc new file mode 100644 index 000000000..d86fc2026 --- /dev/null +++ b/src/WideAngleCamera.cc @@ -0,0 +1,25 @@ +/* + * Copyright (C) 2022 Open Source Robotics Foundation + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + +#include "gz/rendering/WideAngleCamera.hh" + +namespace gz::rendering +{ + +WideAngleCamera::~WideAngleCamera() = default; + +} // namespace gz::rendering