MCPcopy Create free account
hub / github.com/OpenNI/OpenNI / CopyFrom

Method CopyFrom

Include/XnCppWrapper.h:1021–1027  ·  view source on GitHub ↗

* Performs a deep-copy of another metadata object (including duplication of the data buffer) * * @param [in] other source object */

Source from the content-addressed store, hash-verified

1019 * @param [in] other source object
1020 */
1021 inline XnStatus CopyFrom(const ImageMetaData& other)
1022 {
1023 // copy props
1024 xnCopyImageMetaData(&m_image, &other.m_image);
1025 // and make a copy of the data (this will allocate and copy data)
1026 return MakeDataWritable();
1027 }
1028
1029 /**
1030 * @copybrief xn::MapMetaData::ReAdjust

Callers

nothing calls this directly

Calls 1

xnCopyImageMetaDataFunction · 0.85

Tested by

no test coverage detected