Ignition Rendering

API Reference

6.0.1
BoundingBox.hh
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2021 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 IGNITION_RENDERING_BOUNDINGBOX_HH_
18 #define IGNITION_RENDERING_BOUNDINGBOX_HH_
19 
20 #include <memory>
21 
23 
24 #include "ignition/rendering/config.hh"
25 #include "ignition/rendering/Export.hh"
26 
27 namespace ignition
28 {
29 namespace rendering
30 {
31 inline namespace IGNITION_RENDERING_VERSION_NAMESPACE {
32  class BoundingBoxPrivate;
33 
36  class IGNITION_RENDERING_VISIBLE BoundingBox
37  {
39  public: BoundingBox();
40 
43  public: BoundingBox(const BoundingBox &_box);
44 
47  public: BoundingBox(BoundingBox &&_box) noexcept;
48 
50  public: virtual ~BoundingBox();
51 
55  public: BoundingBox &operator=(BoundingBox &&_box);
56 
60  public: BoundingBox &operator=(const BoundingBox &_box);
61 
65  private: std::unique_ptr<BoundingBoxPrivate> dataPtr;
67  };
68 }
69 }
70 }
71 #endif
2D or 3D Bounding box. It stores the position / orientation / size info of the box and its label ...
Definition: BoundingBox.hh:36
#define IGN_COMMON_WARN_RESUME__DLL_INTERFACE_MISSING
#define IGN_COMMON_WARN_IGNORE__DLL_INTERFACE_MISSING