EPointCloud::SetAttribute

Sets the corresponding attribute at the given index.

Namespace: Euresys::Open_eVision::Easy3D

[C++]

void SetAttribute(
   int attribute,
   OEV_UINT32 index,
   OEV_UINT8 value
)

void SetAttribute(
   int attribute,
   OEV_UINT32 index,
   OEV_UINT16 value
)

void SetAttribute(
   int attribute,
   OEV_UINT32 index,
   OEV_UINT32 value
)

void SetAttribute(
   int attribute,
   OEV_UINT32 index,
   int value
)

void SetAttribute(
   int attribute,
   OEV_UINT32 index,
   float value
)

void SetAttribute(
   int attribute,
   OEV_UINT32 index,
   double value
)

void SetAttribute(
   int attribute,
   OEV_UINT32 index,
   const EC24A& value
)

void SetAttribute(
   int attribute,
   OEV_UINT32 index,
   const E3DPoint& value
)

Parameters

attribute

The attribute buffer id. Either an E3DAttribute or an id returned by EPointCloud::AddCustomAttributeBuffer.

index

The index of the element.

value

The new value of the element.

Remarks

This function does not perform an allocation. To add a new point with some attributes in the EPointCloud, use functions EPointCloud::AddPoint or EPointCloud::AddPoints which will add default value(s) to the attribute buffers that are initialized. Then, they can be set with this function. If the attribute has not been initialized or if the index is out of bound, it throws an EException.

EPointCloud.SetAttribute

Sets the corresponding attribute at the given index.

Namespace: Euresys.Open_eVision.Easy3D

[C#]

void SetAttribute(
   int attribute,
   uint index,
   byte value
)

void SetAttribute(
   int attribute,
   uint index,
   ushort value
)

void SetAttribute(
   int attribute,
   uint index,
   uint value
)

void SetAttribute(
   int attribute,
   uint index,
   int value
)

void SetAttribute(
   int attribute,
   uint index,
   float value
)

void SetAttribute(
   int attribute,
   uint index,
   double value
)

void SetAttribute(
   int attribute,
   uint index,
   Euresys.Open_eVision.EC24A value
)

void SetAttribute(
   int attribute,
   uint index,
   Euresys.Open_eVision.Easy3D.E3DPoint value
)

Parameters

attribute

The attribute buffer id. Either an E3DAttribute or an id returned by EPointCloud::AddCustomAttributeBuffer.

index

The index of the element.

value

The new value of the element.

Remarks

This function does not perform an allocation. To add a new point with some attributes in the EPointCloud, use functions EPointCloud::AddPoint or EPointCloud::AddPoints which will add default value(s) to the attribute buffers that are initialized. Then, they can be set with this function. If the attribute has not been initialized or if the index is out of bound, it throws an EException.