From 90878b9823ba1eafc1ca17d7abcf52db6c61fbda Mon Sep 17 00:00:00 2001 From: Howard Butler Date: Thu, 1 Mar 2012 18:31:03 -0600 Subject: [PATCH] provide access to the PointBuffer& via getBuffer() method --- include/pdal/StageIterator.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/pdal/StageIterator.hpp b/include/pdal/StageIterator.hpp index 3696101b29..0fbcdcdcb5 100644 --- a/include/pdal/StageIterator.hpp +++ b/include/pdal/StageIterator.hpp @@ -97,6 +97,8 @@ class PDAL_DLL StageIterator // used to control intermediate buffering needed by some stages void setChunkSize(boost::uint32_t size); boost::uint32_t getChunkSize() const; + + PointBuffer& getBuffer() { return m_buffer; } protected: virtual void readBeginImpl() {}