Zivid C++ API  1.8.1+6967bc1b-1
Defining the Future of 3D Machine Vision
Public Member Functions | List of all members
Zivid::CloudVisualizer Class Reference

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...
 

Detailed Description

Simple visualization component for point clouds (residing either on the Compute device or on the CPU)

Constructor & Destructor Documentation

◆ CloudVisualizer()

ZIVID_VIS3D_EXPORT Zivid::CloudVisualizer::CloudVisualizer ( )

Constructor

Member Function Documentation

◆ colorsEnabled()

ZIVID_VIS3D_EXPORT bool Zivid::CloudVisualizer::colorsEnabled ( ) const

Whether coloring of the points with their accompanying RGB colors is enabled

◆ computeDevice()

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.

◆ enableColors()

ZIVID_VIS3D_EXPORT void Zivid::CloudVisualizer::enableColors ( bool  enable)

Enable or disable coloring of the points with their accompanying RGB colors

◆ enableMeshing()

ZIVID_VIS3D_EXPORT void Zivid::CloudVisualizer::enableMeshing ( bool  enable)

Enable or disable meshing

◆ hide()

ZIVID_VIS3D_EXPORT void Zivid::CloudVisualizer::hide ( )

Hide the visualization window

◆ isMeshingEnabled()

ZIVID_VIS3D_EXPORT bool Zivid::CloudVisualizer::isMeshingEnabled ( ) const

Whether meshing is enabled

◆ resetToFit()

ZIVID_VIS3D_EXPORT void Zivid::CloudVisualizer::resetToFit ( )

Reset the camera so that the contents will fit in the window

◆ resize()

ZIVID_VIS3D_EXPORT void Zivid::CloudVisualizer::resize ( int  h,
int  w 
)

Resize the window to specified height and width

◆ run()

ZIVID_VIS3D_EXPORT int Zivid::CloudVisualizer::run ( )

Run the event loop. Should be called to allow interaction with the point cloud

◆ setWindowTitle()

ZIVID_VIS3D_EXPORT void Zivid::CloudVisualizer::setWindowTitle ( std::string  title)

Set the window title

◆ show() [1/4]

ZIVID_VIS3D_EXPORT void Zivid::CloudVisualizer::show ( )

Show the visualization window

◆ show() [2/4]

ZIVID_VIS3D_EXPORT void Zivid::CloudVisualizer::show ( const DeviceCloud dCloud)

Show a device point cloud (residing on the Compute device)

◆ show() [3/4]

ZIVID_VIS3D_EXPORT void Zivid::CloudVisualizer::show ( const Frame frame)

Show a frame (either on the CPU or the Compute device)

◆ show() [4/4]

ZIVID_VIS3D_EXPORT void Zivid::CloudVisualizer::show ( const PointCloud cloud)

Show a point cloud (residing on the CPU)

◆ showFullScreen()

ZIVID_VIS3D_EXPORT void Zivid::CloudVisualizer::showFullScreen ( )

Show the window in full screen mode

◆ showMaximized()

ZIVID_VIS3D_EXPORT void Zivid::CloudVisualizer::showMaximized ( )

Show the window in maximized mode


The documentation for this class was generated from the following file: