class cv::viz::WCircle
Overview
This 3D Widget defines a circle. Moreā¦
#include <widgets.hpp> class WCircle: public cv::viz::Widget3D { public: // construction WCircle( double radius, double thickness = 0.01, const Color& color = Color::white() ); WCircle( double radius, const Point3d& center, const Vec3d& normal, double thickness = 0.01, const Color& color = Color::white() ); };
Inherited Members
public: // methods template <typename _W> _W cast(); Widget2D cast(); WWidgetMerger cast(); double getRenderingProperty(int property) const; Widget& operator=(const Widget& other); void setRenderingProperty( int property, double value ); static Widget fromPlyFile(const String& file_name); void applyTransform(const Affine3d& transform); Affine3d getPose() const; void setColor(const Color& color); void setPose(const Affine3d& pose); void updatePose(const Affine3d& pose);
Detailed Documentation
This 3D Widget defines a circle.
Construction
WCircle( double radius, double thickness = 0.01, const Color& color = Color::white() )
Constructs default planar circle centred at origin with plane normal along z-axis.
Parameters:
radius | Radius of the circle. |
thickness | Thickness of the circle. |
color | Color of the circle. |
WCircle( double radius, const Point3d& center, const Vec3d& normal, double thickness = 0.01, const Color& color = Color::white() )
Constructs repositioned planar circle.
Parameters:
radius | Radius of the circle. |
center | Center of the circle. |
normal | Normal of the plane in which the circle lies. |
thickness | Thickness of the circle. |
color | Color of the circle. |