Point Cloud Library (PCL)  1.14.1-dev
List of all members | Classes | Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes
OutofcoreCloud Class Reference

#include <pcl/outofcore/visualization/outofcore_cloud.h>

+ Inheritance diagram for OutofcoreCloud:
+ Collaboration diagram for OutofcoreCloud:

Classes

class  CloudDataCacheItem
 
struct  PcdQueueItem
 

Public Types

using PcdQueue = std::priority_queue< PcdQueueItem >
 
using CloudDataCache = LRUCache< std::string, CloudDataCacheItem >
 

Public Member Functions

 OutofcoreCloud (std::string name, boost::filesystem::path &tree_root)
 
void updateVoxelData ()
 
OctreeDiskPtr getOctree ()
 
vtkSmartPointer< vtkActor > getVoxelActor () const
 
vtkSmartPointer< vtkActorCollection > getCloudActors () const
 
void setDisplayDepth (int displayDepth)
 
int getDisplayDepth () const
 
std::uint64_t getPointsLoaded () const
 
std::uint64_t getDataLoaded () const
 
Eigen::Vector3d getBoundingBoxMin ()
 
Eigen::Vector3d getBoundingBoxMax ()
 
void setDisplayVoxels (bool display_voxels)
 
bool getDisplayVoxels ()
 
void setRenderCamera (Camera *render_camera)
 
int getLodPixelThreshold () const
 
void setLodPixelThreshold (int lod_pixel_threshold)
 
void increaseLodPixelThreshold ()
 
void decreaseLodPixelThreshold ()
 
void render (vtkRenderer *renderer) override
 
- Public Member Functions inherited from Object
 Object (std::string name)
 
virtual ~Object ()=default
 
std::string getName () const
 
void setName (std::string name)
 
bool hasActor (vtkActor *actor)
 
void addActor (vtkActor *actor)
 
void removeActor (vtkActor *actor)
 
vtkSmartPointer< vtkActorCollection > getActors ()
 

Static Public Member Functions

static void pcdReaderThread ()
 

Static Public Attributes

static std::shared_ptr< std::thread > pcd_reader_thread
 
static PcdQueue pcd_queue
 
static std::mutex pcd_queue_mutex
 
static std::condition_variable pcd_queue_ready
 
static CloudDataCache cloud_data_cache
 
static std::mutex cloud_data_cache_mutex
 

Additional Inherited Members

- Protected Attributes inherited from Object
vtkSmartPointer< vtkActorCollection > actors_
 
std::mutex actors_mutex_
 

Detailed Description

Definition at line 32 of file outofcore_cloud.h.

Member Typedef Documentation

◆ CloudDataCache

Definition at line 107 of file outofcore_cloud.h.

◆ PcdQueue

using OutofcoreCloud::PcdQueue = std::priority_queue<PcdQueueItem>

Definition at line 77 of file outofcore_cloud.h.

Constructor & Destructor Documentation

◆ OutofcoreCloud()

OutofcoreCloud::OutofcoreCloud ( std::string  name,
boost::filesystem::path &  tree_root 
)

Member Function Documentation

◆ decreaseLodPixelThreshold()

void OutofcoreCloud::decreaseLodPixelThreshold ( )
inline

Definition at line 242 of file outofcore_cloud.h.

◆ getBoundingBoxMax()

Eigen::Vector3d OutofcoreCloud::getBoundingBoxMax ( )
inline

Definition at line 187 of file outofcore_cloud.h.

◆ getBoundingBoxMin()

Eigen::Vector3d OutofcoreCloud::getBoundingBoxMin ( )
inline

Definition at line 181 of file outofcore_cloud.h.

◆ getCloudActors()

vtkSmartPointer<vtkActorCollection> OutofcoreCloud::getCloudActors ( ) const
inline

Definition at line 137 of file outofcore_cloud.h.

◆ getDataLoaded()

std::uint64_t OutofcoreCloud::getDataLoaded ( ) const
inline

Definition at line 175 of file outofcore_cloud.h.

◆ getDisplayDepth()

int OutofcoreCloud::getDisplayDepth ( ) const
inline

Definition at line 163 of file outofcore_cloud.h.

◆ getDisplayVoxels()

bool OutofcoreCloud::getDisplayVoxels ( )
inline

Definition at line 199 of file outofcore_cloud.h.

◆ getLodPixelThreshold()

int OutofcoreCloud::getLodPixelThreshold ( ) const
inline

Definition at line 211 of file outofcore_cloud.h.

◆ getOctree()

OctreeDiskPtr OutofcoreCloud::getOctree ( )
inline

Definition at line 125 of file outofcore_cloud.h.

◆ getPointsLoaded()

std::uint64_t OutofcoreCloud::getPointsLoaded ( ) const
inline

Definition at line 169 of file outofcore_cloud.h.

◆ getVoxelActor()

vtkSmartPointer<vtkActor> OutofcoreCloud::getVoxelActor ( ) const
inline

Definition at line 131 of file outofcore_cloud.h.

◆ increaseLodPixelThreshold()

void OutofcoreCloud::increaseLodPixelThreshold ( )
inline

Definition at line 226 of file outofcore_cloud.h.

◆ pcdReaderThread()

static void OutofcoreCloud::pcdReaderThread ( )
static

◆ render()

void OutofcoreCloud::render ( vtkRenderer *  renderer)
overridevirtual

Reimplemented from Object.

◆ setDisplayDepth()

void OutofcoreCloud::setDisplayDepth ( int  displayDepth)
inline

Definition at line 143 of file outofcore_cloud.h.

References updateVoxelData().

◆ setDisplayVoxels()

void OutofcoreCloud::setDisplayVoxels ( bool  display_voxels)
inline

Definition at line 193 of file outofcore_cloud.h.

◆ setLodPixelThreshold()

void OutofcoreCloud::setLodPixelThreshold ( int  lod_pixel_threshold)
inline

Definition at line 217 of file outofcore_cloud.h.

◆ setRenderCamera()

void OutofcoreCloud::setRenderCamera ( Camera render_camera)
inline

Definition at line 205 of file outofcore_cloud.h.

◆ updateVoxelData()

void OutofcoreCloud::updateVoxelData ( )

Referenced by setDisplayDepth().

Member Data Documentation

◆ cloud_data_cache

CloudDataCache OutofcoreCloud::cloud_data_cache
static

Definition at line 108 of file outofcore_cloud.h.

◆ cloud_data_cache_mutex

std::mutex OutofcoreCloud::cloud_data_cache_mutex
static

Definition at line 109 of file outofcore_cloud.h.

◆ pcd_queue

PcdQueue OutofcoreCloud::pcd_queue
static

Definition at line 78 of file outofcore_cloud.h.

◆ pcd_queue_mutex

std::mutex OutofcoreCloud::pcd_queue_mutex
static

Definition at line 79 of file outofcore_cloud.h.

◆ pcd_queue_ready

std::condition_variable OutofcoreCloud::pcd_queue_ready
static

Definition at line 80 of file outofcore_cloud.h.

◆ pcd_reader_thread

std::shared_ptr<std::thread> OutofcoreCloud::pcd_reader_thread
static

Definition at line 57 of file outofcore_cloud.h.


The documentation for this class was generated from the following file: