sse-pointcloud.h
Go to the documentation of this file.
1 // License: Apache 2.0. See LICENSE file in root directory.
2 // Copyright(c) 2017 Intel Corporation. All Rights Reserved.
3 
4 #pragma once
5 #include "../pointcloud.h"
6 
7 namespace librealsense
8 {
9  class pointcloud_sse : public pointcloud
10  {
11  public:
13 
14  void get_texture_map_sse(float2 * texture_map,
15  const float3 * points,
16  const unsigned int width,
17  const unsigned int height,
18  const rs2_intrinsics & other_intrinsics,
19  const rs2_extrinsics & extr,
20  float2 * pixels_ptr);
21 
22  private:
23  void preprocess() override;
24  const float3 * depth_to_points(
25  rs2::points output,
28  float depth_scale) override;
29  void get_texture_map(
30  rs2::points output,
31  const float3* points,
32  const unsigned int width,
33  const unsigned int height,
34  const rs2_intrinsics &other_intrinsics,
35  const rs2_extrinsics& extr,
36  float2* pixels_ptr) override;
37 
38  std::vector<float> _pre_compute_map_x;
39  std::vector<float> _pre_compute_map_y;
40 
41  void pre_compute_x_y_map();
42  };
43 }
std::vector< float > _pre_compute_map_y
GLint GLsizei GLsizei height
std::vector< float > _pre_compute_map_x
void get_texture_map_sse(float2 *texture_map, const float3 *points, const unsigned int width, const unsigned int height, const rs2_intrinsics &other_intrinsics, const rs2_extrinsics &extr, float2 *pixels_ptr)
Cross-stream extrinsics: encodes the topology describing how the different devices are oriented...
Definition: rs_sensor.h:96
const float3 * depth_to_points(rs2::points output, const rs2_intrinsics &depth_intrinsics, const rs2::depth_frame &depth_frame, float depth_scale) override
rs2_extrinsics extr
Definition: test-pose.cpp:258
Video stream intrinsics.
Definition: rs_types.h:58
void get_texture_map(rs2::points output, const float3 *points, const unsigned int width, const unsigned int height, const rs2_intrinsics &other_intrinsics, const rs2_extrinsics &extr, float2 *pixels_ptr) override
GLint GLsizei width


librealsense2
Author(s): Sergey Dorodnicov , Doron Hirshberg , Mark Horn , Reagan Lopez , Itay Carpis
autogenerated on Mon May 3 2021 02:50:10