FiberVISH 0.2
Fish - The Fiber Bundle API for the Vish Visualization Shell
Public Member Functions | Public Attributes | List of all members
Fiber::RegularlyFragmentedClusteredPointCloudGrid::FragmentWorker Struct Reference

Class which can be used, when working with one explicit fragment only, providing all required data arrays for the vertex cluster. More...

#include <RegularlyFragmentedClusteredPointCloudGrid.hpp>

Public Member Functions

 FragmentWorker (const RegularlyFragmentedClusteredPointCloudGrid &cluster_grid, const MultiIndex< 3 > &frag_index)
 
bool findCluster (const Eagle::PhysicalSpace::point &query_position, vc_index_t &cluster)
 get index of cluster int cluster topo
 
bool findVertexCluster (const Eagle::PhysicalSpace::point &query_position, VertexCluster &vertex_cluster)
 get start index and size of cluster in vertices
 
bool findVertexClustersOnLine (const Eagle::PhysicalSpace::point &line_start, const Eagle::PhysicalSpace::point &line_end, double distance, vector< VertexCluster > &vertex_clusters)
 
RefPtr< Chunk< vc_index_t > > findVertices (const Eagle::PhysicalSpace::point &query_position, double radius)
 

Public Attributes

const RegularlyFragmentedClusteredPointCloudGridClusterGrid
 
RefPtr< MemArray< 1, Eagle::PhysicalSpace::point > > VertexArray
 
CellArray_t CellArray
 
ClusterStartsArray_t ClusterStartsArray
 
ClusterArray_t ClusterArray
 
map< vc_index_t, vc_index_tFullIndexToSparseIndex
 

Detailed Description

Class which can be used, when working with one explicit fragment only, providing all required data arrays for the vertex cluster.