sample RT component which has one data input port and one data output port More...
#include <VirtualCamera.h>
Public Member Functions | |
virtual RTC::ReturnCode_t | onActivated (RTC::UniqueId ec_id) |
virtual RTC::ReturnCode_t | onDeactivated (RTC::UniqueId ec_id) |
virtual RTC::ReturnCode_t | onExecute (RTC::UniqueId ec_id) |
virtual RTC::ReturnCode_t | onInitialize () |
VirtualCamera (RTC::Manager *manager) | |
Constructor. | |
virtual | ~VirtualCamera () |
Destructor. | |
Protected Attributes | |
RTC::TimedPoint3D | m_basePos |
InPort< RTC::TimedPoint3D > | m_basePosIn |
RTC::TimedOrientation3D | m_baseRpy |
InPort< RTC::TimedOrientation3D > | m_baseRpyIn |
PointCloudTypes::PointCloud | m_cloud |
OutPort < PointCloudTypes::PointCloud > | m_cloudOut |
Img::TimedCameraImage | m_image |
OutPort< Img::TimedCameraImage > | m_imageOut |
TimedPose3D | m_poseSensor |
OutPort< TimedPose3D > | m_poseSensorOut |
RTC::TimedDoubleSeq | m_q |
InPort< RTC::TimedDoubleSeq > | m_qIn |
RangeData | m_range |
OutPort< RangeData > | m_rangeOut |
OpenHRP::SceneState | m_sceneState |
InPort< OpenHRP::SceneState > | m_sceneStateIn |
Private Member Functions | |
void | setupPointCloud () |
void | setupRangeData () |
Private Attributes | |
int | dummy |
std::map< std::string, RTCGLbody * > | m_bodies |
GLcamera * | m_camera |
std::string | m_cameraName |
IplImage * | m_cvImage |
int | m_debugLevel |
bool | m_generateMovie |
bool | m_generatePointCloud |
int | m_generatePointCloudStep |
bool | m_generateRange |
bool | m_isGeneratingMovie |
LogManager< OpenHRP::SceneState > | m_log |
std::string | m_pcFormat |
std::string | m_projectName |
GLscene | m_scene |
CvVideoWriter * | m_videoWriter |
SDLwindow | m_window |
sample RT component which has one data input port and one data output port
Definition at line 49 of file VirtualCamera.h.
VirtualCamera::VirtualCamera | ( | RTC::Manager * | manager | ) |
Constructor.
manager | pointer to the Manager |
Definition at line 60 of file VirtualCamera.cpp.
VirtualCamera::~VirtualCamera | ( | ) | [virtual] |
Destructor.
Definition at line 86 of file VirtualCamera.cpp.
RTC::ReturnCode_t VirtualCamera::onActivated | ( | RTC::UniqueId | ec_id | ) | [virtual] |
Reimplemented from RTC::RTObject_impl.
Definition at line 162 of file VirtualCamera.cpp.
RTC::ReturnCode_t VirtualCamera::onDeactivated | ( | RTC::UniqueId | ec_id | ) | [virtual] |
Reimplemented from RTC::RTObject_impl.
Definition at line 278 of file VirtualCamera.cpp.
RTC::ReturnCode_t VirtualCamera::onExecute | ( | RTC::UniqueId | ec_id | ) | [virtual] |
Reimplemented from RTC::RTObject_impl.
Definition at line 294 of file VirtualCamera.cpp.
RTC::ReturnCode_t VirtualCamera::onInitialize | ( | void | ) | [virtual] |
Reimplemented from RTC::RTObject_impl.
Definition at line 92 of file VirtualCamera.cpp.
void VirtualCamera::setupPointCloud | ( | ) | [private] |
Definition at line 489 of file VirtualCamera.cpp.
void VirtualCamera::setupRangeData | ( | ) | [private] |
Definition at line 431 of file VirtualCamera.cpp.
int VirtualCamera::dummy [private] |
Definition at line 179 of file VirtualCamera.h.
RTC::TimedPoint3D VirtualCamera::m_basePos [protected] |
Definition at line 119 of file VirtualCamera.h.
InPort<RTC::TimedPoint3D> VirtualCamera::m_basePosIn [protected] |
Definition at line 126 of file VirtualCamera.h.
RTC::TimedOrientation3D VirtualCamera::m_baseRpy [protected] |
Definition at line 120 of file VirtualCamera.h.
InPort<RTC::TimedOrientation3D> VirtualCamera::m_baseRpyIn [protected] |
Definition at line 127 of file VirtualCamera.h.
std::map<std::string, RTCGLbody *> VirtualCamera::m_bodies [private] |
Definition at line 178 of file VirtualCamera.h.
GLcamera* VirtualCamera::m_camera [private] |
Definition at line 167 of file VirtualCamera.h.
std::string VirtualCamera::m_cameraName [private] |
Definition at line 177 of file VirtualCamera.h.
PointCloudTypes::PointCloud VirtualCamera::m_cloud [protected] |
Definition at line 134 of file VirtualCamera.h.
OutPort<PointCloudTypes::PointCloud> VirtualCamera::m_cloudOut [protected] |
Definition at line 141 of file VirtualCamera.h.
IplImage* VirtualCamera::m_cvImage [private] |
Definition at line 175 of file VirtualCamera.h.
int VirtualCamera::m_debugLevel [private] |
Definition at line 173 of file VirtualCamera.h.
bool VirtualCamera::m_generateMovie [private] |
Definition at line 172 of file VirtualCamera.h.
bool VirtualCamera::m_generatePointCloud [private] |
Definition at line 169 of file VirtualCamera.h.
int VirtualCamera::m_generatePointCloudStep [private] |
Definition at line 170 of file VirtualCamera.h.
bool VirtualCamera::m_generateRange [private] |
Definition at line 168 of file VirtualCamera.h.
Img::TimedCameraImage VirtualCamera::m_image [protected] |
Definition at line 132 of file VirtualCamera.h.
OutPort<Img::TimedCameraImage> VirtualCamera::m_imageOut [protected] |
Definition at line 139 of file VirtualCamera.h.
bool VirtualCamera::m_isGeneratingMovie [private] |
Definition at line 172 of file VirtualCamera.h.
LogManager<OpenHRP::SceneState> VirtualCamera::m_log [private] |
Definition at line 165 of file VirtualCamera.h.
std::string VirtualCamera::m_pcFormat [private] |
Definition at line 171 of file VirtualCamera.h.
TimedPose3D VirtualCamera::m_poseSensor [protected] |
Definition at line 135 of file VirtualCamera.h.
OutPort<TimedPose3D> VirtualCamera::m_poseSensorOut [protected] |
Definition at line 142 of file VirtualCamera.h.
std::string VirtualCamera::m_projectName [private] |
Definition at line 176 of file VirtualCamera.h.
RTC::TimedDoubleSeq VirtualCamera::m_q [protected] |
Definition at line 121 of file VirtualCamera.h.
InPort<RTC::TimedDoubleSeq> VirtualCamera::m_qIn [protected] |
Definition at line 128 of file VirtualCamera.h.
RangeData VirtualCamera::m_range [protected] |
Definition at line 133 of file VirtualCamera.h.
OutPort<RangeData> VirtualCamera::m_rangeOut [protected] |
Definition at line 140 of file VirtualCamera.h.
GLscene VirtualCamera::m_scene [private] |
Definition at line 164 of file VirtualCamera.h.
OpenHRP::SceneState VirtualCamera::m_sceneState [protected] |
Definition at line 118 of file VirtualCamera.h.
InPort<OpenHRP::SceneState> VirtualCamera::m_sceneStateIn [protected] |
Definition at line 125 of file VirtualCamera.h.
CvVideoWriter* VirtualCamera::m_videoWriter [private] |
Definition at line 174 of file VirtualCamera.h.
SDLwindow VirtualCamera::m_window [private] |
Definition at line 166 of file VirtualCamera.h.