set/get/updateWidgetPose implemented, cloudNormals with color
This commit is contained in:
@@ -48,6 +48,10 @@ namespace temp_viz
|
||||
|
||||
void showWidget(const String &id, const Widget &widget, const Affine3f &pose = Affine3f::Identity());
|
||||
bool removeWidget(const String &id);
|
||||
|
||||
bool setWidgetPose(const String &id, const Affine3f &pose);
|
||||
bool updateWidgetPose(const String &id, const Affine3f &pose);
|
||||
Affine3f getWidgetPose(const String &id) const;
|
||||
private:
|
||||
Viz3d(const Viz3d&);
|
||||
Viz3d& operator=(const Viz3d&);
|
||||
|
||||
@@ -108,7 +108,7 @@ namespace temp_viz
|
||||
class CV_EXPORTS CloudNormalsWidget : public Widget
|
||||
{
|
||||
public:
|
||||
CloudNormalsWidget(InputArray _cloud, InputArray _normals, int level = 100, float scale = 0.02f);
|
||||
CloudNormalsWidget(InputArray _cloud, InputArray _normals, int level = 100, float scale = 0.02f, const Color &color = Color::white());
|
||||
private:
|
||||
struct ApplyCloudNormals;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user