Skip to content

Commit

Permalink
Change some notation
Browse files Browse the repository at this point in the history
  • Loading branch information
oleg-alexandrov committed Nov 11, 2023
1 parent 3218df9 commit ec287b1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions examples/writing-streamer/streamer_tutorial.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -106,11 +106,11 @@ int main(int argc, char* argv[])
using namespace pdal;

// A point cloud. Only one point at a time will be in memory
StreamedPointCloud gr;
StreamedPointCloud stream_cloud;

// Will copy here each point and then stream it to disk
FixedPointTable t(1);
gr.prepare(t);
stream_cloud.prepare(t);

// Set the output filename
Options write_options;
Expand All @@ -122,7 +122,7 @@ int main(int argc, char* argv[])
Stage *writer = factory.createStage("writers.las");

// Stream the point cloud to disk
writer->setInput(gr);
writer->setInput(stream_cloud);
writer->setOptions(write_options);
writer->prepare(t);
writer->execute(t);
Expand Down

0 comments on commit ec287b1

Please sign in to comment.