Skip to content

Commit

Permalink
more drivers.nitf.writer tweaking
Browse files Browse the repository at this point in the history
  • Loading branch information
hobu committed Jan 7, 2013
1 parent 9a875c3 commit b32061e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 10 deletions.
3 changes: 2 additions & 1 deletion include/pdal/drivers/nitf/Writer.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@ class PDAL_DLL Writer : public pdal::drivers::las::Writer
virtual boost::property_tree::ptree toPTree() const;

private:
void ctor();

virtual void writeBegin(boost::uint64_t targetNumPointsToWrite);
virtual void writeBufferBegin(PointBuffer const&);
Expand All @@ -96,6 +95,8 @@ class PDAL_DLL Writer : public pdal::drivers::las::Writer

Writer& operator=(const Writer&); // not implemented
Writer(const Writer&); // not implemented

bool m_bCreatedFile;
};


Expand Down
11 changes: 2 additions & 9 deletions src/drivers/nitf/Writer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -67,18 +67,11 @@ namespace nitf

Writer::Writer(Stage& prevStage, const Options& options)
: pdal::drivers::las::Writer(prevStage, options)
, m_bCreatedFile(false)
{
ctor();
return;
}


void Writer::ctor()
{
return;
}


Writer::~Writer()
{
return;
Expand Down Expand Up @@ -108,7 +101,7 @@ void Writer::writeBegin(boost::uint64_t targetNumPointsToWrite)
// call super class
pdal::drivers::las::Writer::writeBegin(targetNumPointsToWrite);

// mpg::NITFCreate(m_filename.c_str(), 1, 1, 1, 1, NULL, NULL);
NITFCreate(m_filename.c_str(), 1, 1, 1, 1, NULL, NULL);

return;
}
Expand Down

0 comments on commit b32061e

Please sign in to comment.