Commit 4e180070 authored by Anatoly Baksheev's avatar Anatoly Baksheev

fixed white spaces

parent d29c3d2f
...@@ -102,7 +102,7 @@ The Viz3d class represents a 3D visualizer window. This class is implicitly shar ...@@ -102,7 +102,7 @@ The Viz3d class represents a 3D visualizer window. This class is implicitly shar
void setWidgetPose(const String &id, const Affine3d &pose); void setWidgetPose(const String &id, const Affine3d &pose);
void updateWidgetPose(const String &id, const Affine3d &pose); void updateWidgetPose(const String &id, const Affine3d &pose);
Affine3d getWidgetPose(const String &id) const; Affine3d getWidgetPose(const String &id) const;
void showImage(InputArray image, const Size& window_size = Size(-1, -1)); void showImage(InputArray image, const Size& window_size = Size(-1, -1));
void setCamera(const Camera &camera); void setCamera(const Camera &camera);
...@@ -474,7 +474,7 @@ This class wraps mesh attributes, and it can load a mesh from a ``ply`` file. :: ...@@ -474,7 +474,7 @@ This class wraps mesh attributes, and it can load a mesh from a ``ply`` file. ::
public: public:
Mat cloud, colors, normals; Mat cloud, colors, normals;
//! Raw integer list of the form: (n,id1,id2,...,idn, n,id1,id2,...,idn, ...) //! Raw integer list of the form: (n,id1,id2,...,idn, n,id1,id2,...,idn, ...)
//! where n is the number of points in the poligon, and id is a zero-offset index into an associated cloud. //! where n is the number of points in the poligon, and id is a zero-offset index into an associated cloud.
Mat polygons; Mat polygons;
...@@ -522,7 +522,7 @@ Constructs a KeyboardEvent. ...@@ -522,7 +522,7 @@ Constructs a KeyboardEvent.
:param symbol: Name of the key. :param symbol: Name of the key.
:param code: Code of the key. :param code: Code of the key.
:param modifiers: Signals if ``alt``, ``ctrl`` or ``shift`` are pressed or their combination. :param modifiers: Signals if ``alt``, ``ctrl`` or ``shift`` are pressed or their combination.
viz::MouseEvent viz::MouseEvent
--------------- ---------------
......
...@@ -207,7 +207,7 @@ Returns the current pose of the widget. ...@@ -207,7 +207,7 @@ Returns the current pose of the widget.
viz::Widget3D::applyTransform viz::Widget3D::applyTransform
------------------------------- -------------------------------
Transforms internal widget data (i.e. points, normals) using the given transform. Transforms internal widget data (i.e. points, normals) using the given transform.
.. ocv:function:: void applyTransform(const Affine3d &transform) .. ocv:function:: void applyTransform(const Affine3d &transform)
...@@ -293,7 +293,7 @@ Constructs a default plane with center point at origin and normal oriented along ...@@ -293,7 +293,7 @@ Constructs a default plane with center point at origin and normal oriented along
viz::WPlane::WPlane viz::WPlane::WPlane
------------------- -------------------
Constructs a repositioned plane Constructs a repositioned plane
.. ocv:function:: WPlane(const Point3d& center, const Vec3d& normal, const Vec3d& new_yaxis,const Size2d& size = Size2d(1.0, 1.0), const Color &color = Color::white()) .. ocv:function:: WPlane(const Point3d& center, const Vec3d& normal, const Vec3d& new_yaxis,const Size2d& size = Size2d(1.0, 1.0), const Color &color = Color::white())
:param center: Center of the plane :param center: Center of the plane
...@@ -371,7 +371,7 @@ Constructs default planar circle centred at origin with plane normal along z-axi ...@@ -371,7 +371,7 @@ Constructs default planar circle centred at origin with plane normal along z-axi
.. ocv:function:: WCircle(double radius, double thickness = 0.01, const Color &color = Color::white()) .. ocv:function:: WCircle(double radius, double thickness = 0.01, const Color &color = Color::white())
:param radius: Radius of the circle. :param radius: Radius of the circle.
:param thickness: Thickness of the circle. :param thickness: Thickness of the circle.
:param color: :ocv:class:`Color` of the circle. :param color: :ocv:class:`Color` of the circle.
...@@ -385,9 +385,9 @@ Constructs repositioned planar circle. ...@@ -385,9 +385,9 @@ Constructs repositioned planar circle.
:param center: Center of the circle. :param center: Center of the circle.
:param normal: Normal of the plane in which the circle lies. :param normal: Normal of the plane in which the circle lies.
:param thickness: Thickness of the circle. :param thickness: Thickness of the circle.
:param color: :ocv:class:`Color` of the circle. :param color: :ocv:class:`Color` of the circle.
viz::WCone viz::WCone
------------------------------- -------------------------------
.. ocv:class:: WCone .. ocv:class:: WCone
...@@ -410,8 +410,8 @@ Constructs default cone oriented along x-axis with center of its base located at ...@@ -410,8 +410,8 @@ Constructs default cone oriented along x-axis with center of its base located at
.. ocv:function:: WCone(double length, double radius, int resolution = 6.0, const Color &color = Color::white()) .. ocv:function:: WCone(double length, double radius, int resolution = 6.0, const Color &color = Color::white())
:param length: Length of the cone. :param length: Length of the cone.
:param radius: Radius of the cone. :param radius: Radius of the cone.
:param resolution: Resolution of the cone. :param resolution: Resolution of the cone.
:param color: :ocv:class:`Color` of the cone. :param color: :ocv:class:`Color` of the cone.
...@@ -421,12 +421,12 @@ Constructs repositioned planar cone. ...@@ -421,12 +421,12 @@ Constructs repositioned planar cone.
.. ocv:function:: WCone(double radius, const Point3d& center, const Point3d& tip, int resolution = 6.0, const Color &color = Color::white()) .. ocv:function:: WCone(double radius, const Point3d& center, const Point3d& tip, int resolution = 6.0, const Color &color = Color::white())
:param radius: Radius of the cone. :param radius: Radius of the cone.
:param center: Center of the cone base. :param center: Center of the cone base.
:param tip: Tip of the cone. :param tip: Tip of the cone.
:param resolution: Resolution of the cone. :param resolution: Resolution of the cone.
:param color: :ocv:class:`Color` of the cone. :param color: :ocv:class:`Color` of the cone.
viz::WCylinder viz::WCylinder
-------------- --------------
.. ocv:class:: WCylinder .. ocv:class:: WCylinder
...@@ -675,14 +675,14 @@ This 3D Widget represents an image in 3D space. :: ...@@ -675,14 +675,14 @@ This 3D Widget represents an image in 3D space. ::
class CV_EXPORTS WImage3D : public Widget3D class CV_EXPORTS WImage3D : public Widget3D
{ {
public: public:
//! Creates 3D image at the origin //! Creates 3D image at the origin
WImage3D(InputArray image, const Size2d &size); WImage3D(InputArray image, const Size2d &size);
//! Creates 3D image at a given position, pointing in the direction of the normal, and having the up_vector orientation //! Creates 3D image at a given position, pointing in the direction of the normal, and having the up_vector orientation
WImage3D(InputArray image, const Size2d &size, const Vec3d &position, const Vec3d &normal, const Vec3d &up_vector); WImage3D(InputArray image, const Size2d &size, const Vec3d &position, const Vec3d &normal, const Vec3d &up_vector);
void setImage(InputArray image); void setImage(InputArray image);
}; };
viz::WImage3D::WImage3D viz::WImage3D::WImage3D
----------------------- -----------------------
...@@ -1001,7 +1001,7 @@ This 3D Widget defines a mesh. :: ...@@ -1001,7 +1001,7 @@ This 3D Widget defines a mesh. ::
{ {
public: public:
WMesh(const Mesh &mesh); WMesh(const Mesh &mesh);
WMesh(InputArray cloud, InputArray polygons, InputArray colors = noArray(), InputArray normals = noArray()); WMesh(InputArray cloud, InputArray polygons, InputArray colors = noArray(), InputArray normals = noArray());
}; };
viz::WMesh::WMesh viz::WMesh::WMesh
...@@ -1011,11 +1011,10 @@ Constructs a WMesh. ...@@ -1011,11 +1011,10 @@ Constructs a WMesh.
.. ocv:function:: WMesh(const Mesh &mesh) .. ocv:function:: WMesh(const Mesh &mesh)
:param mesh: :ocv:class:`Mesh` object that will be displayed. :param mesh: :ocv:class:`Mesh` object that will be displayed.
.. ocv:function:: WMesh(InputArray cloud, InputArray polygons, InputArray colors = noArray(), InputArray normals = noArray()) .. ocv:function:: WMesh(InputArray cloud, InputArray polygons, InputArray colors = noArray(), InputArray normals = noArray())
:param cloud: Points of the mesh object. :param cloud: Points of the mesh object.
:param polygons: Points of the mesh object. :param polygons: Points of the mesh object.
:param colors: Point colors. :param colors: Point colors.
:param normals: Point normals. :param normals: Point normals.
...@@ -310,7 +310,3 @@ void cv::viz::computeNormals(const Mesh& mesh, OutputArray _normals) ...@@ -310,7 +310,3 @@ void cv::viz::computeNormals(const Mesh& mesh, OutputArray _normals)
else else
_normals.release(); _normals.release();
} }
...@@ -265,7 +265,7 @@ void cv::viz::vtkCloudMatSource::filterNanNormalsCopy(const Mat& cloud_normals, ...@@ -265,7 +265,7 @@ void cv::viz::vtkCloudMatSource::filterNanNormalsCopy(const Mat& cloud_normals,
template<typename _Tn, typename _Msk> template<typename _Tn, typename _Msk>
void cv::viz::vtkCloudMatSource::filterNanTCoordsCopy(const Mat& _tcoords, const Mat& mask, int total) void cv::viz::vtkCloudMatSource::filterNanTCoordsCopy(const Mat& _tcoords, const Mat& mask, int total)
{ {
typedef Vec<_Tn, 2> Vec2; typedef Vec<_Tn, 2> Vec2;
tcoords = vtkSmartPointer< typename VtkDepthTraits<_Tn>::array_type >::New(); tcoords = vtkSmartPointer< typename VtkDepthTraits<_Tn>::array_type >::New();
tcoords->SetName("TextureCoordinates"); tcoords->SetName("TextureCoordinates");
......
...@@ -80,5 +80,3 @@ namespace cv ...@@ -80,5 +80,3 @@ namespace cv
#endif #endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment