10 #ifndef VIRTUAL_CAMERA_H 11 #define VIRTUAL_CAMERA_H 13 #include <rtm/idl/BasicDataType.hh> 14 #include <rtm/idl/InterfaceDataTypes.hh> 15 #include "hrpsys/idl/HRPDataTypes.hh" 16 #include "hrpsys/idl/Img.hh" 17 #include "hrpsys/idl/pointcloud.hh" 19 #include <rtm/DataFlowComponentBase.h> 23 #include <rtm/idl/BasicDataTypeSkel.h> 28 #include "hrpsys/util/LogManager.h" 29 #include "hrpsys/util/SDLUtil.h" 65 virtual RTC::ReturnCode_t onInitialize();
162 void setupRangeData();
163 void setupPointCloud();
188 #endif // VIRTUAL_CAMERA_H
bool m_generatePointCloud
RTC::TimedOrientation3D m_baseRpy
std::map< std::string, RTCGLbody * > m_bodies
InPort< RTC::TimedOrientation3D > m_baseRpyIn
OutPort< RangeData > m_rangeOut
Img::TimedCameraImage m_image
InPort< RTC::TimedPoint3D > m_basePosIn
ExecutionContextHandle_t UniqueId
int m_generatePointCloudStep
void VirtualCameraInit(RTC::Manager *manager)
OutPort< Img::TimedCameraImage > m_imageOut
CvVideoWriter * m_videoWriter
InPort< OpenHRP::SceneState > m_sceneStateIn
LogManager< OpenHRP::SceneState > m_log
OutPort< TimedPose3D > m_poseSensorOut
sample RT component which has one data input port and one data output port
OpenHRP::SceneState m_sceneState
PointCloudTypes::PointCloud m_cloud
OutPort< PointCloudTypes::PointCloud > m_cloudOut
InPort< RTC::TimedDoubleSeq > m_qIn
RTC::TimedPoint3D m_basePos
std::string m_projectName