4#include "CommonTypes.h"
5#include "ErrorStatus.h"
10class ProfileBatchImpl;
47 MMIND_API_EXPORT
size_t width()
const;
52 MMIND_API_EXPORT
size_t height()
const;
104 std::shared_ptr<ProfileBatchImpl> _impl;
105 friend class ProfilerImpl;
Represents the data structure of the profile data.
Represents a batch of profiles.
MMIND_API_EXPORT DepthMap getDepthMap() const
Gets the depth map data in the batch.
MMIND_API_EXPORT ErrorStatus getErrorStatus() const
Gets the error code and description of the function.
MMIND_API_EXPORT void clear()
Clears the data in the ProfileBatch object.
MMIND_API_EXPORT size_t height() const
Returns the height of the ProfileBatch object (number of profiles in the batch).
MMIND_API_EXPORT ProfileIndexArray getProfileIndexArray() const
Gets an array of indices of all profiles in the batch.
MMIND_API_EXPORT ~ProfileBatch()=default
Default destructor.
MMIND_API_EXPORT IntensityImage getIntensityImage() const
Gets the intensity image data in the batch.
MMIND_API_EXPORT void append(const ProfileBatch &batch)
Appends the data of one ProfileBatch object to another.
MMIND_API_EXPORT ProfileBatch(size_t width)
Constructor with parameter.
MMIND_API_EXPORT size_t width() const
Returns the width of the ProfileBatch object (number of data points per profile).
MMIND_API_EXPORT EncoderArray getEncoderArray() const
Gets an array of encoder values of all profiles in the batch.
MMIND_API_EXPORT bool isEmpty() const
Checks if the ProfileBatch object has no elements.
MMIND_API_EXPORT Profile getProfile(size_t profileIndex) const
Gets a profile in the batch by inputting the index of the profile.
MMIND_API_EXPORT void reserve(size_t height)
Reserves the input height for the ProfileBatch object.
Represents a single profile.
const unsigned char * intensity
Pointer to the intensity values of the profile.
unsigned int encoder
Corresponding encoder value of the profile.
const float * depth
Pointer to the depth values of the profile.
unsigned int profileIndex
Index of the profile.