#include <cstdio>
#include <ros/ros.h>
#include <opencv/cv.h>
#include <opencv/highgui.h>
#include "cv_bridge/cv_bridge.h"
#include "sensor_msgs/Image.h"
#include "sensor_msgs/CameraInfo.h"
#include "image_transport/image_transport.h"
#include <image_geometry/pinhole_camera_model.h>
#include <GL/gl.h>
#include <GL/glext.h>
#include <GL/freeglut.h>
#include "camera_self_filter/robotMeshModel.h"
Go to the source code of this file.
Defines | |
#define | GL_GLEXT_PROTOTYPES |
Functions | |
void | alpha_image_cb (const sensor_msgs::ImageConstPtr &msg_ptr) |
void | calc_and_publish_BWMask (const ros::Time time_stamp, const std::string frame_id) |
void | display () |
void | initializeGL () |
int | main (int argc, char **argv) |
void | mask_cb (const sensor_msgs::CameraInfoConstPtr &msg_ptr) |
Variables | |
image_transport::Publisher | image_publisher |
bool | inverted |
IplImage * | ipl_maskBGRA = NULL |
IplImage * | ipl_maskBW = NULL |
image_transport::Publisher | mask_publisher |
bool | publish_mask |
RobotMeshModel * | robmod = NULL |
#define GL_GLEXT_PROTOTYPES |
Definition at line 56 of file camera_self_filter.cpp.
void alpha_image_cb | ( | const sensor_msgs::ImageConstPtr & | msg_ptr | ) |
Definition at line 127 of file camera_self_filter.cpp.
void calc_and_publish_BWMask | ( | const ros::Time | time_stamp, |
const std::string | frame_id | ||
) |
Definition at line 108 of file camera_self_filter.cpp.
void display | ( | ) |
Definition at line 94 of file camera_self_filter.cpp.
void initializeGL | ( | ) |
Definition at line 76 of file camera_self_filter.cpp.
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 184 of file camera_self_filter.cpp.
void mask_cb | ( | const sensor_msgs::CameraInfoConstPtr & | msg_ptr | ) |
Definition at line 175 of file camera_self_filter.cpp.
Definition at line 73 of file camera_self_filter.cpp.
bool inverted |
Definition at line 71 of file camera_self_filter.cpp.
IplImage* ipl_maskBGRA = NULL |
Definition at line 67 of file camera_self_filter.cpp.
IplImage* ipl_maskBW = NULL |
Definition at line 68 of file camera_self_filter.cpp.
Definition at line 72 of file camera_self_filter.cpp.
bool publish_mask |
Definition at line 70 of file camera_self_filter.cpp.
RobotMeshModel* robmod = NULL |
Definition at line 66 of file camera_self_filter.cpp.