Zivid C++ API 2.18.0+1b44dbef-1
Zivid::CameraExtrinsics::Tw::Z Class Reference

Z component of the translation vector. More...

#include <Zivid/CameraExtrinsics.h>

Public Types

using ValueType = double
 The type of the underlying value.

Public Member Functions

 Z ()=default
 Default constructor.
constexpr Z (double value)
 Constructor.
double value () const
 Get the value.
std::string toString () const
 Get the value as string.
bool operator== (const Z &other) const
 Comparison operator.
bool operator!= (const Z &other) const
 Comparison operator.
bool operator< (const Z &other) const
 Comparison operator.
bool operator> (const Z &other) const
 Comparison operator.
bool operator<= (const Z &other) const
 Comparison operator.
bool operator>= (const Z &other) const
 Comparison operator.

Static Public Member Functions

static constexpr Range< double > validRange ()
 The range of valid values for Z.

Static Public Attributes

static constexpr DataModel::NodeType nodeType = DataModel::NodeType::leafValue
 The type of this node.
static constexpr const char * path { "Tw/Z" }
 The full path for this value.
static constexpr const char * name { "Z" }
 The name of this value.
static constexpr const char * description
 The description for this value.

Friends

struct DataModel::Detail::Befriend< Z >
std::ostream & operator<< (std::ostream &stream, const Z &value)
 Operator to serialize the value to a stream.

Detailed Description

Z component of the translation vector.

Member Typedef Documentation

◆ ValueType

The type of the underlying value.

Constructor & Destructor Documentation

◆ Z() [1/2]

Zivid::CameraExtrinsics::Tw::Z::Z ( )
default

Default constructor.

◆ Z() [2/2]

Zivid::CameraExtrinsics::Tw::Z::Z ( double value)
inlineexplicitconstexpr

Constructor.

Member Function Documentation

◆ operator!=()

bool Zivid::CameraExtrinsics::Tw::Z::operator!= ( const Z & other) const
inline

Comparison operator.

◆ operator<()

bool Zivid::CameraExtrinsics::Tw::Z::operator< ( const Z & other) const
inline

Comparison operator.

◆ operator<=()

bool Zivid::CameraExtrinsics::Tw::Z::operator<= ( const Z & other) const
inline

Comparison operator.

◆ operator==()

bool Zivid::CameraExtrinsics::Tw::Z::operator== ( const Z & other) const
inline

Comparison operator.

◆ operator>()

bool Zivid::CameraExtrinsics::Tw::Z::operator> ( const Z & other) const
inline

Comparison operator.

◆ operator>=()

bool Zivid::CameraExtrinsics::Tw::Z::operator>= ( const Z & other) const
inline

Comparison operator.

◆ toString()

std::string Zivid::CameraExtrinsics::Tw::Z::toString ( ) const

Get the value as string.

◆ validRange()

constexpr Range< double > Zivid::CameraExtrinsics::Tw::Z::validRange ( )
inlinestaticconstexpr

The range of valid values for Z.

◆ value()

double Zivid::CameraExtrinsics::Tw::Z::value ( ) const

Get the value.

◆ DataModel::Detail::Befriend< Z >

friend struct DataModel::Detail::Befriend< Z >
friend

◆ operator<<

std::ostream & operator<< ( std::ostream & stream,
const Z & value )
friend

Operator to serialize the value to a stream.

Member Data Documentation

◆ description

const char* Zivid::CameraExtrinsics::Tw::Z::description
staticconstexpr
Initial value:
{
R"description(Z component of the translation vector)description"
}

The description for this value.

◆ name

const char* Zivid::CameraExtrinsics::Tw::Z::name { "Z" }
staticconstexpr

The name of this value.

◆ nodeType

DataModel::NodeType Zivid::CameraExtrinsics::Tw::Z::nodeType = DataModel::NodeType::leafValue
staticconstexpr

The type of this node.

◆ path

const char* Zivid::CameraExtrinsics::Tw::Z::path { "Tw/Z" }
staticconstexpr

The full path for this value.


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