Open3D (C++ API)  0.18.0+5c982c7
Public Types | Public Member Functions
open3d::core::Tensor::Iterator Struct Reference

Iterator for Tensor. More...

#include <Tensor.h>

Public Types

using iterator_category = std::forward_iterator_tag
 
using difference_type = std::ptrdiff_t
 
using value_type = Tensor
 
using pointer = value_type *
 
using reference = value_type
 

Public Member Functions

 Iterator (pointer tensor, int64_t index)
 
 Iterator (const Iterator &)
 
 ~Iterator ()
 
reference operator* () const
 
pointer operator-> () const
 
Iteratoroperator++ ()
 
Iterator operator++ (int)
 
bool operator== (const Iterator &other) const
 
bool operator!= (const Iterator &other) const
 

Detailed Description

Iterator for Tensor.

Member Typedef Documentation

◆ difference_type

◆ iterator_category

using open3d::core::Tensor::Iterator::iterator_category = std::forward_iterator_tag

◆ pointer

◆ reference

◆ value_type

Constructor & Destructor Documentation

◆ Iterator() [1/2]

open3d::core::Tensor::Iterator::Iterator ( pointer  tensor,
int64_t  index 
)

◆ Iterator() [2/2]

open3d::core::Tensor::Iterator::Iterator ( const Iterator other)

◆ ~Iterator()

open3d::core::Tensor::Iterator::~Iterator ( )

Member Function Documentation

◆ operator!=()

bool open3d::core::Tensor::Iterator::operator!= ( const Iterator other) const

◆ operator*()

Tensor::Iterator::reference open3d::core::Tensor::Iterator::operator* ( ) const

◆ operator++() [1/2]

Tensor::Iterator & open3d::core::Tensor::Iterator::operator++ ( )

◆ operator++() [2/2]

Tensor::Iterator open3d::core::Tensor::Iterator::operator++ ( int  )

◆ operator->()

Tensor::Iterator::pointer open3d::core::Tensor::Iterator::operator-> ( ) const

◆ operator==()

bool open3d::core::Tensor::Iterator::operator== ( const Iterator other) const

The documentation for this struct was generated from the following files: