|
|
|
@ -27,7 +27,7 @@ namespace temp_viz |
|
|
|
|
|
|
|
|
|
void addCoordinateSystem(double scale, const Affine3f& t, const String &id = "coordinate"); |
|
|
|
|
|
|
|
|
|
void showPointCloud(const String& id, InputArray cloud, InputArray colors, const Affine3f& pose = Affine3f::Identity()); |
|
|
|
|
void showPointCloud(const String& id, InputArray cloud, InputArray colors, const Affine3f& pose = Affine3f::Identity()); |
|
|
|
|
|
|
|
|
|
bool addPointCloudNormals (const Mat &cloud, const Mat& normals, int level = 100, float scale = 0.02f, const String &id = "cloud"); |
|
|
|
|
|
|
|
|
@ -52,9 +52,10 @@ namespace temp_viz |
|
|
|
|
void spin (); |
|
|
|
|
void spinOnce (int time = 1, bool force_redraw = false); |
|
|
|
|
|
|
|
|
|
void registerKeyboardCallback(void (*callback)(const cv::KeyboardEvent&, void*), void* cookie = 0); |
|
|
|
|
void registerMouseCallback(void (*callback)(const cv::MouseEvent&, void*), void* cookie = 0); |
|
|
|
|
void registerKeyboardCallback(void (*callback)(const cv::KeyboardEvent&, void*), void* cookie = 0); |
|
|
|
|
void registerMouseCallback(void (*callback)(const cv::MouseEvent&, void*), void* cookie = 0); |
|
|
|
|
|
|
|
|
|
bool wasStopped() const; |
|
|
|
|
private: |
|
|
|
|
Viz3d(const Viz3d&); |
|
|
|
|
Viz3d& operator=(const Viz3d&); |
|
|
|
|