![]() |
Zivid C++ API
1.8.1+6967bc1b-1
Defining the Future of 3D Machine Vision
|
Simple visualization component for point clouds (residing either on the Compute device or on the CPU) More...
#include <Zivid/CloudVisualizer.h>
Public Member Functions | |
| ZIVID_VIS3D_EXPORT | CloudVisualizer () |
| Constructor More... | |
| ZIVID_VIS3D_EXPORT void | show () |
| Show the visualization window More... | |
| ZIVID_VIS3D_EXPORT void | hide () |
| Hide the visualization window More... | |
| ZIVID_VIS3D_EXPORT int | run () |
| Run the event loop. Should be called to allow interaction with the point cloud More... | |
| ZIVID_VIS3D_EXPORT void | resize (int h, int w) |
| Resize the window to specified height and width More... | |
| ZIVID_VIS3D_EXPORT void | resetToFit () |
| Reset the camera so that the contents will fit in the window More... | |
| ZIVID_VIS3D_EXPORT void | showFullScreen () |
| Show the window in full screen mode More... | |
| ZIVID_VIS3D_EXPORT void | showMaximized () |
| Show the window in maximized mode More... | |
| ZIVID_VIS3D_EXPORT void | setWindowTitle (std::string title) |
| Set the window title More... | |
| ZIVID_VIS3D_EXPORT ComputeDevice | computeDevice () |
| Get the compute device associated with this view More... | |
| ZIVID_VIS3D_EXPORT void | show (const DeviceCloud &dCloud) |
| Show a device point cloud (residing on the Compute device) More... | |
| ZIVID_VIS3D_EXPORT void | show (const PointCloud &cloud) |
| Show a point cloud (residing on the CPU) More... | |
| ZIVID_VIS3D_EXPORT void | show (const Frame &frame) |
| Show a frame (either on the CPU or the Compute device) More... | |
| ZIVID_VIS3D_EXPORT void | enableColors (bool enable) |
| Enable or disable coloring of the points with their accompanying RGB colors More... | |
| ZIVID_VIS3D_EXPORT bool | colorsEnabled () const |
| Whether coloring of the points with their accompanying RGB colors is enabled More... | |
| ZIVID_VIS3D_EXPORT void | enableMeshing (bool enable) |
| Enable or disable meshing More... | |
| ZIVID_VIS3D_EXPORT bool | isMeshingEnabled () const |
| Whether meshing is enabled More... | |
Simple visualization component for point clouds (residing either on the Compute device or on the CPU)
| ZIVID_VIS3D_EXPORT Zivid::CloudVisualizer::CloudVisualizer | ( | ) |
Constructor
| ZIVID_VIS3D_EXPORT bool Zivid::CloudVisualizer::colorsEnabled | ( | ) | const |
Whether coloring of the points with their accompanying RGB colors is enabled
| ZIVID_VIS3D_EXPORT ComputeDevice Zivid::CloudVisualizer::computeDevice | ( | ) |
Get the compute device associated with this view
This should be fed into the Camera::setComputeDevice() function to set up the processing pipeline so that frames can be sent directly into the graphics pipeline on the compute device.
| ZIVID_VIS3D_EXPORT void Zivid::CloudVisualizer::enableColors | ( | bool | enable | ) |
Enable or disable coloring of the points with their accompanying RGB colors
| ZIVID_VIS3D_EXPORT void Zivid::CloudVisualizer::enableMeshing | ( | bool | enable | ) |
Enable or disable meshing
| ZIVID_VIS3D_EXPORT void Zivid::CloudVisualizer::hide | ( | ) |
Hide the visualization window
| ZIVID_VIS3D_EXPORT bool Zivid::CloudVisualizer::isMeshingEnabled | ( | ) | const |
Whether meshing is enabled
| ZIVID_VIS3D_EXPORT void Zivid::CloudVisualizer::resetToFit | ( | ) |
Reset the camera so that the contents will fit in the window
| ZIVID_VIS3D_EXPORT void Zivid::CloudVisualizer::resize | ( | int | h, |
| int | w | ||
| ) |
Resize the window to specified height and width
| ZIVID_VIS3D_EXPORT int Zivid::CloudVisualizer::run | ( | ) |
Run the event loop. Should be called to allow interaction with the point cloud
| ZIVID_VIS3D_EXPORT void Zivid::CloudVisualizer::setWindowTitle | ( | std::string | title | ) |
Set the window title
| ZIVID_VIS3D_EXPORT void Zivid::CloudVisualizer::show | ( | ) |
Show the visualization window
| ZIVID_VIS3D_EXPORT void Zivid::CloudVisualizer::show | ( | const DeviceCloud & | dCloud | ) |
Show a device point cloud (residing on the Compute device)
| ZIVID_VIS3D_EXPORT void Zivid::CloudVisualizer::show | ( | const Frame & | frame | ) |
Show a frame (either on the CPU or the Compute device)
| ZIVID_VIS3D_EXPORT void Zivid::CloudVisualizer::show | ( | const PointCloud & | cloud | ) |
Show a point cloud (residing on the CPU)
| ZIVID_VIS3D_EXPORT void Zivid::CloudVisualizer::showFullScreen | ( | ) |
Show the window in full screen mode
| ZIVID_VIS3D_EXPORT void Zivid::CloudVisualizer::showMaximized | ( | ) |
Show the window in maximized mode
1.8.16