Zivid C++ API 2.13.1+18e79e79-1
|
Simple visualizer component for point clouds. More...
#include <Zivid/Visualization/Visualizer.h>
Public Member Functions | |
ZIVID_VISUALIZATION_EXPORT | Visualizer () |
Constructor. | |
ZIVID_VISUALIZATION_EXPORT void | show () |
Show the visualization window. | |
ZIVID_VISUALIZATION_EXPORT void | hide () |
Hide the visualization window. | |
ZIVID_VISUALIZATION_EXPORT int | run () |
Run the event loop. Should be called to allow interaction with the point cloud. | |
ZIVID_VISUALIZATION_EXPORT void | resize (int h, int w) |
Resize the window to specified height and width. | |
ZIVID_VISUALIZATION_EXPORT void | resetToFit () |
Reset the camera so that the contents will fit in the window. | |
ZIVID_VISUALIZATION_EXPORT void | showFullScreen () |
Show the window in full screen mode. | |
ZIVID_VISUALIZATION_EXPORT void | showMaximized () |
Show the window in maximized mode. | |
ZIVID_VISUALIZATION_EXPORT void | setWindowTitle (std::string title) |
Set the window title. | |
ZIVID_VISUALIZATION_EXPORT void | show (const PointCloud &cloud) |
Show a point cloud. | |
ZIVID_VISUALIZATION_EXPORT void | show (const Frame &frame) |
Show a frame. | |
ZIVID_VISUALIZATION_EXPORT void | setColorsEnabled (bool enabled) |
Enable or disable coloring of the points with their accompanying RGB colors. | |
ZIVID_VISUALIZATION_EXPORT bool | colorsEnabled () const |
Whether coloring of the points with their accompanying RGB colors is enabled. | |
ZIVID_VISUALIZATION_EXPORT void | setMeshingEnabled (bool enabled) |
Enable or disable meshing. | |
ZIVID_VISUALIZATION_EXPORT bool | isMeshingEnabled () const |
Whether meshing is enabled. | |
Simple visualizer component for point clouds.
ZIVID_VISUALIZATION_EXPORT Zivid::Visualization::Visualizer::Visualizer | ( | ) |
Constructor.
ZIVID_VISUALIZATION_EXPORT bool Zivid::Visualization::Visualizer::colorsEnabled | ( | ) | const |
Whether coloring of the points with their accompanying RGB colors is enabled.
ZIVID_VISUALIZATION_EXPORT void Zivid::Visualization::Visualizer::hide | ( | ) |
Hide the visualization window.
ZIVID_VISUALIZATION_EXPORT bool Zivid::Visualization::Visualizer::isMeshingEnabled | ( | ) | const |
Whether meshing is enabled.
ZIVID_VISUALIZATION_EXPORT void Zivid::Visualization::Visualizer::resetToFit | ( | ) |
Reset the camera so that the contents will fit in the window.
ZIVID_VISUALIZATION_EXPORT void Zivid::Visualization::Visualizer::resize | ( | int | h, |
int | w ) |
Resize the window to specified height and width.
ZIVID_VISUALIZATION_EXPORT int Zivid::Visualization::Visualizer::run | ( | ) |
Run the event loop. Should be called to allow interaction with the point cloud.
ZIVID_VISUALIZATION_EXPORT void Zivid::Visualization::Visualizer::setColorsEnabled | ( | bool | enabled | ) |
Enable or disable coloring of the points with their accompanying RGB colors.
ZIVID_VISUALIZATION_EXPORT void Zivid::Visualization::Visualizer::setMeshingEnabled | ( | bool | enabled | ) |
Enable or disable meshing.
ZIVID_VISUALIZATION_EXPORT void Zivid::Visualization::Visualizer::setWindowTitle | ( | std::string | title | ) |
Set the window title.
ZIVID_VISUALIZATION_EXPORT void Zivid::Visualization::Visualizer::show | ( | ) |
Show the visualization window.
ZIVID_VISUALIZATION_EXPORT void Zivid::Visualization::Visualizer::show | ( | const Frame & | frame | ) |
Show a frame.
ZIVID_VISUALIZATION_EXPORT void Zivid::Visualization::Visualizer::show | ( | const PointCloud & | cloud | ) |
Show a point cloud.
ZIVID_VISUALIZATION_EXPORT void Zivid::Visualization::Visualizer::showFullScreen | ( | ) |
Show the window in full screen mode.
ZIVID_VISUALIZATION_EXPORT void Zivid::Visualization::Visualizer::showMaximized | ( | ) |
Show the window in maximized mode.