EPointCloud::GetAttribute

Retrieve the value of an attribute.

Namespace: Euresys::Open_eVision::Easy3D

[C++]

void GetAttribute(
   int attribute,
   OEV_UINT32 index,
   OEV_UINT8& value
)

void GetAttribute(
   int attribute,
   OEV_UINT32 index,
   OEV_UINT16& value
)

void GetAttribute(
   int attribute,
   OEV_UINT32 index,
   OEV_UINT32& value
)

void GetAttribute(
   int attribute,
   OEV_UINT32 index,
   int& value
)

void GetAttribute(
   int attribute,
   OEV_UINT32 index,
   float& value
)

void GetAttribute(
   int attribute,
   OEV_UINT32 index,
   double& value
)

void GetAttribute(
   int attribute,
   OEV_UINT32 index,
   EC24A& value
)

void GetAttribute(
   int attribute,
   OEV_UINT32 index,
   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

Where the attribute value will be stored.

Remarks

If the attribute has not been initialized or if the index is out of bound, it throws an EException.

EPointCloud.GetAttribute

Retrieve the value of an attribute.

Namespace: Euresys.Open_eVision.Easy3D

[C#]

void GetAttribute(
   int attribute,
   uint index,
   out byte value
)

void GetAttribute(
   int attribute,
   uint index,
   out ushort value
)

void GetAttribute(
   int attribute,
   uint index,
   out uint value
)

void GetAttribute(
   int attribute,
   uint index,
   out int value
)

void GetAttribute(
   int attribute,
   uint index,
   out float value
)

void GetAttribute(
   int attribute,
   uint index,
   out double value
)

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

void GetAttribute(
   int attribute,
   uint index,
   out 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

Where the attribute value will be stored.

Remarks

If the attribute has not been initialized or if the index is out of bound, it throws an EException.