#include <markerpublisher.h>
Public Member Functions | |
MarkerPublisher (boost::shared_ptr< Calibration_Object > calibrationObject) | |
void | publishARMarkers (bool activeLeft, bool activeRight, const Eigen::Matrix4d topFrame) |
void | publishCameraFramePointer (const Eigen::Vector3d &startPoint, const Eigen::Vector3d &endPoint, bool isValid) |
void | publishColouredCameraFrames (std::vector< colouredCameraFrame, Eigen::aligned_allocator< colouredCameraFrame > > *camFrames) |
void | publishTetrahedon (const Eigen::Vector2d &baseA, const Eigen::Vector2d &baseB, const Eigen::Vector2d &baseC, const Eigen::Vector3d &top) |
void | publishTriangles (std::vector< Eigen::Vector2d, Eigen::aligned_allocator< Eigen::Vector2d > > *triangles) |
Protected Member Functions | |
void | initialize () |
Protected Attributes | |
boost::shared_ptr < Calibration_Object > | calibrationObject |
double | LINESCALE |
visualization_msgs::Marker | markerARMarker_Left |
visualization_msgs::Marker | markerARMarker_Right |
visualization_msgs::Marker | markerBottom |
visualization_msgs::Marker | markerCameraFrame |
std::vector < visualization_msgs::Marker > | markerCameraFrames |
visualization_msgs::Marker | markerTop |
visualization_msgs::Marker | markerTriangles |
ros::Publisher | pubCameraPosition |
ros::Publisher | pubMarkerPosition |
ros::Publisher | pubObjectPosition |
Definition at line 45 of file markerpublisher.h.
MarkerPublisher::MarkerPublisher | ( | boost::shared_ptr< Calibration_Object > | calibrationObject | ) |
Copyright (c) 2016, Aumann Florian, Heller Florian, Meißner Pascal All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Definition at line 21 of file markerpublisher.cpp.
void MarkerPublisher::initialize | ( | ) | [protected] |
Definition at line 28 of file markerpublisher.cpp.
void MarkerPublisher::publishARMarkers | ( | bool | activeLeft, |
bool | activeRight, | ||
const Eigen::Matrix4d | topFrame | ||
) |
Definition at line 136 of file markerpublisher.cpp.
void MarkerPublisher::publishCameraFramePointer | ( | const Eigen::Vector3d & | startPoint, |
const Eigen::Vector3d & | endPoint, | ||
bool | isValid | ||
) |
Definition at line 278 of file markerpublisher.cpp.
void MarkerPublisher::publishColouredCameraFrames | ( | std::vector< colouredCameraFrame, Eigen::aligned_allocator< colouredCameraFrame > > * | camFrames | ) |
Definition at line 235 of file markerpublisher.cpp.
void MarkerPublisher::publishTetrahedon | ( | const Eigen::Vector2d & | baseA, |
const Eigen::Vector2d & | baseB, | ||
const Eigen::Vector2d & | baseC, | ||
const Eigen::Vector3d & | top | ||
) |
Definition at line 315 of file markerpublisher.cpp.
void MarkerPublisher::publishTriangles | ( | std::vector< Eigen::Vector2d, Eigen::aligned_allocator< Eigen::Vector2d > > * | triangles | ) |
Definition at line 378 of file markerpublisher.cpp.
boost::shared_ptr<Calibration_Object> MarkerPublisher::calibrationObject [protected] |
Definition at line 72 of file markerpublisher.h.
double MarkerPublisher::LINESCALE [protected] |
Definition at line 74 of file markerpublisher.h.
visualization_msgs::Marker MarkerPublisher::markerARMarker_Left [protected] |
Definition at line 65 of file markerpublisher.h.
visualization_msgs::Marker MarkerPublisher::markerARMarker_Right [protected] |
Definition at line 66 of file markerpublisher.h.
visualization_msgs::Marker MarkerPublisher::markerBottom [protected] |
Definition at line 62 of file markerpublisher.h.
visualization_msgs::Marker MarkerPublisher::markerCameraFrame [protected] |
Definition at line 68 of file markerpublisher.h.
std::vector<visualization_msgs::Marker> MarkerPublisher::markerCameraFrames [protected] |
Definition at line 70 of file markerpublisher.h.
visualization_msgs::Marker MarkerPublisher::markerTop [protected] |
Definition at line 61 of file markerpublisher.h.
visualization_msgs::Marker MarkerPublisher::markerTriangles [protected] |
Definition at line 63 of file markerpublisher.h.
ros::Publisher MarkerPublisher::pubCameraPosition [protected] |
Definition at line 60 of file markerpublisher.h.
ros::Publisher MarkerPublisher::pubMarkerPosition [protected] |
Definition at line 59 of file markerpublisher.h.
ros::Publisher MarkerPublisher::pubObjectPosition [protected] |
Definition at line 58 of file markerpublisher.h.