Zivid C++ API 2.12.0+6afd4961-1
Public Types | Public Member Functions | Static Public Attributes | Friends | List of all members
Zivid::Settings::RegionOfInterest::Box::PointA Class Reference

A point such that the vector from PointO to PointA describes the first edge of the parallelogram. More...

#include <Zivid/Settings.h>

Public Types

using ValueType = Zivid::PointXYZ
 The type of the underlying value.
 

Public Member Functions

 PointA ()=default
 Default constructor.
 
constexpr PointA (Zivid::PointXYZ value)
 Constructor.
 
Zivid::PointXYZ value () const
 Get the value.
 
bool hasValue () const
 Check if the value is set.
 
void reset ()
 Reset the node to unset state.
 
std::string toString () const
 Get the value as string.
 
constexpr PointA (float x, float y, float z)
 Constructor.
 
bool operator== (const PointA &other) const
 Comparison operator.
 
bool operator!= (const PointA &other) const
 Comparison operator.
 

Static Public Attributes

static constexpr DataModel::NodeType nodeType = DataModel::NodeType::leafValue
 The type of this node.
 
static constexpr const charpath { "RegionOfInterest/Box/PointA" }
 The full path for this value.
 
static constexpr const charname { "PointA" }
 The name of this value.
 
static constexpr const chardescription
 The description for this value.
 

Friends

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

Detailed Description

A point such that the vector from PointO to PointA describes the first edge of the parallelogram.

Member Typedef Documentation

◆ ValueType

The type of the underlying value.

Constructor & Destructor Documentation

◆ PointA() [1/3]

Zivid::Settings::RegionOfInterest::Box::PointA::PointA ( )
default

Default constructor.

◆ PointA() [2/3]

constexpr Zivid::Settings::RegionOfInterest::Box::PointA::PointA ( Zivid::PointXYZ value)
inlineexplicitconstexpr

Constructor.

◆ PointA() [3/3]

constexpr Zivid::Settings::RegionOfInterest::Box::PointA::PointA ( float x,
float y,
float z )
inlineexplicitconstexpr

Constructor.

Member Function Documentation

◆ hasValue()

bool Zivid::Settings::RegionOfInterest::Box::PointA::hasValue ( ) const

Check if the value is set.

◆ operator!=()

bool Zivid::Settings::RegionOfInterest::Box::PointA::operator!= ( const PointA & other) const
inline

Comparison operator.

◆ operator==()

bool Zivid::Settings::RegionOfInterest::Box::PointA::operator== ( const PointA & other) const
inline

Comparison operator.

◆ reset()

void Zivid::Settings::RegionOfInterest::Box::PointA::reset ( )

Reset the node to unset state.

◆ toString()

std::string Zivid::Settings::RegionOfInterest::Box::PointA::toString ( ) const

Get the value as string.

◆ value()

Zivid::PointXYZ Zivid::Settings::RegionOfInterest::Box::PointA::value ( ) const

Get the value.

If this object does not contain a value (see hasValue) then this method throws an exception.

Friends And Related Symbol Documentation

◆ DataModel::Detail::Befriend< PointA >

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

◆ operator<<

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

Operator to serialize the value to a stream.

Member Data Documentation

◆ description

constexpr const char* Zivid::Settings::RegionOfInterest::Box::PointA::description
staticconstexpr
Initial value:
{
R"description(A point such that the vector from PointO to PointA describes the first edge of the parallelogram.)description"
}

The description for this value.

◆ name

constexpr const char* Zivid::Settings::RegionOfInterest::Box::PointA::name { "PointA" }
staticconstexpr

The name of this value.

◆ nodeType

constexpr DataModel::NodeType Zivid::Settings::RegionOfInterest::Box::PointA::nodeType = DataModel::NodeType::leafValue
staticconstexpr

The type of this node.

◆ path

constexpr const char* Zivid::Settings::RegionOfInterest::Box::PointA::path { "RegionOfInterest/Box/PointA" }
staticconstexpr

The full path for this value.


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