Main Page
Modules
Classes
Files
File List
File Members
src
utils
bo_polygon2d
include
bo_polygon2d
transform_wrapper.h
Go to the documentation of this file.
1
/**************************************************************************************************
2
Software License Agreement (BSD License)
3
4
Copyright (c) 2011-2013, LAR toolkit developers - University of Aveiro - http://lars.mec.ua.pt
5
All rights reserved.
6
7
Redistribution and use in source and binary forms, with or without modification, are permitted
8
provided that the following conditions are met:
9
10
*Redistributions of source code must retain the above copyright notice, this list of
11
conditions and the following disclaimer.
12
*Redistributions in binary form must reproduce the above copyright notice, this list of
13
conditions and the following disclaimer in the documentation and/or other materials provided
14
with the distribution.
15
*Neither the name of the University of Aveiro nor the names of its contributors may be used to
16
endorse or promote products derived from this software without specific prior written permission.
17
18
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR
19
IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
20
FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
21
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
22
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
23
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
24
IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
25
OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26
***************************************************************************************************/
33
#ifndef _TRANSFORM_WRAPPER_H_
34
#define _TRANSFORM_WRAPPER_H_
35
45
//####################################################################
48
#include <ros/ros.h>
49
50
#include <pcl/point_cloud.h>
51
#include <pcl/point_types.h>
52
#include <pcl_ros/transforms.h>
53
#include <tf/tf.h>
54
55
class
class_transform_wrapper
56
{
57
public
:
58
class_transform_wrapper
(
void
);
59
~class_transform_wrapper
(
void
);
60
61
int
set_transform
(tf::Transform* st);
62
int
set_null_transform
(
void
);
63
64
65
int
transform_global_to_local
(pcl::PointCloud<pcl::PointXYZ>* pc_global, pcl::PointCloud<pcl::PointXYZ>* pc_local);
66
67
int
transform_local_to_global
(pcl::PointCloud<pcl::PointXYZ>* pc_local, pcl::PointCloud<pcl::PointXYZ>* pc_global);
68
69
70
protected
:
71
tf::Transform
transform
;
72
bool
is_null_transform
;
73
74
75
};
76
77
78
#endif
79
class_transform_wrapper::transform_global_to_local
int transform_global_to_local(pcl::PointCloud< pcl::PointXYZ > *pc_global, pcl::PointCloud< pcl::PointXYZ > *pc_local)
Definition:
transform_wrapper.cpp:55
class_transform_wrapper::transform_local_to_global
int transform_local_to_global(pcl::PointCloud< pcl::PointXYZ > *pc_local, pcl::PointCloud< pcl::PointXYZ > *pc_global)
Definition:
transform_wrapper.cpp:68
class_transform_wrapper::~class_transform_wrapper
~class_transform_wrapper(void)
Definition:
transform_wrapper.cpp:42
class_transform_wrapper::is_null_transform
bool is_null_transform
Definition:
transform_wrapper.h:72
class_transform_wrapper
Definition:
transform_wrapper.h:55
class_transform_wrapper::set_transform
int set_transform(tf::Transform *st)
Definition:
transform_wrapper.cpp:44
class_transform_wrapper::set_null_transform
int set_null_transform(void)
Definition:
transform_wrapper.cpp:52
class_transform_wrapper::class_transform_wrapper
class_transform_wrapper(void)
Definition:
transform_wrapper.cpp:41
class_transform_wrapper::transform
tf::Transform transform
Definition:
transform_wrapper.h:71
bo_polygon2d
Author(s): Miguel Oliveira
autogenerated on Mon Mar 2 2015 01:31:29