Point Cloud Library (PCL)  1.9.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:

Classes

class  CloudDataCacheItem
 
struct  PcdQueueItem
 

Public Types

typedef std::priority_queue< PcdQueueItemPcdQueue
 
typedef LRUCache< std::string, CloudDataCacheItemCloudDataCache
 

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
 
uint64_t getPointsLoaded () const
 
uint64_t getDataLoaded () const
 
Eigen::Vector3d getBoundingBoxMin ()
 
Eigen::Vector3d getBoundingBoxMax ()
 
void setDisplayVoxels (bool display_voxels)
 
bool getDisplayVoxels ()
 
void setRenderCamera (Camera *render_camera)
 
int getLodPixelThreshold ()
 
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 boost::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 29 of file outofcore_cloud.h.

Member Typedef Documentation

Definition at line 104 of file outofcore_cloud.h.

typedef std::priority_queue<PcdQueueItem> OutofcoreCloud::PcdQueue

Definition at line 74 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 239 of file outofcore_cloud.h.

References render().

Eigen::Vector3d OutofcoreCloud::getBoundingBoxMax ( )
inline

Definition at line 184 of file outofcore_cloud.h.

Eigen::Vector3d OutofcoreCloud::getBoundingBoxMin ( )
inline

Definition at line 178 of file outofcore_cloud.h.

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

Definition at line 134 of file outofcore_cloud.h.

uint64_t OutofcoreCloud::getDataLoaded ( ) const
inline

Definition at line 172 of file outofcore_cloud.h.

int OutofcoreCloud::getDisplayDepth ( ) const
inline

Definition at line 160 of file outofcore_cloud.h.

bool OutofcoreCloud::getDisplayVoxels ( )
inline

Definition at line 196 of file outofcore_cloud.h.

int OutofcoreCloud::getLodPixelThreshold ( )
inline

Definition at line 208 of file outofcore_cloud.h.

OctreeDiskPtr OutofcoreCloud::getOctree ( )
inline

Definition at line 122 of file outofcore_cloud.h.

uint64_t OutofcoreCloud::getPointsLoaded ( ) const
inline

Definition at line 166 of file outofcore_cloud.h.

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

Definition at line 128 of file outofcore_cloud.h.

void OutofcoreCloud::increaseLodPixelThreshold ( )
inline

Definition at line 223 of file outofcore_cloud.h.

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

Reimplemented from Object.

Referenced by decreaseLodPixelThreshold().

void OutofcoreCloud::setDisplayDepth ( int  displayDepth)
inline

Definition at line 140 of file outofcore_cloud.h.

References updateVoxelData().

void OutofcoreCloud::setDisplayVoxels ( bool  display_voxels)
inline

Definition at line 190 of file outofcore_cloud.h.

void OutofcoreCloud::setLodPixelThreshold ( int  lod_pixel_threshold)
inline

Definition at line 214 of file outofcore_cloud.h.

void OutofcoreCloud::setRenderCamera ( Camera render_camera)
inline

Definition at line 202 of file outofcore_cloud.h.

void OutofcoreCloud::updateVoxelData ( )

Referenced by setDisplayDepth().

Member Data Documentation

CloudDataCache OutofcoreCloud::cloud_data_cache
static

Definition at line 105 of file outofcore_cloud.h.

std::mutex OutofcoreCloud::cloud_data_cache_mutex
static

Definition at line 106 of file outofcore_cloud.h.

PcdQueue OutofcoreCloud::pcd_queue
static

Definition at line 75 of file outofcore_cloud.h.

std::mutex OutofcoreCloud::pcd_queue_mutex
static

Definition at line 76 of file outofcore_cloud.h.

std::condition_variable OutofcoreCloud::pcd_queue_ready
static

Definition at line 77 of file outofcore_cloud.h.

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

Definition at line 54 of file outofcore_cloud.h.


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