34 #warning "this header must not be included without ICL_HAVE_PCL defined" 42 template<
class PCLPo
intType>
class PointCloud;
62 template<
class PCLPo
intType>
64 pcl::PointCloud<PCLPointType> *
m_pcl;
81 template<
class T,
int N, FeatureType t>
122 pcl::PointCloud<PCLPointType> &
pcl() ;
125 const pcl::PointCloud<PCLPointType> &
pcl()
const ;
128 void setPCL(
const pcl::PointCloud<PCLPointType> &
pcl);
143 virtual int getDim()
const;
void deletePCL()
savely delets the pcl_image
virtual int getDim() const
return the linearily ordered number of point in the point cloud
virtual core::DataSegment< float, 4 > selectRGBA32f()
well known feature RGBA (4 float values, ordred RGBA)
pcl::PointCloud< PCLPointType > * m_pcl
internal pcl::PointCloud data pointer
Definition: PCLPointCloudObject.h:64
undocument this line if you encounter any issues!
Definition: Any.h:37
Ipp8u icl8u
8Bit unsigned integer type for the ICL
Definition: BasicTypes.h:64
Base class for point cloud data types.
Definition: PointCloudObjectBase.h:98
virtual core::DataSegment< icl32s, 1 > selectLabel()
well known feature Intensity (single 32bit int values)
virtual core::DataSegment< icl32s, 1 > selectBGRA32s()
well known feature Intensity (single int value encoding byte-wise BGRA)
icl8u * data()
returns the data orignin pointer
bool m_ownPCL
ownership flag
Definition: PCLPointCloudObject.h:65
virtual core::DataSegment< float, 4 > selectXYZH()
common way to store XYZ-data (4th float define homogeneous part)
virtual core::DataSegment< icl8u, 4 > selectBGRA()
well known feature Intensity (four byte vectors ordered BGRA)
PCLPointCloudObject(int width, int height=-1, const PCLPointType &init=PCLPointType())
creates a PCLPointCloudObject with given width height and intial value
virtual utils::Size getSize() const
returns the 2D size of the pointcloud (throws exception if not ordered)
pcl::PointCloud< PCLPointType > & pcl()
grants access to the underlying pcl-point-cloud
Abstract data segment class.
Definition: DataSegmentBase.h:99
PCLPointType Entry
internally used typedef
Definition: PCLPointCloudObject.h:68
virtual core::DataSegmentBase select(const std::string &featureName)
selects a dynamic feature
PointCloudObject implementation for the PCLPointCloud types.
Definition: PCLPointCloudObject.h:63
virtual void setSize(const utils::Size &size)
adapts the point cloud size
void setPCL(const pcl::PointCloud< PCLPointType > &pcl)
sets wrapped PCL point cloud (const, always deeply copied)
FeatureType
List of well known features.
Definition: PointCloudObjectBase.h:150
Size class of the ICL.
Definition: Size.h:61
virtual core::DataSegment< icl8u, 3 > selectBGR()
well known feature Intensity (three byte vectors ordered BGR)
virtual bool supports(FeatureType t) const
generic version, that trys to get an offset (can be optimized with specialization)
virtual core::DataSegment< float, 3 > selectXYZ()
well know features XYZ (three floats, this feature must usually be available)
virtual void deepCopy(PointCloudObjectBase &dst) const
deeply copies all well-known features that are shared by this and dst
virtual core::DataSegment< float, 1 > selectIntensity()
well known feature Intensity (single float values)
virtual PCLPointCloudObject< PCLPointType > * copy() const
deep copy interface
int offset(FeatureType) const
this is actually specialized for the different types
~PCLPointCloudObject()
Destructor.
PCLPointCloudObject< PCLPointType > & operator=(const PCLPointCloudObject< PCLPointType > &other)
deeply copying assignment operator
core::DataSegment< T, N > createSegment()
creates a data segment for a given feature type
virtual core::DataSegment< float, 4 > selectNormal()
well known feature Normal (4 float values)
The DataSegment class defines a strided data segment (or 1D or 2D ordred array of vectors)
Definition: DataSegment.h:147
virtual bool isOrganized() const
returns whether pointcloud is 2D organized