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
0f5da429
Commit
0f5da429
authored
Jun 10, 2013
by
Anatoly Baksheev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
misprint
parent
909c45f1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
viz3d_impl.cpp
modules/viz/src/viz3d_impl.cpp
+4
-4
No files found.
modules/viz/src/viz3d_impl.cpp
View file @
0f5da429
...
...
@@ -33,8 +33,8 @@ void temp_viz::Viz3d::VizImpl::showPointCloud(const String& id, InputArray _clou
// If the cloud already exists, update otherwise create new one
CloudActorMap
::
iterator
am_it
=
cloud_actor_map_
->
find
(
id
);
bool
exi
ts
=
(
am_it
==
cloud_actor_map_
->
end
());
if
(
exi
ts
)
bool
exi
st
=
(
am_it
==
cloud_actor_map_
->
end
());
if
(
exi
st
)
{
// Add as new cloud
allocVtkPolyData
(
polydata
);
...
...
@@ -110,7 +110,7 @@ void temp_viz::Viz3d::VizImpl::showPointCloud(const String& id, InputArray _clou
vtkSmartPointer
<
vtkIdTypeArray
>
cells
=
vertices
->
GetData
();
if
(
exi
ts
)
if
(
exi
st
)
updateCells
(
cells
,
initcells
,
nr_points
);
else
updateCells
(
cells
,
am_it
->
second
.
cells
,
nr_points
);
...
...
@@ -160,7 +160,7 @@ void temp_viz::Viz3d::VizImpl::showPointCloud(const String& id, InputArray _clou
scalars
->
GetRange
(
minmax
.
val
);
// If this is the new point cloud, a new actor is created
if
(
exi
ts
)
if
(
exi
st
)
{
vtkSmartPointer
<
vtkLODActor
>
actor
;
createActorFromVTKDataSet
(
polydata
,
actor
);
...
...
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