![]() |
Visual Servoing Platform version 3.7.0
|
#include <ClassUsingDisplayPCL.h>
Public Types | |
| using | PointType = pcl::PointXYZ |
Public Member Functions | |
| ClassUsingDisplayPCL (std::pair< double, double > xlimits={ -2.5, 2.5 }, std::pair< double, double > ylimits={ -2.5, 2.5 }, std::pair< unsigned int, unsigned int > nbPoints={ 50, 50 }) | |
| ~ClassUsingDisplayPCL () | |
| void | runDemo (const double &addedNoise, const unsigned int &order, const bool &useMonothread) |
Definition at line 12 of file ClassUsingDisplayPCL.h.
| using ClassUsingDisplayPCL::PointType = pcl::PointXYZ |
Definition at line 15 of file ClassUsingDisplayPCL.h.
| ClassUsingDisplayPCL::ClassUsingDisplayPCL | ( | std::pair< double, double > | xlimits = { -2.5,2.5 }, |
| std::pair< double, double > | ylimits = { -2.5,2.5 }, | ||
| std::pair< unsigned int, unsigned int > | nbPoints = { 50,50 } ) |
Construct a new object.
[Z coordinates computation]
| xlimits | A pair defining the <min, max> values of X-coordinates of the generated surface. |
| ylimits | A pair defining the <min, max> values of Y-coordinates of the generated surface. |
| nbPoints | The number of points along the <X-axis, Y-axis> that will be generated. |
[Constructor]
Definition at line 41 of file ClassUsingDisplayPCL.cpp.
| ClassUsingDisplayPCL::~ClassUsingDisplayPCL | ( | ) |
[Constructor]
Definition at line 58 of file ClassUsingDisplayPCL.cpp.
| void ClassUsingDisplayPCL::runDemo | ( | const double & | addedNoise, |
| const unsigned int & | order, | ||
| const bool & | useMonothread ) |
Demonstration on how to use a vpDisplayPCL in threaded mode.
[Surface generator]
| addedNoise | Standard deviation of the noise added to the moved surface. |
| order | The order of the polynomial surface that is generated. |
| useMonothread | If true, use the monothread version of the viewer. |
[Inserting point clouds]
[Inserting point clouds]
[Starting display thread]
[Starting display thread]
[Updating point clouds used by display thread]
[Updating point clouds used by display thread]
[Display monothread]
[Display monothread]
Definition at line 111 of file ClassUsingDisplayPCL.cpp.
References vpKeyboard::getchar(), vpKeyboard::kbhit(), vpTime::measureTimeMs(), vpColorBlindFriendlyPalette::to_vpColor(), and vpTime::wait().