Zivid C++ API  2.4.2+1a2e8cfb-1
Defining the Future of 3D Machine Vision
Public Member Functions | List of all members
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 More...
 
ZIVID_VISUALIZATION_EXPORT void show ()
 Show the visualization window More...
 
ZIVID_VISUALIZATION_EXPORT void hide ()
 Hide the visualization window More...
 
ZIVID_VISUALIZATION_EXPORT int run ()
 Run the event loop. Should be called to allow interaction with the point cloud More...
 
ZIVID_VISUALIZATION_EXPORT void resize (int h, int w)
 Resize the window to specified height and width More...
 
ZIVID_VISUALIZATION_EXPORT void resetToFit ()
 Reset the camera so that the contents will fit in the window More...
 
ZIVID_VISUALIZATION_EXPORT void showFullScreen ()
 Show the window in full screen mode More...
 
ZIVID_VISUALIZATION_EXPORT void showMaximized ()
 Show the window in maximized mode More...
 
ZIVID_VISUALIZATION_EXPORT void setWindowTitle (std::string title)
 Set the window title More...
 
ZIVID_VISUALIZATION_EXPORT void show (const PointCloud &cloud)
 Show a point cloud More...
 
ZIVID_VISUALIZATION_EXPORT void show (const Frame &frame)
 Show a frame More...
 
ZIVID_VISUALIZATION_EXPORT void setColorsEnabled (bool enabled)
 Enable or disable coloring of the points with their accompanying RGB colors More...
 
ZIVID_VISUALIZATION_EXPORT bool colorsEnabled () const
 Whether coloring of the points with their accompanying RGB colors is enabled More...
 
ZIVID_VISUALIZATION_EXPORT void setMeshingEnabled (bool enabled)
 Enable or disable meshing More...
 
ZIVID_VISUALIZATION_EXPORT bool isMeshingEnabled () const
 Whether meshing is enabled More...
 

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: