76 std::array<double, 3>
eye;
78 std::array<double, 3>
up;
#define ZIVID_PIMPL_MOVE_ONLY(ClassName, Attributes)
Definition Pimpl.h:110
#define ZIVID_VISUALIZATION_EXPORT
Definition VisualizationExport.h:56
A 2D frame captured by a Zivid camera.
Definition Frame2D.h:74
A frame captured by a Zivid camera.
Definition Frame.h:70
Point cloud with x, y, z, RGB color and SNR laid out on a 2D grid.
Definition PointCloud.h:87
Point cloud with x, y, z, RGB color and SNR laid out as a linear list of only valid points.
Definition UnorganizedPointCloud.h:75
ZIVID_VISUALIZATION_EXPORT void resize(int width, int height)
Resize the window to specified height and width.
static ZIVID_VISUALIZATION_EXPORT std::string toString()
String representation of the Visualizer.
ZIVID_VISUALIZATION_EXPORT bool colorsEnabled() const
Whether coloring of the points with their accompanying RGB colors is enabled.
ZIVID_VISUALIZATION_EXPORT void show()
Show the visualization window.
ZIVID_VISUALIZATION_EXPORT void setColorsEnabled(bool enabled)
Enable or disable coloring of the points with their accompanying RGB colors.
ZIVID_VISUALIZATION_EXPORT void setAxisIndicatorEnabled(bool enabled)
Enable or disable the axis indicator.
ZIVID_VISUALIZATION_EXPORT void setWindowTitle(std::string title)
Set the window title.
ZIVID_VISUALIZATION_EXPORT void show(const Frame &frame)
Show a frame.
ZIVID_VISUALIZATION_EXPORT void setMeshingEnabled(bool enabled)
Enable or disable meshing.
ZIVID_VISUALIZATION_EXPORT Visualizer()
Constructor.
ZIVID_VISUALIZATION_EXPORT void showMaximized()
Show the window in maximized mode.
ZIVID_VISUALIZATION_EXPORT void resetToFit()
Reset the view so that the point cloud will fit in the window.
ZIVID_VISUALIZATION_EXPORT void showFullScreen()
Show the window in full screen mode.
ZIVID_VISUALIZATION_EXPORT void setViewState(const ViewState &viewState)
Set the camera view from a state previously obtained via viewState().
ZIVID_VISUALIZATION_EXPORT void show(const UnorganizedPointCloud &cloud)
Show an unorganized point cloud.
ZIVID_VISUALIZATION_EXPORT bool isAxisIndicatorEnabled() const
Whether the axis indicator is enabled.
ZIVID_VISUALIZATION_EXPORT void show(const PointCloud &cloud)
Show a point cloud.
ZIVID_VISUALIZATION_EXPORT void hide()
Hide the visualization window.
ZIVID_VISUALIZATION_EXPORT ViewState viewState() const
The current camera view. Remains valid after the window has been closed, reflecting the last shown vi...
ZIVID_VISUALIZATION_EXPORT bool userAdjustedView() const
True if the user has moved the camera (drag/zoom) since the last setViewState() or resetToFit()....
ZIVID_VISUALIZATION_EXPORT void close()
Stop the event loop and close the window. The object goes back to idle state.
ZIVID_VISUALIZATION_EXPORT void show(const Frame2D &frame)
Show a 2D frame.
ZIVID_VISUALIZATION_EXPORT bool isMeshingEnabled() const
Whether meshing is enabled.
ZIVID_VISUALIZATION_EXPORT int run()
Run the event loop. Should be called to allow interaction with the point cloud.
Definition Visualizer.h:61
The main Zivid namespace. All Zivid code is found here.
Definition Application.h:85
@ frame
Definition FrameFileType.h:55
A camera view: the eye position, the look-at point and the up direction, each as {x,...
Definition Visualizer.h:75
std::array< double, 3 > lookAt
Definition Visualizer.h:77
std::array< double, 3 > up
Definition Visualizer.h:78
std::array< double, 3 > eye
Definition Visualizer.h:76