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
08917908
Commit
08917908
authored
Aug 24, 2013
by
ozantonkal
Committed by
Ozan Tonkal
Sep 05, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove eigen dependency
parent
f98614ec
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
28 deletions
+0
-28
precomp.hpp
modules/viz/src/precomp.hpp
+0
-2
viz3d_impl.cpp
modules/viz/src/viz3d_impl.cpp
+0
-18
viz3d_impl.hpp
modules/viz/src/viz3d_impl.hpp
+0
-8
No files found.
modules/viz/src/precomp.hpp
View file @
08917908
...
...
@@ -5,8 +5,6 @@
#include <list>
#include <vector>
#include <Eigen/Geometry>
#if defined __GNUC__
#pragma GCC system_header
#ifdef __DEPRECATED
...
...
modules/viz/src/viz3d_impl.cpp
View file @
08917908
...
...
@@ -472,24 +472,6 @@ void cv::viz::Viz3d::VizImpl::allocVtkUnstructuredGrid (vtkSmartPointer<vtkUnstr
{
polydata
=
vtkSmartPointer
<
vtkUnstructuredGrid
>::
New
();
}
//////////////////////////////////////////////////////////////////////////////////////////////
void
cv
::
viz
::
convertToVtkMatrix
(
const
Eigen
::
Vector4f
&
origin
,
const
Eigen
::
Quaternion
<
float
>
&
orientation
,
vtkSmartPointer
<
vtkMatrix4x4
>
&
vtk_matrix
)
{
// set rotation
Eigen
::
Matrix3f
rot
=
orientation
.
toRotationMatrix
();
for
(
int
i
=
0
;
i
<
3
;
i
++
)
for
(
int
k
=
0
;
k
<
3
;
k
++
)
vtk_matrix
->
SetElement
(
i
,
k
,
rot
(
i
,
k
));
// set translation
vtk_matrix
->
SetElement
(
0
,
3
,
origin
(
0
));
vtk_matrix
->
SetElement
(
1
,
3
,
origin
(
1
));
vtk_matrix
->
SetElement
(
2
,
3
,
origin
(
2
));
vtk_matrix
->
SetElement
(
3
,
3
,
1.0
f
);
}
//////////////////////////////////////////////////////////////////////////////////////////////
void
cv
::
viz
::
Viz3d
::
VizImpl
::
setFullScreen
(
bool
mode
)
{
if
(
window_
)
...
...
modules/viz/src/viz3d_impl.hpp
View file @
08917908
...
...
@@ -190,17 +190,9 @@ namespace cv
{
namespace
viz
{
//void getTransformationMatrix (const Eigen::Vector4f &origin, const Eigen::Quaternionf& orientation, Eigen::Matrix4f &transformation);
vtkSmartPointer
<
vtkMatrix4x4
>
convertToVtkMatrix
(
const
cv
::
Matx44f
&
m
);
cv
::
Matx44f
convertToMatx
(
const
vtkSmartPointer
<
vtkMatrix4x4
>&
vtk_matrix
);
/** \brief Convert origin and orientation to vtkMatrix4x4
* \param[in] origin the point cloud origin
* \param[in] orientation the point cloud orientation
* \param[out] vtk_matrix the resultant VTK 4x4 matrix
*/
void
convertToVtkMatrix
(
const
Eigen
::
Vector4f
&
origin
,
const
Eigen
::
Quaternion
<
float
>
&
orientation
,
vtkSmartPointer
<
vtkMatrix4x4
>
&
vtk_matrix
);
struct
NanFilter
{
template
<
typename
_Tp
,
typename
_Msk
>
...
...
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