Zivid C++ API 2.13.1+18e79e79-1
Zivid::Visualization::Visualizer Class Reference

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.
 

Detailed Description

Simple visualizer component for point clouds.

Constructor & Destructor Documentation

◆ Visualizer()

ZIVID_VISUALIZATION_EXPORT Zivid::Visualization::Visualizer::Visualizer ( )

Constructor.

Member Function Documentation

◆ colorsEnabled()

ZIVID_VISUALIZATION_EXPORT bool Zivid::Visualization::Visualizer::colorsEnabled ( ) const

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

◆ hide()

ZIVID_VISUALIZATION_EXPORT void Zivid::Visualization::Visualizer::hide ( )

Hide the visualization window.

◆ isMeshingEnabled()

ZIVID_VISUALIZATION_EXPORT bool Zivid::Visualization::Visualizer::isMeshingEnabled ( ) const

Whether meshing is enabled.

◆ resetToFit()

ZIVID_VISUALIZATION_EXPORT void Zivid::Visualization::Visualizer::resetToFit ( )

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

◆ resize()

ZIVID_VISUALIZATION_EXPORT void Zivid::Visualization::Visualizer::resize ( int h,
int w )

Resize the window to specified height and width.

◆ run()

ZIVID_VISUALIZATION_EXPORT int Zivid::Visualization::Visualizer::run ( )

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

◆ setColorsEnabled()

ZIVID_VISUALIZATION_EXPORT void Zivid::Visualization::Visualizer::setColorsEnabled ( bool enabled)

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

◆ setMeshingEnabled()

ZIVID_VISUALIZATION_EXPORT void Zivid::Visualization::Visualizer::setMeshingEnabled ( bool enabled)

Enable or disable meshing.

◆ setWindowTitle()

ZIVID_VISUALIZATION_EXPORT void Zivid::Visualization::Visualizer::setWindowTitle ( std::string title)

Set the window title.

◆ show() [1/3]

ZIVID_VISUALIZATION_EXPORT void Zivid::Visualization::Visualizer::show ( )

Show the visualization window.

◆ show() [2/3]

ZIVID_VISUALIZATION_EXPORT void Zivid::Visualization::Visualizer::show ( const Frame & frame)

Show a frame.

◆ show() [3/3]

ZIVID_VISUALIZATION_EXPORT void Zivid::Visualization::Visualizer::show ( const PointCloud & cloud)

Show a point cloud.

◆ showFullScreen()

ZIVID_VISUALIZATION_EXPORT void Zivid::Visualization::Visualizer::showFullScreen ( )

Show the window in full screen mode.

◆ showMaximized()

ZIVID_VISUALIZATION_EXPORT void Zivid::Visualization::Visualizer::showMaximized ( )

Show the window in maximized mode.


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