49 namespace visualization {
50 namespace visualizer {
59 Eigen::Vector3d point;
63 return index != rhs.
index;
66 return index < rhs.
index;
70 std::set<SelectedIndex>>;
77 void RemoveSet(
int index);
78 void SelectSet(
int index);
79 size_t GetNumberOfSets()
const;
82 const std::map<std::string,
83 std::vector<std::pair<size_t, Eigen::Vector3d>>>&
86 const std::map<std::string,
87 std::vector<std::pair<size_t, Eigen::Vector3d>>>&
89 std::vector<SelectionSet> GetSets();
92 void SetPointSize(
double radius_world);
96 bool IsActive()
const;
98 void SetSelectableGeometry(
99 const std::vector<gui::SceneWidget::PickableGeometry>& geometry);
102 void UpdatePointSize();
103 void UpdateSelectionGeometry();
109 struct SelectedPoints {
114 double point_size_ = 3.0;
115 bool is_active_ =
false;
116 size_t pick_order_ = 0;
117 std::vector<SelectedPoints> sets_;
118 int current_set_index_ = -1;
120 bool point_size_changed_ =
false;
size_t order
the index of the point within the object
Definition: O3DVisualizerSelections.h:58
Definition: O3DVisualizerSelections.h:56
Definition: PinholeCameraIntrinsic.cpp:35
Definition: O3DVisualizerSelections.h:54
bool operator!=(const SelectedIndex &rhs) const
the point in R^3 (for convenience)
Definition: O3DVisualizerSelections.h:62
std::map< std::string, std::set< SelectedIndex > > SelectionSet
Definition: O3DVisualizerSelections.h:70
std::string name
Definition: FilePCD.cpp:58
bool operator<(const SelectedIndex &rhs) const
Definition: O3DVisualizerSelections.h:65
size_t index
Definition: O3DVisualizerSelections.h:57