MCPcopy Create free account
hub / github.com/PDAL/PDAL / ready

Method ready

io/GltfWriter.cpp:121–131  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

119
120
121void GltfWriter::ready(PointTableRef table)
122{
123 m_stream.reset(new OLeStream(filename()));
124
125 // We write the data before we write the header. To facilitate, we seek
126 // to a point where we're pretty darn sure that we can write the header
127 // with no problem later. We'll verify and throw an error if the
128 // assumption is bad.
129 m_stream->seek(HeaderSize + JsonChunkDataSize + (2 * ChunkHeaderSize));
130 m_binSize = 0;
131}
132
133
134void GltfWriter::write(const PointViewPtr v)

Callers

nothing calls this directly

Calls 2

resetMethod · 0.45
seekMethod · 0.45

Tested by

no test coverage detected