Zivid
1.0.1+3607.8a7510c4
Zivid API
|
An instance of the point cloud visualizer. More...
#include <CloudVisualizer.h>
Public Member Functions | |
ZIVID_VIS3D | CloudVisualizer () |
Constructor. | |
ZIVID_VIS3D | ~CloudVisualizer () |
Destructor. | |
ZIVID_VIS3D | CloudVisualizer (const CloudVisualizer &)=delete |
ZIVID_VIS3D | CloudVisualizer (CloudVisualizer &&)=delete |
ZIVID_VIS3D CloudVisualizer & | operator= (const CloudVisualizer &)=delete |
ZIVID_VIS3D CloudVisualizer & | operator= (CloudVisualizer &&)=delete |
ZIVID_VIS3D void | show () |
Show the visualization window. | |
ZIVID_VIS3D void | hide () |
Hide the visualization window. | |
ZIVID_VIS3D int | run () |
Run the event loop. More... | |
ZIVID_VIS3D void | resize (int h, int w) |
Resize the window to specified height and width. | |
ZIVID_VIS3D void | resetToFit () |
Reset the camera so that the contents will fit in the window. | |
ZIVID_VIS3D void | showFullScreen () |
Show the window in full screen mode. | |
ZIVID_VIS3D void | showMaximized () |
Show the window in maximized mode. | |
ZIVID_VIS3D void | setWindowTitle (std::string title) |
Set the window title. | |
ZIVID_VIS3D ComputeDevice | computeDevice () |
Get the compute device associated with this view. More... | |
ZIVID_VIS3D void | show (const DeviceCloud &dCloud) |
Show a device point cloud (residing on the Compute device) | |
ZIVID_VIS3D void | show (const PointCloud &cloud) |
Show a point cloud (residing on the CPU) | |
ZIVID_VIS3D void | show (const Frame &frame) |
Show a frame (either on the CPU or the Compute device) | |
ZIVID_VIS3D void | enableColors (bool enable) |
Enable or disable coloring of the points with their accompanying RGB colors. | |
ZIVID_VIS3D bool | colorsEnabled () const |
Whether coloring of the points with their accompanying RGB colors is enabled. | |
ZIVID_VIS3D void | enableMeshing (bool enable) |
Enable or disable meshing. | |
ZIVID_VIS3D bool | isMeshingEnabled () const |
Whether meshing is enabled. | |
An instance of the point cloud visualizer.
ZIVID_VIS3D 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 int Zivid::CloudVisualizer::run | ( | ) |
Run the event loop.
Should be called to allow interaction with the point cloud