 |
Zivid C++ API
1.8.1+6967bc1b-1
Defining the Future of 3D Machine Vision
|
Go to the documentation of this file.
76 return "[" + std::to_string(
x) +
", " + std::to_string(
y) +
"]";
88 std::ostream &
operator<<(std::ostream &stream,
const Vector2<T> &vector2)
90 return stream << vector2.toString();
118 Vector3(T xCoord, T yCoord, T zCoord)
128 return "[" + std::to_string(
x) +
", " + std::to_string(
y) +
", " + std::to_string(
z) +
"]";
145 return stream << vector3.toString();
T z
The z element of the vector
Definition: Vector.h:177
T ValueType
The type stored in the vector
Definition: Vector.h:151
T y
The y element of the vector
Definition: Vector.h:162
std::string toString() const
Get string representation of the Vector3
Definition: Vector.h:165
std::string toString() const
Get string representation of the Vector2
Definition: Vector.h:153
T x
The x element of the vector
Definition: Vector.h:159
T x
The x element of the vector
Definition: Vector.h:171
Vector2()=default
Constructor
T y
The y element of the vector
Definition: Vector.h:174
T ValueType
The type stored in the vector
Definition: Vector.h:140
The main Zivid namespace. All Zivid code is found here
Definition: Application.h:52
Vector2< double > Vector2d
Vector of size 2 containing doubles
Definition: Vector.h:140
Vector of size 3
Definition: Vector.h:146
Vector2< float > Vector2f
Vector of size 2 containing floats
Definition: Vector.h:135
ZIVID_API_EXPORT std::ostream & operator<<(std::ostream &stream, const Camera &camera)
Serialize the value to a stream
Vector3()=default
Constructor