Zivid C++ API 2.18.0+1b44dbef-1
Zivid::CameraExtrinsics::Rw::W Class Reference

Scalar part of the unit quaternion. More...

#include <Zivid/CameraExtrinsics.h>

Public Types

using ValueType = double
 The type of the underlying value.

Public Member Functions

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

Static Public Member Functions

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

Static Public Attributes

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

Friends

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

Detailed Description

Scalar part of the unit quaternion.

Member Typedef Documentation

◆ ValueType

The type of the underlying value.

Constructor & Destructor Documentation

◆ W() [1/2]

Zivid::CameraExtrinsics::Rw::W::W ( )
default

Default constructor.

◆ W() [2/2]

Zivid::CameraExtrinsics::Rw::W::W ( double value)
inlineexplicitconstexpr

Constructor.

Member Function Documentation

◆ operator!=()

bool Zivid::CameraExtrinsics::Rw::W::operator!= ( const W & other) const
inline

Comparison operator.

◆ operator<()

bool Zivid::CameraExtrinsics::Rw::W::operator< ( const W & other) const
inline

Comparison operator.

◆ operator<=()

bool Zivid::CameraExtrinsics::Rw::W::operator<= ( const W & other) const
inline

Comparison operator.

◆ operator==()

bool Zivid::CameraExtrinsics::Rw::W::operator== ( const W & other) const
inline

Comparison operator.

◆ operator>()

bool Zivid::CameraExtrinsics::Rw::W::operator> ( const W & other) const
inline

Comparison operator.

◆ operator>=()

bool Zivid::CameraExtrinsics::Rw::W::operator>= ( const W & other) const
inline

Comparison operator.

◆ toString()

std::string Zivid::CameraExtrinsics::Rw::W::toString ( ) const

Get the value as string.

◆ validRange()

constexpr Range< double > Zivid::CameraExtrinsics::Rw::W::validRange ( )
inlinestaticconstexpr

The range of valid values for W.

◆ value()

double Zivid::CameraExtrinsics::Rw::W::value ( ) const

Get the value.

◆ DataModel::Detail::Befriend< W >

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

◆ operator<<

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

Operator to serialize the value to a stream.

Member Data Documentation

◆ description

const char* Zivid::CameraExtrinsics::Rw::W::description
staticconstexpr
Initial value:
{
R"description(Scalar part of the unit quaternion)description"
}

The description for this value.

◆ name

const char* Zivid::CameraExtrinsics::Rw::W::name { "W" }
staticconstexpr

The name of this value.

◆ nodeType

DataModel::NodeType Zivid::CameraExtrinsics::Rw::W::nodeType = DataModel::NodeType::leafValue
staticconstexpr

The type of this node.

◆ path

const char* Zivid::CameraExtrinsics::Rw::W::path { "Rw/W" }
staticconstexpr

The full path for this value.


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