Point Cloud Library (PCL)  1.11.0
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
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 ()
 
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

Definition at line 107 of file outofcore_cloud.h.

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

Definition at line 77 of file outofcore_cloud.h.

Constructor & Destructor Documentation

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

Member Function Documentation

void OutofcoreCloud::decreaseLodPixelThreshold ( )
inline

Definition at line 242 of file outofcore_cloud.h.

Eigen::Vector3d OutofcoreCloud::getBoundingBoxMax ( )
inline

Definition at line 187 of file outofcore_cloud.h.

Eigen::Vector3d OutofcoreCloud::getBoundingBoxMin ( )
inline

Definition at line 181 of file outofcore_cloud.h.

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

Definition at line 137 of file outofcore_cloud.h.

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

Definition at line 175 of file outofcore_cloud.h.

int OutofcoreCloud::getDisplayDepth ( ) const
inline

Definition at line 163 of file outofcore_cloud.h.

bool OutofcoreCloud::getDisplayVoxels ( )
inline

Definition at line 199 of file outofcore_cloud.h.

int OutofcoreCloud::getLodPixelThreshold ( ) const
inline

Definition at line 211 of file outofcore_cloud.h.

OctreeDiskPtr OutofcoreCloud::getOctree ( )
inline

Definition at line 125 of file outofcore_cloud.h.

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

Definition at line 169 of file outofcore_cloud.h.

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

Definition at line 131 of file outofcore_cloud.h.

void OutofcoreCloud::increaseLodPixelThreshold ( )
inline

Definition at line 226 of file outofcore_cloud.h.

static void OutofcoreCloud::pcdReaderThread ( )
static
void OutofcoreCloud::render ( vtkRenderer *  renderer)
overridevirtual

Reimplemented from Object.

void OutofcoreCloud::setDisplayDepth ( int  displayDepth)
inline

Definition at line 143 of file outofcore_cloud.h.

References updateVoxelData().

void OutofcoreCloud::setDisplayVoxels ( bool  display_voxels)
inline

Definition at line 193 of file outofcore_cloud.h.

void OutofcoreCloud::setLodPixelThreshold ( int  lod_pixel_threshold)
inline

Definition at line 217 of file outofcore_cloud.h.

void OutofcoreCloud::setRenderCamera ( Camera render_camera)
inline

Definition at line 205 of file outofcore_cloud.h.

void OutofcoreCloud::updateVoxelData ( )

Referenced by setDisplayDepth().

Member Data Documentation

CloudDataCache OutofcoreCloud::cloud_data_cache
static

Definition at line 108 of file outofcore_cloud.h.

std::mutex OutofcoreCloud::cloud_data_cache_mutex
static

Definition at line 109 of file outofcore_cloud.h.

PcdQueue OutofcoreCloud::pcd_queue
static

Definition at line 78 of file outofcore_cloud.h.

std::mutex OutofcoreCloud::pcd_queue_mutex
static

Definition at line 79 of file outofcore_cloud.h.

std::condition_variable OutofcoreCloud::pcd_queue_ready
static

Definition at line 80 of file outofcore_cloud.h.

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: