Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
opencv
Commits
4e180070
Commit
4e180070
authored
Jan 18, 2014
by
Anatoly Baksheev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed white spaces
parent
d29c3d2f
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
27 additions
and
34 deletions
+27
-34
viz3d.rst
modules/viz/doc/viz3d.rst
+3
-3
widget.rst
modules/viz/doc/widget.rst
+23
-24
vizcore.cpp
modules/viz/src/vizcore.cpp
+0
-4
vtkCloudMatSource.cpp
modules/viz/src/vtk/vtkCloudMatSource.cpp
+1
-1
vtkImageMatSource.h
modules/viz/src/vtk/vtkImageMatSource.h
+0
-2
No files found.
modules/viz/doc/viz3d.rst
View file @
4e180070
...
...
@@ -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 updateWidgetPose(const String &id, const Affine3d &pose);
Affine3d getWidgetPose(const String &id) const;
void showImage(InputArray image, const Size& window_size = Size(-1, -1));
void setCamera(const Camera &camera);
...
...
@@ -474,7 +474,7 @@ This class wraps mesh attributes, and it can load a mesh from a ``ply`` file. ::
public:
Mat cloud, colors, normals;
//! 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.
Mat polygons;
...
...
@@ -522,7 +522,7 @@ Constructs a KeyboardEvent.
:param symbol: Name of the key.
:param code: Code of the key.
:param modifiers: Signals if ``alt``, ``ctrl`` or ``shift`` are pressed or their combination.
viz::MouseEvent
---------------
...
...
modules/viz/doc/widget.rst
View file @
4e180070
...
...
@@ -207,7 +207,7 @@ Returns the current pose of the widget.
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)
...
...
@@ -293,7 +293,7 @@ Constructs a default plane with center point at origin and normal oriented along
viz::WPlane::WPlane
-------------------
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())
:param center: Center of the plane
...
...
@@ -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())
:param radius: Radius of the circle.
:param radius: Radius of the circle.
:param thickness: Thickness of the circle.
:param color: :ocv:class:`Color` of the circle.
...
...
@@ -385,9 +385,9 @@ Constructs repositioned planar circle.
:param center: Center of the circle.
:param normal: Normal of the plane in which the circle lies.
:param thickness: Thickness of the circle.
:param color: :ocv:class:`Color` of the circle.
:param color: :ocv:class:`Color` of the circle.
viz::WCone
-------------------------------
.. ocv:class:: WCone
...
...
@@ -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())
:param length: Length of the cone.
:param radius: Radius of the cone.
:param length: Length of the cone.
:param radius: Radius of the cone.
:param resolution: Resolution of the cone.
:param color: :ocv:class:`Color` of the 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())
:param radius: Radius of the cone.
:param radius: Radius of the cone.
:param center: Center of the cone base.
:param tip: Tip 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
--------------
.. ocv:class:: WCylinder
...
...
@@ -675,14 +675,14 @@ This 3D Widget represents an image in 3D space. ::
class CV_EXPORTS WImage3D : public Widget3D
{
public:
//! Creates 3D image at the origin
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
WImage3D(InputArray image, const Size2d &size, const Vec3d &position, const Vec3d &normal, const Vec3d &up_vector);
public:
//! Creates 3D image at the origin
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
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
-----------------------
...
...
@@ -1001,7 +1001,7 @@ This 3D Widget defines a mesh. ::
{
public:
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
...
...
@@ -1011,11 +1011,10 @@ Constructs a WMesh.
.. ocv:function:: WMesh(const Mesh &mesh)
:param mesh: :ocv:class:`Mesh` object that will be displayed.
.. ocv:function:: WMesh(InputArray cloud, InputArray polygons, InputArray colors = noArray(), InputArray normals = noArray())
:param cloud: Points of the mesh object.
:param polygons: Points of the mesh object.
:param colors: Point colors.
:param normals: Point normals.
:param polygons: Points of the mesh object.
:param colors: Point colors.
:param normals: Point normals.
modules/viz/src/vizcore.cpp
View file @
4e180070
...
...
@@ -310,7 +310,3 @@ void cv::viz::computeNormals(const Mesh& mesh, OutputArray _normals)
else
_normals
.
release
();
}
modules/viz/src/vtk/vtkCloudMatSource.cpp
View file @
4e180070
...
...
@@ -265,7 +265,7 @@ void cv::viz::vtkCloudMatSource::filterNanNormalsCopy(const Mat& cloud_normals,
template
<
typename
_Tn
,
typename
_Msk
>
void
cv
::
viz
::
vtkCloudMatSource
::
filterNanTCoordsCopy
(
const
Mat
&
_tcoords
,
const
Mat
&
mask
,
int
total
)
{
{
typedef
Vec
<
_Tn
,
2
>
Vec2
;
tcoords
=
vtkSmartPointer
<
typename
VtkDepthTraits
<
_Tn
>::
array_type
>::
New
();
tcoords
->
SetName
(
"TextureCoordinates"
);
...
...
modules/viz/src/vtk/vtkImageMatSource.h
View file @
4e180070
...
...
@@ -80,5 +80,3 @@ namespace cv
#endif
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment