gz/rendering/base/BaseGpuRays.hh
virtual gz::math::Angle VerticalAngleMax() const override
Get maximal vertical angle value.
Definition: gz/rendering/base/BaseGpuRays.hh:391
virtual void SetAngleMin(double _angle) override
Set minimal horizontal angle value.
Definition: gz/rendering/base/BaseGpuRays.hh:314
float dataMinVal
minimum value used for data outside sensor range
Definition: gz/rendering/base/BaseGpuRays.hh:146
virtual void SetVerticalAngleMax(const double _angle) override
Set maximal vertical angle value.
Definition: gz/rendering/base/BaseGpuRays.hh:398
double maxAngle
Horizontal maximal angle.
Definition: gz/rendering/base/BaseGpuRays.hh:168
STL class.
virtual int VerticalRayCount() const override
Get vertical quantity of rays.
Definition: gz/rendering/base/BaseGpuRays.hh:356
virtual void Copy(float *_data) override
Copy to the specified memory direction the gpu rays data.
Definition: gz/rendering/base/BaseGpuRays.hh:215
Definition: gz/rendering/ogre/OgreScene.hh:39
virtual bool IsHorizontal() const override
Gets if sensor is horizontal.
Definition: gz/rendering/base/BaseGpuRays.hh:265
virtual gz::math::Angle AngleMax() const override
Get maximal horizontal angle value.
Definition: gz/rendering/base/BaseGpuRays.hh:321
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:249
virtual ~BaseGpuRays()
Destructor.
Definition: gz/rendering/base/BaseGpuRays.hh:202
unsigned int channels
Number of channels used to store the data.
Definition: gz/rendering/base/BaseGpuRays.hh:189
virtual void SetVerticalRayCount(int _samples) override
Set vertical quantity of rays.
Definition: gz/rendering/base/BaseGpuRays.hh:363
int hSamples
Quantity of horizontal rays.
Definition: gz/rendering/base/BaseGpuRays.hh:177
virtual const float * Data() const override
All things needed to get back z buffer for gpu rays data.
Definition: gz/rendering/base/BaseGpuRays.hh:208
virtual double RayCountRatio() const override
Get the ray count ratio (equivalent to aspect ratio)
Definition: gz/rendering/base/BaseGpuRays.hh:272
virtual bool Clamp() const override
Get behaviour for data values outside of camera range.
Definition: gz/rendering/base/BaseGpuRays.hh:241
double vMinAngle
Vertical minimal angle.
Definition: gz/rendering/base/BaseGpuRays.hh:171
virtual void SetRayCountRatio(const double _rayCountRatio) override
Sets the ray count ratio (equivalent to aspect ratio)
Definition: gz/rendering/base/BaseGpuRays.hh:279
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:377
int hResolution
Resolution of horizontal rays.
Definition: gz/rendering/base/BaseGpuRays.hh:183
virtual int VerticalRangeCount() const override
Get vertical range count, i.e. ray count * vert resolution.
Definition: gz/rendering/base/BaseGpuRays.hh:370
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:328
virtual void SetClamp(bool _enable) override
Configure behaviour for data values outside of camera range.
Definition: gz/rendering/base/BaseGpuRays.hh:223
virtual void SetIsHorizontal(const bool _horizontal) override
Set sensor horizontal or vertical.
Definition: gz/rendering/base/BaseGpuRays.hh:258
float dataMaxVal
maximum value used for data outside sensor range
Definition: gz/rendering/base/BaseGpuRays.hh:143
virtual void SetVerticalAngleMin(const double _angle) override
Set minimal vertical angle value.
Definition: gz/rendering/base/BaseGpuRays.hh:384
int vSamples
Quantity of verical rays.
Definition: gz/rendering/base/BaseGpuRays.hh:180
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:342
double rayCountRatio
Ray count ratio.
Definition: gz/rendering/base/BaseGpuRays.hh:153
double minAngle
Horizontal minimal angle.
Definition: gz/rendering/base/BaseGpuRays.hh:165
double rangeCountRatio
Range count ratio.
Definition: gz/rendering/base/BaseGpuRays.hh:156
double vMaxAngle
Vertical maximal angle.
Definition: gz/rendering/base/BaseGpuRays.hh:174
virtual unsigned int Channels() const override
Get the number of channels used to store the ray data.
Definition: gz/rendering/base/BaseGpuRays.hh:405
virtual double RangeCountRatio() const override
Get the ray count ratio (equivalent to aspect ratio)
Definition: gz/rendering/base/BaseGpuRays.hh:286
virtual int RayCount() const override
Get horizontal quantity of rays.
Definition: gz/rendering/base/BaseGpuRays.hh:335
virtual int RangeCount() const override
Get hoizontal range count, i.e. ray count * horz resolution.
Definition: gz/rendering/base/BaseGpuRays.hh:349
int vResolution
Resolution of vertical rays.
Definition: gz/rendering/base/BaseGpuRays.hh:186
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:293
bool isHorizontal
True if the sensor is horizontal only.
Definition: gz/rendering/base/BaseGpuRays.hh:162
bool clamping
True if data values are clamped to camera clip distances,.
Definition: gz/rendering/base/BaseGpuRays.hh:150
math::Angle vfov
Vertical field-of-view.
Definition: gz/rendering/base/BaseGpuRays.hh:159
virtual void SetVFOV(const math::Angle &_vfov)
Set the vertical fov.
Definition: gz/rendering/base/BaseGpuRays.hh:300
BaseGpuRays()
Constructor.
Definition: gz/rendering/base/BaseGpuRays.hh:196
virtual gz::math::Angle AngleMin() const override
Get minimal horizontal angle value.
Definition: gz/rendering/base/BaseGpuRays.hh:307