Visual Servoing Platform
version 3.6.0
Loading...
Searching...
No Matches
ClassUsingPclViewer.h
1
#ifndef _ClassUsingPclVisualizer_h_
2
#define _ClassUsingPclVisualizer_h_
3
5
#include <visp3/core/vpConfig.h>
6
7
#if defined(VISP_HAVE_PCL) && (VISP_CXX_STANDARD >= VISP_CXX_STANDARD_11)
8
9
#include<visp3/core/vpColVector.h>
10
#include<visp3/gui/vpPclViewer.h>
11
12
class
ClassUsingPclViewer
13
{
14
private
:
15
vpTranslationVector
m_t;
16
vpRotationMatrix
m_R;
17
vpHomogeneousMatrix
m_cMo;
19
double
m_minX;
20
double
m_maxX;
21
unsigned
int
m_n;
22
double
m_dX;
// m_dX = (m_maxX - m_minX)/(m_n-1)
23
double
m_minY;
24
double
m_maxY;
25
unsigned
int
m_m;
26
double
m_dY;
// m_dY = (m_maxY - m_minY)/(m_m-1)
27
28
vpPclViewer
m_visualizer;
37
std::pair<vpPclViewer::pclPointCloudPointXYZRGBPtr, vpPclViewer::pclPointCloudPointXYZRGBPtr> generateControlPoints(
const
double
&addedNoise,
const
unsigned
int
&order,
vpColVector
&confidenceWeights);
38
public
:
46
ClassUsingPclViewer
(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 });
47
48
~ClassUsingPclViewer
();
49
57
void
blockingMode
(
const
double
&addedNoise,
const
unsigned
int
&order);
58
65
void
threadedMode
(
const
double
&addedNoise,
const
unsigned
int
&order);
66
};
67
#endif
68
#endif
ClassUsingPclViewer
Definition
ClassUsingPclViewer.h:13
ClassUsingPclViewer::threadedMode
void threadedMode(const double &addedNoise, const unsigned int &order)
Demonstration on how to use a vpPclViewer in threaded mode.
Definition
ClassUsingPclViewer.cpp:156
ClassUsingPclViewer::~ClassUsingPclViewer
~ClassUsingPclViewer()
[Constructor]
Definition
ClassUsingPclViewer.cpp:54
ClassUsingPclViewer::blockingMode
void blockingMode(const double &addedNoise, const unsigned int &order)
Demonstration on how to use a vpPclViewer in blocking mode, i.e. we expect an input from the user aft...
Definition
ClassUsingPclViewer.cpp:127
vpColVector
Implementation of column vector and the associated operations.
Definition
vpColVector.h:167
vpHomogeneousMatrix
Implementation of an homogeneous matrix and operations on such kind of matrices.
Definition
vpHomogeneousMatrix.h:201
vpPclViewer
Definition
vpPclViewer.h:68
vpRotationMatrix
Implementation of a rotation matrix and operations on such kind of matrices.
Definition
vpRotationMatrix.h:118
vpTranslationVector
Class that consider the case of a translation vector.
Definition
vpTranslationVector.h:114
tutorial
gui
pcl-visualizer
ClassUsingPclViewer.h
Generated by
1.9.8