EPointCloud::AddCustomAttributeBuffer
Allocates and copies the data to the new custom attribute buffer.
Namespace: Euresys::Open_eVision::Easy3D
[C++]
int AddCustomAttributeBuffer(
const std::vector<OEV_UINT8>& data
)
int AddCustomAttributeBuffer(
const std::vector<OEV_UINT8>& data,
OEV_UINT8 defaultValue
)
int AddCustomAttributeBuffer(
const std::vector<OEV_UINT16>& data
)
int AddCustomAttributeBuffer(
const std::vector<OEV_UINT16>& data,
OEV_UINT16 defaultValue
)
int AddCustomAttributeBuffer(
const std::vector<OEV_UINT32>& data
)
int AddCustomAttributeBuffer(
const std::vector<OEV_UINT32>& data,
OEV_UINT32 defaultValue
)
int AddCustomAttributeBuffer(
const std::vector<int>& data
)
int AddCustomAttributeBuffer(
const std::vector<int>& data,
int defaultValue
)
int AddCustomAttributeBuffer(
const std::vector<float>& data
)
int AddCustomAttributeBuffer(
const std::vector<float>& data,
float defaultValue
)
int AddCustomAttributeBuffer(
const std::vector<double>& data
)
int AddCustomAttributeBuffer(
const std::vector<double>& data,
double defaultValue
)
int AddCustomAttributeBuffer(
const std::vector<Euresys::Open_eVision::EC24A>& data
)
int AddCustomAttributeBuffer(
const std::vector<Euresys::Open_eVision::EC24A>& data,
const EC24A& defaultValue
)
int AddCustomAttributeBuffer(
const std::vector<Euresys::Open_eVision::Easy3D::E3DPoint>& data
)
int AddCustomAttributeBuffer(
const std::vector<Euresys::Open_eVision::Easy3D::E3DPoint>& data,
const E3DPoint& defaultValue
)
Parameters
data
The address of the external attribute buffer. The buffer should be of the same length as the EPointCloud (see EPointCloud::NumPoints).
defaultValue
The value used to set the attribute when the EPointCloud grows (see EPointCloud::AddPoint, EPointCloud::AddPoints and EPointCloud::AddPointCloud).
Remarks
An exception is also thrown if data is nullptr, if you don't want to specify the data, use EPointCloud::AllocateCustomAttributeBuffer.
EPointCloud.AddCustomAttributeBuffer
Allocates and copies the data to the new custom attribute buffer.
Namespace: Euresys.Open_eVision.Easy3D
[C#]
int AddCustomAttributeBuffer(
byte[] data
)
int AddCustomAttributeBuffer(
byte[] data,
byte defaultValue
)
int AddCustomAttributeBuffer(
ushort[] data
)
int AddCustomAttributeBuffer(
ushort[] data,
ushort defaultValue
)
int AddCustomAttributeBuffer(
uint[] data
)
int AddCustomAttributeBuffer(
uint[] data,
uint defaultValue
)
int AddCustomAttributeBuffer(
int[] data
)
int AddCustomAttributeBuffer(
int[] data,
int defaultValue
)
int AddCustomAttributeBuffer(
float[] data
)
int AddCustomAttributeBuffer(
float[] data,
float defaultValue
)
int AddCustomAttributeBuffer(
double[] data
)
int AddCustomAttributeBuffer(
double[] data,
double defaultValue
)
int AddCustomAttributeBuffer(
Euresys.Open_eVision.EC24A[] data
)
int AddCustomAttributeBuffer(
Euresys.Open_eVision.EC24A[] data,
Euresys.Open_eVision.EC24A defaultValue
)
int AddCustomAttributeBuffer(
Euresys.Open_eVision.Easy3D.E3DPoint[] data
)
int AddCustomAttributeBuffer(
Euresys.Open_eVision.Easy3D.E3DPoint[] data,
Euresys.Open_eVision.Easy3D.E3DPoint defaultValue
)
Parameters
data
The address of the external attribute buffer. The buffer should be of the same length as the EPointCloud (see EPointCloud::NumPoints).
defaultValue
The value used to set the attribute when the EPointCloud grows (see EPointCloud::AddPoint, EPointCloud::AddPoints and EPointCloud::AddPointCloud).
Remarks
An exception is also thrown if data is nullptr, if you don't want to specify the data, use EPointCloud::AllocateCustomAttributeBuffer.