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
ada1d266
Commit
ada1d266
authored
Sep 14, 2012
by
Kenneth Vanhoey
Browse files
QEM extended for colors (compiles, not tested)
parent
813269da
Changes
1
Hide whitespace changes
Inline
Side-by-side
include/Algo/Decimation/edgeSelector.hpp
View file @
ada1d266
...
...
@@ -1361,9 +1361,9 @@ bool EdgeSelector_QEMextColor<PFP>::init()
{
m_poscolApproximator
=
reinterpret_cast
<
Approximator
<
PFP
,
VEC3
>*
>
(
*
it
)
;
// pos + col
// check incompatibilities
assert
(
m_pos
ition
Approximator
->
getType
()
!=
A_hQEM
||
!
"Approximator(hQEM) and selector (ColorNaive) are not compatible"
)
;
assert
(
m_pos
ition
Approximator
->
getType
()
!=
A_hHalfCollapse
||
!
"Approximator(hHalfCollapse) and selector (ColorNaive) are not compatible"
)
;
assert
(
m_pos
ition
Approximator
->
getType
()
!=
A_hLightfieldHalf
||
!
"Approximator(hLightfieldHalf) and selector (ColorNaive) are not compatible"
)
;
assert
(
m_pos
col
Approximator
->
getType
()
!=
A_hQEM
||
!
"Approximator(hQEM) and selector (ColorNaive) are not compatible"
)
;
assert
(
m_pos
col
Approximator
->
getType
()
!=
A_hHalfCollapse
||
!
"Approximator(hHalfCollapse) and selector (ColorNaive) are not compatible"
)
;
assert
(
m_pos
col
Approximator
->
getType
()
!=
A_hLightfieldHalf
||
!
"Approximator(hLightfieldHalf) and selector (ColorNaive) are not compatible"
)
;
ok
=
true
;
}
...
...
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