![]() |
Zivid C++ API 2.8.1+dd4dffea-1
Defining the Future of 3D Machine Vision
|
A frame captured by a Zivid camera More...
#include <Zivid/Frame.h>
Public Member Functions | |
ZIVID_CORE_EXPORT | Frame () |
Construct a new frame More... | |
ZIVID_CORE_EXPORT | Frame (const std::string &fileName) |
Creates a frame by loading data from a file More... | |
ZIVID_CORE_EXPORT PointCloud | pointCloud () const |
Get the point cloud More... | |
ZIVID_CORE_EXPORT CameraState | state () const |
Get the camera state data at the time of the frame capture More... | |
ZIVID_CORE_EXPORT Settings | settings () const |
Get the settings used to capture this frame More... | |
ZIVID_CORE_EXPORT FrameInfo | info () const |
Get information collected at the time of the frame capture More... | |
ZIVID_CORE_EXPORT CameraInfo | cameraInfo () const |
Get information about the camera used to capture the frame More... | |
ZIVID_CORE_EXPORT void | save (const std::string &fileName) const |
Save the frame to file More... | |
ZIVID_CORE_EXPORT void | load (const std::string &fileName) |
Load a frame from a Zivid data file More... | |
ZIVID_CORE_EXPORT std::string | toString () const |
Get string representation of the frame More... | |
A frame captured by a Zivid camera
Contains the point cloud (stored on compute device memory) as well as calibration data, settings and state used by the API at time of the frame capture. Use pointCloud to access point cloud data.
ZIVID_CORE_EXPORT Zivid::Frame::Frame | ( | ) |
Construct a new frame
|
explicit |
Creates a frame by loading data from a file
ZIVID_CORE_EXPORT CameraInfo Zivid::Frame::cameraInfo | ( | ) | const |
Get information about the camera used to capture the frame
ZIVID_CORE_EXPORT FrameInfo Zivid::Frame::info | ( | ) | const |
Get information collected at the time of the frame capture
ZIVID_CORE_EXPORT void Zivid::Frame::load | ( | const std::string & | fileName | ) |
Load a frame from a Zivid data file
ZIVID_CORE_EXPORT PointCloud Zivid::Frame::pointCloud | ( | ) | const |
Get the point cloud
ZIVID_CORE_EXPORT void Zivid::Frame::save | ( | const std::string & | fileName | ) | const |
Save the frame to file
The file type is determined from the file extension. Supported extensions are .zdf, .ply (ordered), .xyz and .pcd.
ZIVID_CORE_EXPORT Settings Zivid::Frame::settings | ( | ) | const |
Get the settings used to capture this frame
ZIVID_CORE_EXPORT CameraState Zivid::Frame::state | ( | ) | const |
Get the camera state data at the time of the frame capture
ZIVID_CORE_EXPORT std::string Zivid::Frame::toString | ( | ) | const |
Get string representation of the frame