EPointCloud::AllocateAttributeBuffer

Allocates an attribute buffer and fills it with defaultValue if the cloud is not empty.

Namespace: Euresys::Open_eVision::Easy3D

[C++]

void AllocateAttributeBuffer(
   int attribute,
   OEV_UINT8 defaultValue
)

void AllocateAttributeBuffer(
   int attribute,
   OEV_UINT16 defaultValue
)

void AllocateAttributeBuffer(
   int attribute,
   OEV_UINT32 defaultValue
)

void AllocateAttributeBuffer(
   int attribute,
   int defaultValue
)

void AllocateAttributeBuffer(
   int attribute,
   float defaultValue
)

void AllocateAttributeBuffer(
   int attribute,
   double defaultValue
)

void AllocateAttributeBuffer(
   int attribute,
   const EC24A& defaultValue
)

void AllocateAttributeBuffer(
   int attribute,
   const E3DPoint& defaultValue
)

Parameters

attribute

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

defaultValue

The value used to set the attribute when the EPointCloud grows (see EPointCloud::AddPoint, EPointCloud::AddPoints and EPointCloud::AddPointCloud).

Remarks

If the data type is not correct depending on the E3DAttribute, it throws an EException with an EError.

EPointCloud.AllocateAttributeBuffer

Allocates an attribute buffer and fills it with defaultValue if the cloud is not empty.

Namespace: Euresys.Open_eVision.Easy3D

[C#]

void AllocateAttributeBuffer(
   int attribute,
   byte defaultValue
)

void AllocateAttributeBuffer(
   int attribute,
   ushort defaultValue
)

void AllocateAttributeBuffer(
   int attribute,
   uint defaultValue
)

void AllocateAttributeBuffer(
   int attribute,
   int defaultValue
)

void AllocateAttributeBuffer(
   int attribute,
   float defaultValue
)

void AllocateAttributeBuffer(
   int attribute,
   double defaultValue
)

void AllocateAttributeBuffer(
   int attribute,
   Euresys.Open_eVision.EC24A defaultValue
)

void AllocateAttributeBuffer(
   int attribute,
   Euresys.Open_eVision.Easy3D.E3DPoint defaultValue
)

Parameters

attribute

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

defaultValue

The value used to set the attribute when the EPointCloud grows (see EPointCloud::AddPoint, EPointCloud::AddPoints and EPointCloud::AddPointCloud).

Remarks

If the data type is not correct depending on the E3DAttribute, it throws an EException with an EError.