Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
KennethVanhoey
CGoGN
Commits
fc45ade8
Commit
fc45ade8
authored
Feb 08, 2013
by
untereiner
Browse files
disable filtering
parent
48357051
Changes
1
Hide whitespace changes
Inline
Side-by-side
include/Algo/Multiresolution/Map2MR/map2MR_PrimalRegular.hpp
View file @
fc45ade8
...
...
@@ -261,24 +261,24 @@ void Map2MR<PFP>::synthesis()
{
assert
(
m_map
.
getCurrentLevel
()
<
m_map
.
getMaxLevel
()
||
!
"synthesis : called on max level"
)
;
// for(unsigned int i = 0; i < synthesisFilters.size(); ++i)
// (*synthesisFilters[i])() ;
for
(
unsigned
int
i
=
0
;
i
<
synthesisFilters
.
size
();
++
i
)
{
if
((
filter
==
F_LowPass
&&
m_map
.
getCurrentLevel
()
<=
thresholdHigh
)
||
(
filter
==
F_HighPass
&&
m_map
.
getCurrentLevel
()
>=
thresholdLow
)
||
(
filter
==
F_BandPass
&&
(
thresholdLow
>=
m_map
.
getCurrentLevel
()
&&
m_map
.
getCurrentLevel
()
<=
thresholdHigh
)))
{
std
::
cout
<<
"without details"
<<
std
::
endl
;
(
*
synthesisFilters
[
i
])(
true
)
;
}
else
{
std
::
cout
<<
"with details"
<<
std
::
endl
;
(
*
synthesisFilters
[
i
])(
false
)
;
}
}
(
*
synthesisFilters
[
i
])()
;
// for(unsigned int i = 0; i < synthesisFilters.size(); ++i)
// {
// if((filter == F_LowPass && m_map.getCurrentLevel() <= thresholdHigh) ||
// (filter == F_HighPass && m_map.getCurrentLevel() >= thresholdLow) ||
// (filter == F_BandPass && (thresholdLow >= m_map.getCurrentLevel() && m_map.getCurrentLevel() <= thresholdHigh)))
// {
// std::cout << "without details" << std::endl;
// (*synthesisFilters[i])(true) ;
// }
// else
// {
// std::cout << "with details" << std::endl;
// (*synthesisFilters[i])(false) ;
// }
// }
m_map
.
incCurrentLevel
()
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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