0116523a66
We directly use an instance of RangeDescriptor to avoid incurring the memory cost of using a StagingBuffer here. It's unnecessary since these stencils will always be 32bits large.
29 lines
604 B
C++
29 lines
604 B
C++
#ifndef _PCLOUD_AMBIENCE_STENCIL_H
|
|
#define _PCLOUD_AMBIENCE_STENCIL_H
|
|
|
|
#include <cstdint>
|
|
#include <cstddef>
|
|
#include <user/stencil.h>
|
|
|
|
namespace smo {
|
|
namespace stim_buff {
|
|
|
|
/**
|
|
* PcloudAmbienceStencil represents stencils for point cloud ambience data.
|
|
* This is a base class for device-specific implementations.
|
|
*/
|
|
class PcloudAmbienceStencil
|
|
: public smo::cologex::Stencil
|
|
{
|
|
public:
|
|
typedef uint32_t PcloudAmbienceStimulusValue;
|
|
|
|
PcloudAmbienceStencil() = default;
|
|
virtual ~PcloudAmbienceStencil() = default;
|
|
};
|
|
|
|
} // namespace stim_buff
|
|
} // namespace smo
|
|
|
|
#endif // _PCLOUD_AMBIENCE_STENCIL_H
|