#include <GpuLaserPrivate.hh>
Public Attributes | |
double | cameraYaws [4] |
A list of camera angles for first pass rendering. More... | |
Ogre::Material * | currentMat |
Temporary pointer to the current material. More... | |
Ogre::RenderTarget * | currentTarget |
Temporary pointer to the current render target. More... | |
Ogre::RenderTarget * | firstPassTargets [3] |
First pass render targets. More... | |
Ogre::Texture * | firstPassTextures [3] |
An array of first pass textures. More... | |
Ogre::Viewport * | firstPassViewports [3] |
First pass viewports. More... | |
unsigned int | h2nd |
Image height. More... | |
float * | laserBuffer |
Raw buffer of laser data. More... | |
float * | laserScan |
Outgoing laser data, used by newLaserFrame event. More... | |
double | lastRenderDuration |
Time taken to complete the two rendering passes. More... | |
Ogre::Material * | matFirstPass |
Pointer to Ogre material for the first rendering pass. More... | |
Ogre::Material * | matSecondPass |
Pointer to Ogre material for the sencod rendering pass. More... | |
event::EventT< void(const float *_frame, unsigned int _width, unsigned int _height, unsigned int _depth, const std::string &_format)> | newLaserFrame |
Event triggered when new laser range data are available. More... | |
Ogre::MovableObject * | object |
Ogre movable object created from the canvas mesh. More... | |
Ogre::Camera * | orthoCam |
Ogre orthorgraphic camera used in the second pass for undistortion. More... | |
Ogre::SceneNode * | pitchNodeOrtho |
Ogre scenenode where the orthorgraphic camera is attached to. More... | |
Ogre::RenderTarget * | secondPassTarget |
Second pass render target. More... | |
Ogre::Texture * | secondPassTexture |
Second pass texture. More... | |
Ogre::Viewport * | secondPassViewport |
Second pass viewport. More... | |
std::vector< int > | texIdx |
List of texture unit indices used during the second rendering pass. More... | |
unsigned int | textureCount |
Number of first pass textures. More... | |
common::Mesh * | undistMesh |
Ogre mesh used to create a canvas for undistorting range values in the second rendering pass. More... | |
VisualPtr | visual |
Pointer to visual that holds the canvas. More... | |
unsigned int | w2nd |
Image width. More... | |
Static Public Attributes | |
static int | texCount |
Number of second pass texture units created. More... | |
double gazebo::rendering::GpuLaserPrivate::cameraYaws[4] |
A list of camera angles for first pass rendering.
Ogre::Material* gazebo::rendering::GpuLaserPrivate::currentMat |
Temporary pointer to the current material.
Ogre::RenderTarget* gazebo::rendering::GpuLaserPrivate::currentTarget |
Temporary pointer to the current render target.
Ogre::RenderTarget* gazebo::rendering::GpuLaserPrivate::firstPassTargets[3] |
First pass render targets.
Ogre::Texture* gazebo::rendering::GpuLaserPrivate::firstPassTextures[3] |
An array of first pass textures.
Ogre::Viewport* gazebo::rendering::GpuLaserPrivate::firstPassViewports[3] |
First pass viewports.
unsigned int gazebo::rendering::GpuLaserPrivate::h2nd |
Image height.
float* gazebo::rendering::GpuLaserPrivate::laserBuffer |
Raw buffer of laser data.
float* gazebo::rendering::GpuLaserPrivate::laserScan |
Outgoing laser data, used by newLaserFrame event.
double gazebo::rendering::GpuLaserPrivate::lastRenderDuration |
Time taken to complete the two rendering passes.
Ogre::Material* gazebo::rendering::GpuLaserPrivate::matFirstPass |
Pointer to Ogre material for the first rendering pass.
Ogre::Material* gazebo::rendering::GpuLaserPrivate::matSecondPass |
Pointer to Ogre material for the sencod rendering pass.
event::EventT<void(const float *_frame, unsigned int _width, unsigned int _height, unsigned int _depth, const std::string &_format)> gazebo::rendering::GpuLaserPrivate::newLaserFrame |
Event triggered when new laser range data are available.
[in] | _frame | New frame containing raw laser data. |
[in] | _width | Width of frame. |
[in] | _height | Height of frame. |
[in] | _depth | Depth of frame. |
[in] | _format | Format of frame. |
Ogre::MovableObject* gazebo::rendering::GpuLaserPrivate::object |
Ogre movable object created from the canvas mesh.
Ogre::Camera* gazebo::rendering::GpuLaserPrivate::orthoCam |
Ogre orthorgraphic camera used in the second pass for undistortion.
Ogre::SceneNode* gazebo::rendering::GpuLaserPrivate::pitchNodeOrtho |
Ogre scenenode where the orthorgraphic camera is attached to.
Ogre::RenderTarget* gazebo::rendering::GpuLaserPrivate::secondPassTarget |
Second pass render target.
Ogre::Texture* gazebo::rendering::GpuLaserPrivate::secondPassTexture |
Second pass texture.
Ogre::Viewport* gazebo::rendering::GpuLaserPrivate::secondPassViewport |
Second pass viewport.
|
static |
Number of second pass texture units created.
std::vector<int> gazebo::rendering::GpuLaserPrivate::texIdx |
List of texture unit indices used during the second rendering pass.
unsigned int gazebo::rendering::GpuLaserPrivate::textureCount |
Number of first pass textures.
common::Mesh* gazebo::rendering::GpuLaserPrivate::undistMesh |
Ogre mesh used to create a canvas for undistorting range values in the second rendering pass.
VisualPtr gazebo::rendering::GpuLaserPrivate::visual |
Pointer to visual that holds the canvas.
unsigned int gazebo::rendering::GpuLaserPrivate::w2nd |
Image width.