53 ossimPointBlock::PointList::iterator iter = pointList.begin();
54 while (iter != pointList.end())
56 gpt = (*iter)->getPosition();
82 vector<ossimPointRecord::FIELD_CODES>::const_iterator iter;
87 iter = field_codes.begin();
88 while (iter != field_codes.end())
virtual ~ossimPointCloudHandler()
void normalizeBlock(ossimPointBlock &block)
virtual void getFileBlock(ossim_uint32 offset, ossimPointBlock &block, ossim_uint32 maxNumPoints=0xFFFFFFFF) const =0
Fetches up to maxNumPoints points starting at the dataset's <offset> in the order they appear in the ...
ossimRefPtr< ossimPointRecord > m_maxRecord
std::vector< ossimRefPtr< ossimPointRecord > > PointList
ossim_float32 getField(FIELD_CODES fc) const
Return the float value of the requested field.
virtual void getBounds(ossimGrect &bounds) const
virtual void clear()
Resets any storage to empty.
virtual void addPoint(ossimPointRecord *point)
Adds single point to the tail of the list.
bool pointWithin(const ossimGpt &gpt, bool considerHgt=false) const
METHOD: pointWithin(ossimGpt)
static ossim_uint32 DEFAULT_BLOCK_SIZE
unsigned int ossim_uint32
virtual ossim_uint32 size() const
Returns allocated size.
virtual void getBlock(const ossimGrect &bounds, ossimPointBlock &block) const
Fetches the block of points inside the block bounds.
virtual void rewind() const
ossim_uint32 m_currentPID
const ossimGpt & getPosition() const
Returns the 3D position vector in the dataset's coodinate reference system (available from the ossimP...
void setField(FIELD_CODES fc, ossim_float32 value)
vector< ossimPointRecord::FIELD_CODES > getFieldCodesAsList() const
Base class for all point-cloud file readers.
ossimRefPtr< ossimPointRecord > m_minRecord
RTTI_DEF1(ossimPointCloudHandler, "ossimPointCloudHandler", ossimPointCloudSource)
virtual void getNextFileBlock(ossimPointBlock &block, ossim_uint32 maxNumPoints=0xFFFFFFFF) const
virtual const PointList & getPoints() const