gz/rendering/GpuRays.hh
virtual void SetVerticalAngleMin(const double _angle)=0
Set minimal vertical angle value.
virtual ~GpuRays()
Destructor.
Definition: gz/rendering/GpuRays.hh:45
STL class.
std::function< void(const void *, unsigned int, unsigned int, unsigned int, const std::string &)> NewFrameListener
Callback function for new frame render event listeners.
Definition: gz/rendering/GpuRays.hh:42
virtual void SetAngleMax(double _angle)=0
Set maximal horizontal angle value.
virtual int VerticalRangeCount() const =0
Get vertical range count, i.e. ray count * vert resolution.
virtual gz::math::Angle VerticalAngleMax() const =0
Get maximal vertical angle value.
virtual double HorizontalResolution() const =0
Get the horizontal resolution. This number is multiplied by RayCount to calculate RangeCount,...
Posable camera used for rendering the scene graph.
Definition: gz/rendering/Camera.hh:49
virtual void SetVerticalResolution(double _resolution)=0
Set the vertical resolution. This number is multiplied by VerticalRayCount to calculate VerticalRange...
virtual void SetClamp(const bool _clamp)=0
Configure behaviour for data values outside of camera range.
virtual double RangeCountRatio() const =0
Get the ray count ratio (equivalent to aspect ratio)
virtual void SetVerticalAngleMax(const double _angle)=0
Set maximal vertical angle value.
virtual void SetHorizontalResolution(double _resolution)=0
Set the horizontal resolution. This number is multiplied by RayCount to calculate RangeCount,...
virtual gz::math::Angle AngleMin() const =0
Get minimal horizontal angle value.
virtual void SetRayCountRatio(const double _rayCountRatio)=0
Sets the ray count ratio (equivalent to aspect ratio)
virtual bool IsHorizontal() const =0
Gets if sensor is horizontal.
virtual void SetIsHorizontal(const bool _horizontal)=0
Set sensor horizontal or vertical.
virtual bool Clamp() const =0
Get behaviour for data values outside of camera range.
virtual int VerticalRayCount() const =0
Get vertical quantity of rays.
virtual gz::math::Angle VerticalAngleMin() const =0
Get minimal vertical angle value.
virtual int RangeCount() const =0
Get hoizontal range count, i.e. ray count * horz resolution.
virtual void SetRayCount(int _samples)=0
Set horizontal quantity of rays.
virtual math::Angle VFOV() const =0
Get the vertical field-of-view.
virtual int RayCount() const =0
Get horizontal quantity of rays.
virtual void Copy(float *_data)=0
Copy to the specified memory direction the gpu rays data.
virtual double VerticalResolution() const =0
Get the vertical resolution. This number is multiplied by VerticalRayCount to calculate VerticalRange...
virtual common::ConnectionPtr ConnectNewGpuRaysFrame(std::function< void(const float *_frame, unsigned int _width, unsigned int _height, unsigned int _depth, const std::string &)> _subscriber)=0
Connect to a gpu rays frame signal.
virtual void SetAngleMin(double _angle)=0
Set minimal horizontal angle value.
virtual const float * Data() const =0
All things needed to get back z buffer for gpu rays data.
virtual double RayCountRatio() const =0
Get the ray count ratio (equivalent to aspect ratio)
virtual void SetVerticalRayCount(int _samples)=0
Set vertical quantity of rays.
virtual gz::math::Angle AngleMax() const =0
Get maximal horizontal angle value.
virtual unsigned int Channels() const =0
Get the number of channels used to store the ray data.