MCPcopy Create free account
hub / github.com/PointCloudLibrary/pcl / OutofcoreCloud

Method OutofcoreCloud

outofcore/src/visualization/outofcore_cloud.cpp:106–124  ·  view source on GitHub ↗

Operators -----------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

104// Operators
105// -----------------------------------------------------------------------------
106OutofcoreCloud::OutofcoreCloud (std::string name, boost::filesystem::path& tree_root) :
107 Object (name)
108{
109
110 // Create the pcd reader thread once for all outofcore nodes
111 if (!OutofcoreCloud::pcd_reader_thread)
112 OutofcoreCloud::pcd_reader_thread.reset (new std::thread (&OutofcoreCloud::pcdReaderThread));
113
114 octree_.reset (new OctreeDisk (tree_root, true));
115 octree_->getBoundingBox (bbox_min_, bbox_max_);
116
117 voxel_actor_ = vtkSmartPointer<vtkActor>::New ();
118
119 updateVoxelData ();
120
121 cloud_actors_ = vtkSmartPointer<vtkActorCollection>::New ();
122
123 addActor (voxel_actor_);
124}
125
126// Methods
127// -----------------------------------------------------------------------------

Callers

nothing calls this directly

Calls 3

NewFunction · 0.85
resetMethod · 0.45
getBoundingBoxMethod · 0.45

Tested by

no test coverage detected