26 namespace visualization {
27 namespace visualizer {
47 std::set<SelectedIndex>>;
59 const std::map<std::string,
60 std::vector<std::pair<size_t, Eigen::Vector3d>>>&
63 const std::map<std::string,
64 std::vector<std::pair<size_t, Eigen::Vector3d>>>&
66 std::vector<SelectionSet>
GetSets();
76 const std::vector<gui::SceneWidget::PickableGeometry>& geometry);
79 void UpdatePointSize();
80 void UpdateSelectionGeometry();
86 struct SelectedPoints {
91 double point_size_ = 3.0;
92 bool is_active_ =
false;
93 size_t pick_order_ = 0;
94 std::vector<SelectedPoints> sets_;
95 int current_set_index_ = -1;
97 bool point_size_changed_ =
false;
void SetPointSize(double radius_world)
O3DVisualizerSelections(gui::SceneWidget &widget3d)
void SelectSet(int index)
~O3DVisualizerSelections()
void SelectIndices(const std::map< std::string, std::vector< std::pair< size_t, Eigen::Vector3d >>> &indices)
void SetSelectableGeometry(const std::vector< gui::SceneWidget::PickableGeometry > &geometry)
std::map< std::string, std::set< SelectedIndex > > SelectionSet
size_t GetNumberOfSets() const
std::vector< SelectionSet > GetSets()
void RemoveSet(int index)
void UnselectIndices(const std::map< std::string, std::vector< std::pair< size_t, Eigen::Vector3d >>> &indices)
Generic file read and write utility for python interface.
size_t order
the index of the point within the object
bool operator<(const SelectedIndex &rhs) const
bool operator!=(const SelectedIndex &rhs) const
the point in R^3 (for convenience)