gz/rendering/base/BaseGpuRays.hh
virtual gz::math::Angle VerticalAngleMax() const override
Get maximal vertical angle value.
Definition: gz/rendering/base/BaseGpuRays.hh:403
virtual void SetAngleMin(double _angle) override
Set minimal horizontal angle value.
Definition: gz/rendering/base/BaseGpuRays.hh:326
float dataMinVal
minimum value used for data outside sensor range
Definition: gz/rendering/base/BaseGpuRays.hh:158
virtual void SetHorizontalResolution(double _resolution) override
Set the horizontal resolution. This number is multiplied by RayCount to calculate RangeCount,...
Definition: gz/rendering/base/BaseGpuRays.hh:424
virtual void SetVerticalAngleMax(const double _angle) override
Set maximal vertical angle value.
Definition: gz/rendering/base/BaseGpuRays.hh:410
virtual double HorizontalResolution() const override
Get the horizontal resolution. This number is multiplied by RayCount to calculate RangeCount,...
Definition: gz/rendering/base/BaseGpuRays.hh:431
double maxAngle
Horizontal maximal angle.
Definition: gz/rendering/base/BaseGpuRays.hh:180
STL class.
virtual int VerticalRayCount() const override
Get vertical quantity of rays.
Definition: gz/rendering/base/BaseGpuRays.hh:368
virtual void Copy(float *_data) override
Copy to the specified memory direction the gpu rays data.
Definition: gz/rendering/base/BaseGpuRays.hh:227
Definition: gz/rendering/ogre/OgreScene.hh:39
virtual bool IsHorizontal() const override
Gets if sensor is horizontal.
Definition: gz/rendering/base/BaseGpuRays.hh:277
virtual gz::math::Angle AngleMax() const override
Get maximal horizontal angle value.
Definition: gz/rendering/base/BaseGpuRays.hh:333
virtual common::ConnectionPtr ConnectNewGpuRaysFrame(std::function< void(const float *_frame, unsigned int _width, unsigned int _height, unsigned int _depth, const std::string &_format)> _subscriber) override
Definition: gz/rendering/base/BaseGpuRays.hh:261
virtual ~BaseGpuRays()
Destructor.
Definition: gz/rendering/base/BaseGpuRays.hh:214
unsigned int channels
Number of channels used to store the data.
Definition: gz/rendering/base/BaseGpuRays.hh:201
virtual void SetVerticalRayCount(int _samples) override
Set vertical quantity of rays.
Definition: gz/rendering/base/BaseGpuRays.hh:375
double hResolution
Resolution of horizontal rays.
Definition: gz/rendering/base/BaseGpuRays.hh:195
int hSamples
Quantity of horizontal rays.
Definition: gz/rendering/base/BaseGpuRays.hh:189
virtual const float * Data() const override
All things needed to get back z buffer for gpu rays data.
Definition: gz/rendering/base/BaseGpuRays.hh:220
virtual double RayCountRatio() const override
Get the ray count ratio (equivalent to aspect ratio)
Definition: gz/rendering/base/BaseGpuRays.hh:284
virtual bool Clamp() const override
Get behaviour for data values outside of camera range.
Definition: gz/rendering/base/BaseGpuRays.hh:253
double vResolution
Resolution of vertical rays.
Definition: gz/rendering/base/BaseGpuRays.hh:198
double vMinAngle
Vertical minimal angle.
Definition: gz/rendering/base/BaseGpuRays.hh:183
virtual void SetVerticalResolution(double resolution) override
Set the vertical resolution. This number is multiplied by VerticalRayCount to calculate VerticalRange...
Definition: gz/rendering/base/BaseGpuRays.hh:438
virtual void SetRayCountRatio(const double _rayCountRatio) override
Sets the ray count ratio (equivalent to aspect ratio)
Definition: gz/rendering/base/BaseGpuRays.hh:291
Definition: gz/rendering/base/BaseGpuRays.hh:42
virtual gz::math::Angle VerticalAngleMin() const override
Get minimal vertical angle value.
Definition: gz/rendering/base/BaseGpuRays.hh:389
virtual int VerticalRangeCount() const override
Get vertical range count, i.e. ray count * vert resolution.
Definition: gz/rendering/base/BaseGpuRays.hh:382
virtual RenderTargetPtr RenderTarget() const override=0
Pointer to the render target.
virtual void SetAngleMax(double _angle) override
Set maximal horizontal angle value.
Definition: gz/rendering/base/BaseGpuRays.hh:340
virtual void SetClamp(bool _enable) override
Configure behaviour for data values outside of camera range.
Definition: gz/rendering/base/BaseGpuRays.hh:235
virtual void SetIsHorizontal(const bool _horizontal) override
Set sensor horizontal or vertical.
Definition: gz/rendering/base/BaseGpuRays.hh:270
float dataMaxVal
maximum value used for data outside sensor range
Definition: gz/rendering/base/BaseGpuRays.hh:155
virtual void SetVerticalAngleMin(const double _angle) override
Set minimal vertical angle value.
Definition: gz/rendering/base/BaseGpuRays.hh:396
int vSamples
Quantity of verical rays.
Definition: gz/rendering/base/BaseGpuRays.hh:192
Represents a render-target to which cameras can render images.
Definition: gz/rendering/RenderTarget.hh:37
virtual void SetRayCount(int _samples) override
Set horizontal quantity of rays.
Definition: gz/rendering/base/BaseGpuRays.hh:354
double rayCountRatio
Ray count ratio.
Definition: gz/rendering/base/BaseGpuRays.hh:165
double minAngle
Horizontal minimal angle.
Definition: gz/rendering/base/BaseGpuRays.hh:177
double rangeCountRatio
Range count ratio.
Definition: gz/rendering/base/BaseGpuRays.hh:168
double vMaxAngle
Vertical maximal angle.
Definition: gz/rendering/base/BaseGpuRays.hh:186
virtual unsigned int Channels() const override
Get the number of channels used to store the ray data.
Definition: gz/rendering/base/BaseGpuRays.hh:417
virtual double RangeCountRatio() const override
Get the ray count ratio (equivalent to aspect ratio)
Definition: gz/rendering/base/BaseGpuRays.hh:298
virtual int RayCount() const override
Get horizontal quantity of rays.
Definition: gz/rendering/base/BaseGpuRays.hh:347
virtual int RangeCount() const override
Get hoizontal range count, i.e. ray count * horz resolution.
Definition: gz/rendering/base/BaseGpuRays.hh:361
virtual double VerticalResolution() const override
Get the vertical resolution. This number is multiplied by VerticalRayCount to calculate VerticalRange...
Definition: gz/rendering/base/BaseGpuRays.hh:445
Definition: gz/rendering/base/BaseCamera.hh:44
virtual math::Angle VFOV() const override
Get the vertical field-of-view.
Definition: gz/rendering/base/BaseGpuRays.hh:305
bool isHorizontal
True if the sensor is horizontal only.
Definition: gz/rendering/base/BaseGpuRays.hh:174
bool clamping
True if data values are clamped to camera clip distances,.
Definition: gz/rendering/base/BaseGpuRays.hh:162
math::Angle vfov
Vertical field-of-view.
Definition: gz/rendering/base/BaseGpuRays.hh:171
virtual void SetVFOV(const math::Angle &_vfov)
Set the vertical fov.
Definition: gz/rendering/base/BaseGpuRays.hh:312
BaseGpuRays()
Constructor.
Definition: gz/rendering/base/BaseGpuRays.hh:208
virtual gz::math::Angle AngleMin() const override
Get minimal horizontal angle value.
Definition: gz/rendering/base/BaseGpuRays.hh:319