liblas::Header const& WriterImpl::WriteHeader(liblas::Header const& header) { m_header_writer = HeaderWriterPtr(new writer::Header(m_ofs,m_pointCount, header) ); m_header_writer->write(); return m_header_writer->GetHeader(); }
WriterImpl::WriterImpl(std::ostream& ofs) : m_ofs(ofs), m_point_writer(PointWriterPtr( )), m_header_writer(HeaderWriterPtr()), m_pointCount(0) { }
void ZipWriterImpl::WriteHeader() { m_header_writer = HeaderWriterPtr(new writer::Header(m_ofs, m_pointCount, *m_header) ); m_header_writer->write(); m_header = HeaderPtr(new liblas::Header(m_header_writer->GetHeader())); }
ZipWriterImpl::ZipWriterImpl(std::ostream& ofs) : m_ofs(ofs), //m_point_writer(PointWriterPtr( )), m_header_writer(HeaderWriterPtr()), m_pointCount(0), m_zipper(NULL), m_zipPoint(NULL) { return; }