$search
00001 /* 00002 * Copyright (c) 2009, Willow Garage, Inc. 00003 * All rights reserved. 00004 * 00005 * Redistribution and use in source and binary forms, with or without 00006 * modification, are permitted provided that the following conditions are met: 00007 * 00008 * * Redistributions of source code must retain the above copyright 00009 * notice, this list of conditions and the following disclaimer. 00010 * * Redistributions in binary form must reproduce the above copyright 00011 * notice, this list of conditions and the following disclaimer in the 00012 * documentation and/or other materials provided with the distribution. 00013 * * Neither the name of the Willow Garage, Inc. nor the names of its 00014 * contributors may be used to endorse or promote products derived from 00015 * this software without specific prior written permission. 00016 * 00017 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 00018 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 00019 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 00020 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE 00021 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 00022 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 00023 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 00024 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 00025 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 00026 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 00027 * POSSIBILITY OF SUCH DAMAGE. 00028 */ 00029 00030 #include "rviz/plugin/type_registry.h" 00031 00032 #include "axes_display.h" 00033 #include "camera_display.h" 00034 #include "grid_display.h" 00035 #include "laser_scan_display.h" 00036 #include "map_display.h" 00037 #include "marker_display.h" 00038 #include "marker_array_display.h" 00039 #include "interactive_marker_display.h" 00040 #include "pose_array_display.h" 00041 #include "point_cloud_display.h" 00042 #include "point_cloud2_display.h" 00043 #include "path_display.h" 00044 #include "polygon_display.h" 00045 #include "grid_cells_display.h" 00046 #include "odometry_display.h" 00047 #include "robot_model_display.h" 00048 #include "tf_display.h" 00049 #include "pose_display.h" 00050 #include "point_cloud_transformers.h" 00051 #include "image_display.h" 00052 #include "range_display.h" 00053 00054 using namespace rviz; 00055 00056 extern "C" void rvizPluginInit(rviz::TypeRegistry* reg) 00057 { 00058 reg->registerDisplay<AxesDisplay>("rviz::AxesDisplay"); 00059 reg->registerDisplay<CameraDisplay>("rviz::CameraDisplay"); 00060 reg->registerDisplay<GridDisplay>("rviz::GridDisplay"); 00061 reg->registerDisplay<LaserScanDisplay>("rviz::LaserScanDisplay"); 00062 reg->registerDisplay<MapDisplay>("rviz::MapDisplay"); 00063 reg->registerDisplay<MarkerDisplay>("rviz::MarkerDisplay"); 00064 reg->registerDisplay<MarkerArrayDisplay>("rviz::MarkerArrayDisplay"); 00065 reg->registerDisplay<InteractiveMarkerDisplay>("rviz::InteractiveMarkerDisplay"); 00066 reg->registerDisplay<PoseArrayDisplay>("rviz::PoseArrayDisplay"); 00067 reg->registerDisplay<PointCloudDisplay>("rviz::PointCloudDisplay"); 00068 reg->registerDisplay<PointCloud2Display>("rviz::PointCloud2Display"); 00069 reg->registerDisplay<PathDisplay>("rviz::PathDisplay"); 00070 reg->registerDisplay<PolygonDisplay>("rviz::PolygonDisplay"); 00071 reg->registerDisplay<PoseDisplay>("rviz::PoseDisplay"); 00072 reg->registerDisplay<GridCellsDisplay>("rviz::GridCellsDisplay"); 00073 reg->registerDisplay<OdometryDisplay>("rviz::OdometryDisplay"); 00074 reg->registerDisplay<RangeDisplay>("rviz::RangeDisplay"); 00075 reg->registerDisplay<RobotModelDisplay>("rviz::RobotModelDisplay"); 00076 reg->registerDisplay<TFDisplay>("rviz::TFDisplay"); 00077 reg->registerDisplay<ImageDisplay>("rviz::ImageDisplay"); 00078 00079 reg->registerClass<XYZPCTransformer>("rviz::PointCloudTransformer", "rviz::XYZPCTransformer", "XYZ"); 00080 reg->registerClass<IntensityPCTransformer>("rviz::PointCloudTransformer", "rviz::IntensityPCTransformer", "Intensity"); 00081 reg->registerClass<RGB8PCTransformer>("rviz::PointCloudTransformer", "rviz::RGB8PCTransformer", "RGB8"); 00082 reg->registerClass<RGBF32PCTransformer>("rviz::PointCloudTransformer", "rviz::RGBF32PCTransformer", "RGBF32"); 00083 reg->registerClass<FlatColorPCTransformer>("rviz::PointCloudTransformer", "rviz::FlatColorPCTransformer", "Flat Color"); 00084 reg->registerClass<AxisColorPCTransformer>("rviz::PointCloudTransformer", "rviz::AxisColorPCTransformer", "Axis"); 00085 }