Open3D (C++ API)  0.18.0+5c982c7
Public Member Functions
open3d::core::IsDevice Class Referenceabstract

#include <Device.h>

Inheritance diagram for open3d::core::IsDevice:
open3d::core::HashMap open3d::core::HashSet open3d::core::Tensor open3d::t::geometry::Geometry open3d::t::geometry::AxisAlignedBoundingBox open3d::t::geometry::Image open3d::t::geometry::LineSet open3d::t::geometry::OrientedBoundingBox open3d::t::geometry::PointCloud open3d::t::geometry::RGBDImage open3d::t::geometry::TriangleMesh

Public Member Functions

 IsDevice ()=default
 
virtual ~IsDevice ()=default
 
virtual core::Device GetDevice () const =0
 
bool IsCPU () const
 
bool IsCUDA () const
 

Detailed Description

Abstract class to provide IsXXX() functionality to check device location. Need to implement GetDevice().

Constructor & Destructor Documentation

◆ IsDevice()

open3d::core::IsDevice::IsDevice ( )
default

◆ ~IsDevice()

virtual open3d::core::IsDevice::~IsDevice ( )
virtualdefault

Member Function Documentation

◆ GetDevice()

virtual core::Device open3d::core::IsDevice::GetDevice ( ) const
pure virtual

◆ IsCPU()

bool open3d::core::IsDevice::IsCPU ( ) const
inline

◆ IsCUDA()

bool open3d::core::IsDevice::IsCUDA ( ) const
inline

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