예제 #1
0
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();
}
예제 #2
0
WriterImpl::WriterImpl(std::ostream& ofs) :
    m_ofs(ofs), 
    m_point_writer(PointWriterPtr( )), 
    m_header_writer(HeaderWriterPtr()), 
    m_pointCount(0)
{
}
예제 #3
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()));
}
예제 #4
0
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;
}