Open3D (C++ API)  0.18.0+252c867
Macros | Functions | Variables
RadiusSearchOps.cpp File Reference

(252c867 (Sun May 5 05:39:34 2024 +0000))

#include <vector>
#include "open3d/core/Dtype.h"
#include "open3d/core/nns/NeighborSearchCommon.h"
#include "open3d/ml/pytorch/TorchHelper.h"
#include "open3d/utility/Helper.h"
#include "torch/script.h"

Macros

#define FN_PARAMETERS
 

Functions

template<class T , class TIndex >
void RadiusSearchCPU (const torch::Tensor &points, const torch::Tensor &queries, const torch::Tensor &radii, const torch::Tensor &points_row_splits, const torch::Tensor &queries_row_splits, const Metric metric, const bool ignore_query_point, const bool return_distances, const bool normalize_distances, torch::Tensor &neighbors_index, torch::Tensor &neighbors_row_splits, torch::Tensor &neighbors_distance)
 
std::tuple< torch::Tensor, torch::Tensor, torch::Tensor > MultiRadiusSearch (torch::Tensor points, torch::Tensor queries, torch::Tensor radii, torch::Tensor points_row_splits, torch::Tensor queries_row_splits, torch::ScalarType index_dtype, const std::string &metric_str, const bool ignore_query_point, const bool return_distances, const bool normalize_distances)
 

Variables

const char * radius_fn_format
 

Macro Definition Documentation

◆ FN_PARAMETERS

#define FN_PARAMETERS
Value:
points, queries, radii, points_row_splits, queries_row_splits, metric, \
ignore_query_point, return_distances, normalize_distances, \
neighbors_index, neighbors_row_splits, neighbors_distance
int points
Definition: FilePCD.cpp:54

Function Documentation

◆ MultiRadiusSearch()

std::tuple<torch::Tensor, torch::Tensor, torch::Tensor> MultiRadiusSearch ( torch::Tensor  points,
torch::Tensor  queries,
torch::Tensor  radii,
torch::Tensor  points_row_splits,
torch::Tensor  queries_row_splits,
torch::ScalarType  index_dtype,
const std::string &  metric_str,
const bool  ignore_query_point,
const bool  return_distances,
const bool  normalize_distances 
)

◆ RadiusSearchCPU()

template<class T , class TIndex >
void RadiusSearchCPU ( const torch::Tensor &  points,
const torch::Tensor &  queries,
const torch::Tensor &  radii,
const torch::Tensor &  points_row_splits,
const torch::Tensor &  queries_row_splits,
const Metric  metric,
const bool  ignore_query_point,
const bool  return_distances,
const bool  normalize_distances,
torch::Tensor &  neighbors_index,
torch::Tensor &  neighbors_row_splits,
torch::Tensor &  neighbors_distance 
)

Variable Documentation

◆ radius_fn_format

const char* radius_fn_format
Initial value:
=
"open3d::radius_search(Tensor points, Tensor queries, Tensor radii, "
"Tensor points_row_splits, Tensor queries_row_splits, ScalarType "
"index_dtype=%d,"
"str metric=\"L2\", bool ignore_query_point=False, bool "
"return_distances=False, bool normalize_distances=False) -> (Tensor "
"neighbors_index, Tensor "
"neighbors_row_splits, Tensor neighbors_distance)"