Open3D (C++ API)  0.18.0
Transform.h
Go to the documentation of this file.
1 // ----------------------------------------------------------------------------
2 // - Open3D: www.open3d.org -
3 // ----------------------------------------------------------------------------
4 // Copyright (c) 2018-2023 www.open3d.org
5 // SPDX-License-Identifier: MIT
6 // ----------------------------------------------------------------------------
7 
8 #pragma once
9 
10 #include "open3d/core/Tensor.h"
11 
12 namespace open3d {
13 namespace t {
14 namespace geometry {
15 namespace kernel {
16 namespace transform {
17 
18 void TransformPoints(const core::Tensor& transformation, core::Tensor& points);
19 
20 void TransformNormals(const core::Tensor& transformation,
21  core::Tensor& normals);
22 
23 void RotatePoints(const core::Tensor& R,
24  core::Tensor& points,
25  const core::Tensor& center);
26 
27 void RotateNormals(const core::Tensor& R, core::Tensor& normals);
28 
29 void TransformPointsCPU(const core::Tensor& transformation,
30  core::Tensor& points);
31 
32 void TransformNormalsCPU(const core::Tensor& transformation,
33  core::Tensor& normals);
34 
35 void RotatePointsCPU(const core::Tensor& R,
36  core::Tensor& points,
37  const core::Tensor& center);
38 
39 void RotateNormalsCPU(const core::Tensor& R, core::Tensor& normals);
40 
41 #ifdef BUILD_CUDA_MODULE
42 void TransformPointsCUDA(const core::Tensor& transformation,
43  core::Tensor& points);
44 
45 void TransformNormalsCUDA(const core::Tensor& transformation,
46  core::Tensor& normals);
47 
48 void RotatePointsCUDA(const core::Tensor& R,
49  core::Tensor& points,
50  const core::Tensor& center);
51 
52 void RotateNormalsCUDA(const core::Tensor& R, core::Tensor& normals);
53 #endif
54 
55 } // namespace transform
56 } // namespace kernel
57 } // namespace geometry
58 } // namespace t
59 } // namespace open3d
int points
Definition: FilePCD.cpp:54
void RotatePointsCPU(const core::Tensor &R, core::Tensor &points, const core::Tensor &center)
Definition: TransformImpl.h:135
void TransformPoints(const core::Tensor &transformation, core::Tensor &points)
Definition: Transform.cpp:20
void TransformPointsCPU(const core::Tensor &transformation, core::Tensor &points)
Definition: TransformImpl.h:95
void RotatePoints(const core::Tensor &R, core::Tensor &points, const core::Tensor &center)
Definition: Transform.cpp:63
void RotateNormalsCPU(const core::Tensor &R, core::Tensor &normals)
Definition: TransformImpl.h:157
void RotateNormals(const core::Tensor &R, core::Tensor &normals)
Definition: Transform.cpp:88
void TransformNormalsCPU(const core::Tensor &transformation, core::Tensor &normals)
Definition: TransformImpl.h:115
void TransformNormals(const core::Tensor &transformation, core::Tensor &normals)
Definition: Transform.cpp:41
Definition: PinholeCameraIntrinsic.cpp:16