UnitySensors
UnitySensors.Sensor.Camera.DepthCameraSensor Class Reference
Inheritance diagram for UnitySensors.Sensor.Camera.DepthCameraSensor:
Collaboration diagram for UnitySensors.Sensor.Camera.DepthCameraSensor:

Protected Member Functions

override void Init ()
 
override void UpdateSensor ()
 
override void OnSensorDestroy ()
 
- Protected Member Functions inherited from UnitySensors.Sensor.Camera.CameraSensor
bool LoadTexture ()
 
- Protected Member Functions inherited from UnitySensors.Sensor.UnitySensor
virtual void Update ()
 

Properties

PointCloud< PointXYZpointCloud [get]
 
int pointsNum [get]
 
- Properties inherited from UnitySensors.Sensor.Camera.CameraSensor
Vector2Int resolution [get]
 
float maxRange [get]
 
UnityEngine.Camera m_camera [get]
 
Texture2D texture [get]
 
- Properties inherited from UnitySensors.Sensor.UnitySensor
float dt [get]
 
float time [get]
 
- Properties inherited from UnitySensors.Data.Texture.ITextureInterface
Texture2D texture [get]
 
- Properties inherited from UnitySensors.Data.PointCloud.IPointCloudInterface< PointXYZ >
PointCloud< T > pointCloud [get]
 
int pointsNum [get]
 

Private Member Functions

void SetupDirections ()
 
void SetupJob ()
 
void OnRenderImage (RenderTexture source, RenderTexture dest)
 

Private Attributes

float _gaussianNoiseSigma = 0.0f
 
Material _mat
 
JobHandle _jobHandle
 
IUpdateGaussianNoisesJob _updateGaussianNoisesJob
 
ITextureToPointsJob _textureToPointsJob
 
NativeArray< float > _noises
 
NativeArray< float3 > _directions
 
PointCloud< PointXYZ_pointCloud
 
int _pointsNum
 

Additional Inherited Members

- Public Member Functions inherited from UnitySensors.Sensor.UnitySensor
delegate void OnSensorUpdated ()
 
- Public Attributes inherited from UnitySensors.Sensor.UnitySensor
OnSensorUpdated onSensorUpdated
 

Member Function Documentation

◆ Init()

override void UnitySensors.Sensor.Camera.DepthCameraSensor.Init ( )
protectedvirtual

Reimplemented from UnitySensors.Sensor.Camera.CameraSensor.

Here is the call graph for this function:

◆ OnRenderImage()

void UnitySensors.Sensor.Camera.DepthCameraSensor.OnRenderImage ( RenderTexture  source,
RenderTexture  dest 
)
private

◆ OnSensorDestroy()

override void UnitySensors.Sensor.Camera.DepthCameraSensor.OnSensorDestroy ( )
protectedvirtual

Reimplemented from UnitySensors.Sensor.Camera.CameraSensor.

Here is the call graph for this function:

◆ SetupDirections()

void UnitySensors.Sensor.Camera.DepthCameraSensor.SetupDirections ( )
private
Here is the caller graph for this function:

◆ SetupJob()

void UnitySensors.Sensor.Camera.DepthCameraSensor.SetupJob ( )
private
Here is the caller graph for this function:

◆ UpdateSensor()

override void UnitySensors.Sensor.Camera.DepthCameraSensor.UpdateSensor ( )
protectedvirtual

Reimplemented from UnitySensors.Sensor.Camera.CameraSensor.

Here is the call graph for this function:

Member Data Documentation

◆ _directions

NativeArray<float3> UnitySensors.Sensor.Camera.DepthCameraSensor._directions
private

◆ _gaussianNoiseSigma

float UnitySensors.Sensor.Camera.DepthCameraSensor._gaussianNoiseSigma = 0.0f
private

◆ _jobHandle

JobHandle UnitySensors.Sensor.Camera.DepthCameraSensor._jobHandle
private

◆ _mat

Material UnitySensors.Sensor.Camera.DepthCameraSensor._mat
private

◆ _noises

NativeArray<float> UnitySensors.Sensor.Camera.DepthCameraSensor._noises
private

◆ _pointCloud

PointCloud<PointXYZ> UnitySensors.Sensor.Camera.DepthCameraSensor._pointCloud
private

◆ _pointsNum

int UnitySensors.Sensor.Camera.DepthCameraSensor._pointsNum
private

◆ _textureToPointsJob

ITextureToPointsJob UnitySensors.Sensor.Camera.DepthCameraSensor._textureToPointsJob
private

◆ _updateGaussianNoisesJob

IUpdateGaussianNoisesJob UnitySensors.Sensor.Camera.DepthCameraSensor._updateGaussianNoisesJob
private

Property Documentation

◆ pointCloud

PointCloud<PointXYZ> UnitySensors.Sensor.Camera.DepthCameraSensor.pointCloud
get

◆ pointsNum

int UnitySensors.Sensor.Camera.DepthCameraSensor.pointsNum
get

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