UnitySensors
UnitySensors.Sensor.LiDAR.DepthBufferLiDARSensor Class Reference
Inheritance diagram for UnitySensors.Sensor.LiDAR.DepthBufferLiDARSensor:
Collaboration diagram for UnitySensors.Sensor.LiDAR.DepthBufferLiDARSensor:

Protected Member Functions

override void Init ()
 
override void UpdateSensor ()
 
override void OnSensorDestroy ()
 
- Protected Member Functions inherited from UnitySensors.Sensor.LiDAR.LiDARSensor
override void Init ()
 
override void OnSensorDestroy ()
 
- Protected Member Functions inherited from UnitySensors.Sensor.UnitySensor
virtual void Update ()
 

Private Member Functions

void SetupCamera ()
 
void LoadScanData ()
 
void SetupJobs ()
 
bool LoadTexture ()
 

Private Attributes

int _texturePixelsNum = 1
 
Vector2Int _textureSizePerCamera
 
Transform _transform
 
JobHandle _jobHandle
 
IUpdateGaussianNoisesJob _updateGaussianNoisesJob
 
ITextureToPointsJob _textureToPointsJob
 
RenderTexture _rt
 
Texture2D _texture
 
NativeArray< float > _noises
 
NativeArray< Color > _pixels
 
NativeArray< float3 > _directions
 
NativeArray< int > _pixelIndices
 
int _camerasNum = 0
 
float _horizontalFOV
 

Additional Inherited Members

- Public Member Functions inherited from UnitySensors.Sensor.UnitySensor
delegate void OnSensorUpdated ()
 
- Public Attributes inherited from UnitySensors.Sensor.UnitySensor
OnSensorUpdated onSensorUpdated
 
- Properties inherited from UnitySensors.Sensor.LiDAR.LiDARSensor
ScanPattern scanPattern [get]
 
float minRange [get]
 
float maxRange [get]
 
float gaussianNoiseSigma [get]
 
float maxIntensity [get]
 
PointCloud< PointXYZI > pointCloud [get]
 
int pointsNum [get]
 
- Properties inherited from UnitySensors.Sensor.UnitySensor
float dt [get]
 
float time [get]
 
- Properties inherited from UnitySensors.Interface.Std.ITimeInterface
float time [get]
 
- Properties inherited from UnitySensors.Interface.Sensor.IPointCloudInterface< PointXYZI >
PointCloud< T > pointCloud [get]
 
int pointsNum [get]
 

Member Function Documentation

◆ Init()

override void UnitySensors.Sensor.LiDAR.DepthBufferLiDARSensor.Init ( )
protectedvirtual

Implements UnitySensors.Sensor.UnitySensor.

Here is the call graph for this function:

◆ LoadScanData()

void UnitySensors.Sensor.LiDAR.DepthBufferLiDARSensor.LoadScanData ( )
private
Here is the caller graph for this function:

◆ LoadTexture()

bool UnitySensors.Sensor.LiDAR.DepthBufferLiDARSensor.LoadTexture ( )
private
Here is the caller graph for this function:

◆ OnSensorDestroy()

override void UnitySensors.Sensor.LiDAR.DepthBufferLiDARSensor.OnSensorDestroy ( )
protectedvirtual

◆ SetupCamera()

void UnitySensors.Sensor.LiDAR.DepthBufferLiDARSensor.SetupCamera ( )
private
Here is the caller graph for this function:

◆ SetupJobs()

void UnitySensors.Sensor.LiDAR.DepthBufferLiDARSensor.SetupJobs ( )
private
Here is the caller graph for this function:

◆ UpdateSensor()

override void UnitySensors.Sensor.LiDAR.DepthBufferLiDARSensor.UpdateSensor ( )
protectedvirtual

Implements UnitySensors.Sensor.UnitySensor.

Here is the call graph for this function:

Member Data Documentation

◆ _camerasNum

int UnitySensors.Sensor.LiDAR.DepthBufferLiDARSensor._camerasNum = 0
private

◆ _directions

NativeArray<float3> UnitySensors.Sensor.LiDAR.DepthBufferLiDARSensor._directions
private

◆ _horizontalFOV

float UnitySensors.Sensor.LiDAR.DepthBufferLiDARSensor._horizontalFOV
private

◆ _jobHandle

JobHandle UnitySensors.Sensor.LiDAR.DepthBufferLiDARSensor._jobHandle
private

◆ _noises

NativeArray<float> UnitySensors.Sensor.LiDAR.DepthBufferLiDARSensor._noises
private

◆ _pixelIndices

NativeArray<int> UnitySensors.Sensor.LiDAR.DepthBufferLiDARSensor._pixelIndices
private

◆ _pixels

NativeArray<Color> UnitySensors.Sensor.LiDAR.DepthBufferLiDARSensor._pixels
private

◆ _rt

RenderTexture UnitySensors.Sensor.LiDAR.DepthBufferLiDARSensor._rt
private

◆ _texture

Texture2D UnitySensors.Sensor.LiDAR.DepthBufferLiDARSensor._texture
private

◆ _texturePixelsNum

int UnitySensors.Sensor.LiDAR.DepthBufferLiDARSensor._texturePixelsNum = 1
private

◆ _textureSizePerCamera

Vector2Int UnitySensors.Sensor.LiDAR.DepthBufferLiDARSensor._textureSizePerCamera
private

◆ _textureToPointsJob

ITextureToPointsJob UnitySensors.Sensor.LiDAR.DepthBufferLiDARSensor._textureToPointsJob
private

◆ _transform

Transform UnitySensors.Sensor.LiDAR.DepthBufferLiDARSensor._transform
private

◆ _updateGaussianNoisesJob

IUpdateGaussianNoisesJob UnitySensors.Sensor.LiDAR.DepthBufferLiDARSensor._updateGaussianNoisesJob
private

The documentation for this class was generated from the following file: