Skip to content

Commit 287dd21

Browse files
committed
Fixed merge
Signed-off-by: Alejandro Hernandez Cordero <ahcorde@gmail.com>
1 parent 019ac89 commit 287dd21

File tree

2 files changed

+0
-74
lines changed

2 files changed

+0
-74
lines changed

include/gz/rendering/Scene.hh

Lines changed: 0 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1107,40 +1107,7 @@ namespace gz
11071107
public: virtual LidarVisualPtr CreateLidarVisual(
11081108
unsigned int _id, const std::string &_name) = 0;
11091109

1110-
<<<<<<< HEAD
11111110
/// \brief Create new heightmap geomerty. The rendering::Heightmap will be
1112-
=======
1113-
/// \brief Create new frusum visual. A unique ID and name will
1114-
/// automatically be assigned to the frustum visual.
1115-
/// \return The created frustum visual
1116-
public: virtual FrustumVisualPtr CreateFrustumVisual() = 0;
1117-
1118-
/// \brief Create new frustum visual with the given ID. A unique name
1119-
/// will automatically be assigned to the frustum visual. If the given
1120-
/// ID is already in use, NULL will be returned.
1121-
/// \param[in] _id ID of the new frustum visual
1122-
/// \return The created frustum visual
1123-
public: virtual FrustumVisualPtr CreateFrustumVisual(
1124-
unsigned int _id) = 0;
1125-
1126-
/// \brief Create new frustum visual with the given name. A unique ID
1127-
/// will automatically be assigned to the frustum visual. If the given
1128-
/// name is already in use, NULL will be returned.
1129-
/// \param[in] _name Name of the new frustum visual
1130-
/// \return The created frustum visual
1131-
public: virtual FrustumVisualPtr CreateFrustumVisual(
1132-
const std::string &_name) = 0;
1133-
1134-
/// \brief Create new frustum visual with the given name. If either
1135-
/// the given ID or name is already in use, NULL will be returned.
1136-
/// \param[in] _id ID of the frustum visual.
1137-
/// \param[in] _name Name of the new frustum visual.
1138-
/// \return The created frustum visual
1139-
public: virtual FrustumVisualPtr CreateFrustumVisual(
1140-
unsigned int _id, const std::string &_name) = 0;
1141-
1142-
/// \brief Create new heightmap geometry. The rendering::Heightmap will be
1143-
>>>>>>> 7ac8abc9 (Code cleanup (#1217))
11441111
/// created from the given HeightmapDescriptor.
11451112
/// \param[in] _desc Data about the heightmap
11461113
/// \return The created heightmap

test/integration/wide_angle_camera.cc

Lines changed: 0 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -72,47 +72,6 @@ void OnNewWideAngleFrame(const unsigned char *_data,
7272
}
7373

7474
//////////////////////////////////////////////////
75-
<<<<<<< HEAD
76-
=======
77-
/// \brief callback to get the wide angle camera image data
78-
void OnNewWideAngleFrameMono(const unsigned char *_data,
79-
unsigned int _width, unsigned int _height,
80-
unsigned int _channels,
81-
const std::string &_format)
82-
{
83-
EXPECT_EQ(20u, _width);
84-
EXPECT_EQ(20u, _height);
85-
EXPECT_EQ(1u, _channels);
86-
87-
std::lock_guard<std::mutex> lock(g_mutex);
88-
89-
unsigned int bytesPerChannel = 0u;
90-
unsigned int bufferSize = 0u;
91-
if (_format == "L8")
92-
{
93-
bytesPerChannel = 1u;
94-
bufferSize = _width * _height * _channels * bytesPerChannel;
95-
if (!g_bufferL8)
96-
g_bufferL8 = new unsigned char[bufferSize];
97-
memcpy(g_bufferL8, _data, bufferSize);
98-
}
99-
else if (_format == "L16")
100-
{
101-
bytesPerChannel = 2u;
102-
bufferSize = _width * _height * _channels * bytesPerChannel;
103-
if (!g_bufferL16)
104-
g_bufferL16 = new unsigned char[bufferSize];
105-
memcpy(g_bufferL16, _data, bufferSize);
106-
}
107-
108-
ASSERT_NE(0u, bytesPerChannel);
109-
ASSERT_NE(0u, bufferSize);
110-
111-
g_counter++;
112-
}
113-
114-
//////////////////////////////////////////////////
115-
>>>>>>> 7ac8abc9 (Code cleanup (#1217))
11675
TEST_F(WideAngleCameraTest, GZ_UTILS_TEST_DISABLED_ON_WIN32(WideAngleCamera))
11776
{
11877
CHECK_UNSUPPORTED_ENGINE("optix");

0 commit comments

Comments
 (0)