Open3D (C++ API)  0.17.0
Public Member Functions
open3d::t::pipelines::slam::Frame Class Reference

Frame is a container class storing an intrinsic matrix and several 2D tensors, from depth map, vertex map, to color map, in a customized way. More...

#include <Frame.h>

Public Member Functions

 Frame (int height, int width, const core::Tensor &intrinsics, const core::Device &device)
 
int GetHeight () const
 
int GetWidth () const
 
void SetIntrinsics (const core::Tensor &intrinsics)
 
core::Tensor GetIntrinsics () const
 
void SetData (const std::string &name, const core::Tensor &data)
 
core::Tensor GetData (const std::string &name) const
 
void SetDataFromImage (const std::string &name, const t::geometry::Image &data)
 
t::geometry::Image GetDataAsImage (const std::string &name) const
 

Detailed Description

Frame is a container class storing an intrinsic matrix and several 2D tensors, from depth map, vertex map, to color map, in a customized way.

Constructor & Destructor Documentation

◆ Frame()

open3d::t::pipelines::slam::Frame::Frame ( int  height,
int  width,
const core::Tensor intrinsics,
const core::Device device 
)
inline

Member Function Documentation

◆ GetData()

core::Tensor open3d::t::pipelines::slam::Frame::GetData ( const std::string &  name) const
inline

◆ GetDataAsImage()

t::geometry::Image open3d::t::pipelines::slam::Frame::GetDataAsImage ( const std::string &  name) const
inline

◆ GetHeight()

int open3d::t::pipelines::slam::Frame::GetHeight ( ) const
inline

◆ GetIntrinsics()

core::Tensor open3d::t::pipelines::slam::Frame::GetIntrinsics ( ) const
inline

◆ GetWidth()

int open3d::t::pipelines::slam::Frame::GetWidth ( ) const
inline

◆ SetData()

void open3d::t::pipelines::slam::Frame::SetData ( const std::string &  name,
const core::Tensor data 
)
inline

◆ SetDataFromImage()

void open3d::t::pipelines::slam::Frame::SetDataFromImage ( const std::string &  name,
const t::geometry::Image data 
)
inline

◆ SetIntrinsics()

void open3d::t::pipelines::slam::Frame::SetIntrinsics ( const core::Tensor intrinsics)
inline

The documentation for this class was generated from the following file: