BRL-CAD

#include <dbi.h>

Public Member Functions

 BSelectState (DbiState *)
 
bool select_path (const char *path, bool update)
 
bool select_hpath (std::vector< unsigned long long > &hpath)
 
bool deselect_path (const char *path, bool update)
 
bool deselect_hpath (std::vector< unsigned long long > &hpath)
 
void clear ()
 
bool is_selected (unsigned long long)
 
bool is_active (unsigned long long)
 
bool is_active_parent (unsigned long long)
 
bool is_parent_obj (unsigned long long)
 
bool is_immediate_parent_obj (unsigned long long)
 
bool is_grand_parent_obj (unsigned long long)
 
std::vector< std::stringlist_selected_paths ()
 
void expand ()
 
void collapse ()
 
void refresh ()
 
bool draw_sync ()
 
unsigned long long state_hash ()
 
void characterize ()
 

Data Fields

std::unordered_map< unsigned long long, std::vector< unsigned long long > > selected
 
std::unordered_set< unsigned long long > active_paths
 
std::unordered_set< unsigned long long > active_parents
 
std::unordered_set< unsigned long long > immediate_parents
 
std::unordered_set< unsigned long long > grand_parents
 

Detailed Description

Definition at line 53 of file dbi.h.

Constructor & Destructor Documentation

◆ BSelectState()

Member Function Documentation

◆ select_path()

bool select_path ( const char *  path,
bool  update 
)

◆ select_hpath()

bool select_hpath ( std::vector< unsigned long long > &  hpath)

◆ deselect_path()

bool deselect_path ( const char *  path,
bool  update 
)

◆ deselect_hpath()

bool deselect_hpath ( std::vector< unsigned long long > &  hpath)

◆ clear()

void clear ( )

◆ is_selected()

bool is_selected ( unsigned long long  )

◆ is_active()

bool is_active ( unsigned long long  )

◆ is_active_parent()

bool is_active_parent ( unsigned long long  )

◆ is_parent_obj()

bool is_parent_obj ( unsigned long long  )

◆ is_immediate_parent_obj()

bool is_immediate_parent_obj ( unsigned long long  )

◆ is_grand_parent_obj()

bool is_grand_parent_obj ( unsigned long long  )

◆ list_selected_paths()

std::vector<std::string> list_selected_paths ( )

◆ expand()

void expand ( )

◆ collapse()

void collapse ( )

◆ refresh()

void refresh ( )

◆ draw_sync()

bool draw_sync ( )

◆ state_hash()

unsigned long long state_hash ( )

◆ characterize()

void characterize ( )

Field Documentation

◆ selected

std::unordered_map<unsigned long long, std::vector<unsigned long long> > selected

Definition at line 82 of file dbi.h.

◆ active_paths

std::unordered_set<unsigned long long> active_paths

Definition at line 83 of file dbi.h.

◆ active_parents

std::unordered_set<unsigned long long> active_parents

Definition at line 84 of file dbi.h.

◆ immediate_parents

std::unordered_set<unsigned long long> immediate_parents

Definition at line 93 of file dbi.h.

◆ grand_parents

std::unordered_set<unsigned long long> grand_parents

Definition at line 94 of file dbi.h.


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