Skip to content

Class ILLIXR::spatial_hash

ClassList > ILLIXR > spatial_hash

Public Attributes

Type Name
unsigned VB_skipped_
std::unordered_map< unsigned, std::vector< NewVB > > allocate_new_VB_
unsigned delete_counter_
std::vector< std::pair< int, int > > deleted_ranges_
std::vector< int > faces_
std::vector< int > faces_base_
std::unordered_map< unsigned, std::vector< Vector_range > > map_VB_to_range_
std::vector< Nullified_Ranges > nullified_ranges
std::set< std::tuple< int, int, int, int > > older_scene_vb_list
std::vector< Eigen::Vector3d > vertices_

Public Functions

Type Name
void append_mesh_allocate (const std::unordered_map< unsigned, std::vector< NewVB > > & inputSceneUpdateMap)
unsigned append_mesh_match_and_insert (bool merge)
void clean_mesh_vb_redesign_with_list (const std::set< std::tuple< int, int, int > > & vb_lists)
void deleted_ranges_processing ()
void print_mesh_as_obj (unsigned frame_id, unsigned type, const std::string & tr)
void restore_deleted_faces ()
spatial_hash ()

Public Static Functions

Type Name
unsigned hash_vb (const VoxelBlockIndex & Index)

Public Attributes Documentation

variable VB_skipped_

unsigned ILLIXR::spatial_hash::VB_skipped_;

variable allocate_new_VB_

std::unordered_map<unsigned, std::vector<NewVB> > ILLIXR::spatial_hash::allocate_new_VB_;

variable delete_counter_

unsigned ILLIXR::spatial_hash::delete_counter_;

variable deleted_ranges_

std::vector<std::pair<int, int> > ILLIXR::spatial_hash::deleted_ranges_;

variable faces_

std::vector<int> ILLIXR::spatial_hash::faces_;

variable faces_base_

std::vector<int> ILLIXR::spatial_hash::faces_base_;

variable map_VB_to_range_

std::unordered_map<unsigned, std::vector<Vector_range> > ILLIXR::spatial_hash::map_VB_to_range_;

variable nullified_ranges

std::vector<Nullified_Ranges> ILLIXR::spatial_hash::nullified_ranges;

variable older_scene_vb_list

std::set<std::tuple<int, int, int, int> > ILLIXR::spatial_hash::older_scene_vb_list;

variable vertices_

std::vector<Eigen::Vector3d> ILLIXR::spatial_hash::vertices_;

Public Functions Documentation

function append_mesh_allocate

void ILLIXR::spatial_hash::append_mesh_allocate (
    const std::unordered_map< unsigned, std::vector< NewVB > > & inputSceneUpdateMap
) 

function append_mesh_match_and_insert

unsigned ILLIXR::spatial_hash::append_mesh_match_and_insert (
    bool merge
) 

function clean_mesh_vb_redesign_with_list

void ILLIXR::spatial_hash::clean_mesh_vb_redesign_with_list (
    const std::set< std::tuple< int, int, int > > & vb_lists
) 

function deleted_ranges_processing

void ILLIXR::spatial_hash::deleted_ranges_processing () 

function print_mesh_as_obj

void ILLIXR::spatial_hash::print_mesh_as_obj (
    unsigned frame_id,
    unsigned type,
    const std::string & tr
) 

function restore_deleted_faces

void ILLIXR::spatial_hash::restore_deleted_faces () 

function spatial_hash

ILLIXR::spatial_hash::spatial_hash () 

Public Static Functions Documentation

function hash_vb

static unsigned ILLIXR::spatial_hash::hash_vb (
    const VoxelBlockIndex & Index
) 


The documentation for this class was generated from the following file /home/friedel/devel/ILLIXR/ILLIXR/plugins/ada/scene_management/spatial_hash.hpp