28 #ifndef POINTBUFFER2_HPP 29 #define POINTBUFFER2_HPP 37 #include <boost/shared_array.hpp> 134 #endif // POINTBUFFER2_HPP A class to handle point information with an arbitrarily large number of attribute channels...
bool hasNormals() const
True, if buffer has normals.
void setNormalArray(floatArr normals, size_t n)
Datastructures for holding loaded data.
floatArr getNormalArray()
bool hasColors() const
True, if buffer contains colors.
boost::shared_array< unsigned char > ucharArr
std::shared_ptr< PointBuffer > PointBufferPtr
ucharArr getColorArray(size_t &w)
void setPointArray(floatArr points, size_t n)
boost::shared_array< float > floatArr
size_t numPoints() const
Returns the number of points in the buffer.
floatArr getPointArray()
Returns the internal point array.
PointBuffer clone() const
Makes a clone.
void setColorArray(ucharArr colors, size_t n, size_t width=3)
ChannelManager class Store and access AttributeChannels. It expands the MultiChannelMap with downwoar...