Open3D (C++ API)  0.12.0
Public Member Functions
open3d::ml::op_util::Dim Class Reference

Class for dimensions for which the value should be inferred. More...

#include <ShapeChecking.h>

Public Member Functions

 Dim ()
 
 Dim (const std::string &name)
 
 Dim (int64_t value, const std::string &name="")
 
 Dim (const Dim &other)
 
 ~Dim ()
 
Dimoperator= (const Dim &)=delete
 
int64_t & value ()
 
bool & constant ()
 
bool assign (int64_t a)
 
std::string ToString (bool show_value=true)
 

Detailed Description

Class for dimensions for which the value should be inferred.

Constructor & Destructor Documentation

◆ Dim() [1/4]

open3d::ml::op_util::Dim::Dim ( )
inlineexplicit

◆ Dim() [2/4]

open3d::ml::op_util::Dim::Dim ( const std::string &  name)
inlineexplicit

◆ Dim() [3/4]

open3d::ml::op_util::Dim::Dim ( int64_t  value,
const std::string &  name = "" 
)
inline

◆ Dim() [4/4]

open3d::ml::op_util::Dim::Dim ( const Dim other)
inline

◆ ~Dim()

open3d::ml::op_util::Dim::~Dim ( )
inline

Member Function Documentation

◆ assign()

bool open3d::ml::op_util::Dim::assign ( int64_t  a)
inline

tries to assign a value to the Dim if not marked as constant and compares the Dim value with the value to be assigned.

◆ constant()

bool& open3d::ml::op_util::Dim::constant ( )
inline

◆ operator=()

Dim& open3d::ml::op_util::Dim::operator= ( const Dim )
delete

◆ ToString()

std::string open3d::ml::op_util::Dim::ToString ( bool  show_value = true)
inline

◆ value()

int64_t& open3d::ml::op_util::Dim::value ( )
inline

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