Skip to content

Commit

Permalink
zero out the nitf writer stubs
Browse files Browse the repository at this point in the history
  • Loading branch information
mpgerlek committed Mar 26, 2012
1 parent c3846bc commit 33db7be
Showing 1 changed file with 0 additions and 27 deletions.
27 changes: 0 additions & 27 deletions include/pdal/drivers/nitf/Writer.hpp
Expand Up @@ -41,12 +41,6 @@
namespace pdal { namespace drivers { namespace nitf {


//
// The FauxWriter doesn't actually write to disk -- instead, it just
// record some summary stats about the data it is given.
//
// This writer knows only about three dimensions: X,Y,Z (as doubles).
//
class PDAL_DLL Writer : public pdal::Writer
{
public:
Expand All @@ -57,31 +51,10 @@ class PDAL_DLL Writer : public pdal::Writer
virtual void initialize();
virtual const Options getDefaultOptions() const;

// retrieve the summary info
double getMinX() const { return m_minimumX; }
double getMinY() const { return m_minimumY; }
double getMinZ() const { return m_minimumZ; }
double getMaxX() const { return m_maximumX; }
double getMaxY() const { return m_maximumY; }
double getMaxZ() const { return m_maximumZ; }
double getAvgX() const { return m_averageX; }
double getAvgY() const { return m_averageY; }
double getAvgZ() const { return m_averageZ; }

// for dumping
virtual boost::property_tree::ptree toPTree() const;

private:
double m_minimumX;
double m_minimumY;
double m_minimumZ;
double m_maximumX;
double m_maximumY;
double m_maximumZ;
double m_averageX;
double m_averageY;
double m_averageZ;

void writeBegin(boost::uint64_t targetNumPointsToWrite);
boost::uint32_t writeBuffer(const PointBuffer&);
void writeEnd(boost::uint64_t actualNumPointsWritten);
Expand Down

0 comments on commit 33db7be

Please sign in to comment.