Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
CGoGN
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
CGoGN
CGoGN
Commits
e8bbcd8e
Commit
e8bbcd8e
authored
Jul 09, 2014
by
Kenneth Vanhoey
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added missing template arguments
parent
ac3c8969
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
11 additions
and
11 deletions
+11
-11
include/Algo/Decimation/halfEdgeSelector.h
include/Algo/Decimation/halfEdgeSelector.h
+2
-2
include/Algo/Decimation/halfEdgeSelector.hpp
include/Algo/Decimation/halfEdgeSelector.hpp
+2
-2
include/Algo/ProgressiveMesh/pmesh.h
include/Algo/ProgressiveMesh/pmesh.h
+1
-1
include/Algo/ProgressiveMesh/pmesh.hpp
include/Algo/ProgressiveMesh/pmesh.hpp
+2
-2
include/Algo/Render/GL2/dataPerFaceRender.h
include/Algo/Render/GL2/dataPerFaceRender.h
+1
-1
include/Algo/Render/GL2/dataPerFaceRender.hpp
include/Algo/Render/GL2/dataPerFaceRender.hpp
+1
-1
include/Topology/generic/mapCommon.hpp
include/Topology/generic/mapCommon.hpp
+2
-2
No files found.
include/Algo/Decimation/halfEdgeSelector.h
View file @
e8bbcd8e
...
...
@@ -230,8 +230,8 @@ public:
m_approxindex_normal
(
-
1
),
m_attrindex_normal
(
-
1
)
{
halfEdgeInfo
=
m
.
template
addAttribute
<
HalfEdgeInfo
,
DART
>(
"halfEdgeInfo"
)
;
m_quadric
=
m
.
template
addAttribute
<
Utils
::
QuadricNd
<
REAL
,
9
>,
VERTEX
>
(
"hQEMextNormal-quadric"
)
;
halfEdgeInfo
=
m
.
template
addAttribute
<
HalfEdgeInfo
,
DART
,
MAP
>(
"halfEdgeInfo"
)
;
m_quadric
=
m
.
template
addAttribute
<
Utils
::
QuadricNd
<
REAL
,
9
>,
VERTEX
,
MAP
>
(
"hQEMextNormal-quadric"
)
;
}
~
HalfEdgeSelector_QEMextColorNormal
()
{
...
...
include/Algo/Decimation/halfEdgeSelector.hpp
View file @
e8bbcd8e
...
...
@@ -619,7 +619,7 @@ bool HalfEdgeSelector_QEMextColorNormal<PFP>::init()
++ok ;
m_approxindex_color = approxindex ;
m_attrindex_color = attrindex ;
m_color
=
m
.
template
getAttribute
<
typename
PFP
::
VEC3
,
VERTEX
>(
"color"
)
;
m_color = m.template getAttribute<typename PFP::VEC3, VERTEX, MAP
>("color") ;
assert(m_color.isValid() || !"EdgeSelector_QEMextColor: color attribute is not valid") ;
if (!saved)
{
...
...
@@ -632,7 +632,7 @@ bool HalfEdgeSelector_QEMextColorNormal<PFP>::init()
++ok ;
m_approxindex_normal = approxindex ;
m_attrindex_normal = attrindex ;
m_normal
=
m
.
template
getAttribute
<
typename
PFP
::
VEC3
,
VERTEX
>(
"normal"
)
;
m_normal = m.template getAttribute<typename PFP::VEC3, VERTEX, MAP
>("normal") ;
assert(m_normal.isValid() || !"EdgeSelector_QEMextColorNormal: normal attribute is not valid") ;
if (!saved)
{
...
...
include/Algo/ProgressiveMesh/pmesh.h
View file @
e8bbcd8e
...
...
@@ -89,7 +89,7 @@ public:
ProgressiveMesh
(
MAP
&
map
,
DartMarker
<
MAP
>&
inactive
,
Algo
::
Surface
::
Decimation
::
Selector
<
PFP
>*
selector
,
std
::
vector
<
Algo
::
Surface
::
Decimation
::
ApproximatorGen
<
PFP
>*>&
approximators
,
VertexAttribute
<
VEC3
,
MAP_IMPL
>&
position
)
;
VertexAttribute
<
VEC3
,
MAP
>&
position
)
;
~
ProgressiveMesh
()
;
bool
initOk
()
{
return
m_initOk
;
}
...
...
include/Algo/ProgressiveMesh/pmesh.hpp
View file @
e8bbcd8e
...
...
@@ -139,7 +139,7 @@ template <typename PFP>
ProgressiveMesh
<
PFP
>::
ProgressiveMesh
(
MAP
&
map
,
DartMarker
<
MAP
>&
inactive
,
Algo
::
Surface
::
Decimation
::
Selector
<
PFP
>*
selector
,
std
::
vector
<
Algo
::
Surface
::
Decimation
::
ApproximatorGen
<
PFP
>*>&
approximators
,
VertexAttribute
<
VEC3
,
MAP
_IMPL
>&
position
VertexAttribute
<
VEC3
,
MAP
>&
position
)
:
m_map
(
map
),
m_selector
(
selector
),
m_approximators
(
approximators
),
position
(
position
),
inactiveMarker
(
inactive
)
{
...
...
@@ -281,7 +281,7 @@ void ProgressiveMesh<PFP>::coarsen()
edgeCollapse
(
vs
)
;
// collapse edge
Algo
::
Topo
::
setOrbitEmbedding
<
VERTEX
>
(
m_map
,
d2
,
s
->
getApproxV
())
;
Algo
::
Topo
::
setOrbitEmbedding
<
VERTEX
>
(
m_map
,
d2
,
v
s
->
getApproxV
())
;
Algo
::
Topo
::
setOrbitEmbedding
<
EDGE
>
(
m_map
,
d2
,
vs
->
getApproxE1
())
;
Algo
::
Topo
::
setOrbitEmbedding
<
EDGE
>
(
m_map
,
dd2
,
vs
->
getApproxE2
())
;
...
...
include/Algo/Render/GL2/dataPerFaceRender.h
View file @
e8bbcd8e
...
...
@@ -70,7 +70,7 @@ public:
*/
template
<
typename
PFP
,
unsigned
int
ORBIT
,
typename
T
>
void
updateVBO
(
Utils
::
VBO
&
vboPosition
,
Utils
::
VBO
&
vboData
,
typename
PFP
::
MAP
&
map
,
const
VertexAttribute
<
typename
PFP
::
VEC3
,
typename
PFP
::
MAP
::
IMPL
>&
positions
,
const
AttributeHandler
<
T
,
ORBIT
,
typename
PFP
::
MAP
::
IMPL
>&
dataPerXXX
)
;
const
VertexAttribute
<
typename
PFP
::
VEC3
,
typename
PFP
::
MAP
>&
positions
,
const
AttributeHandler
<
T
,
ORBIT
,
typename
PFP
::
MAP
>&
dataPerXXX
)
;
/**
* draw
...
...
include/Algo/Render/GL2/dataPerFaceRender.hpp
View file @
e8bbcd8e
...
...
@@ -50,7 +50,7 @@ m_nbTris(0)
template
<
typename
PFP
,
unsigned
int
ORBIT
,
typename
T
>
void
DataPerFaceRender
::
updateVBO
(
Utils
::
VBO
&
vboPosition
,
Utils
::
VBO
&
vboData
,
typename
PFP
::
MAP
&
map
,
const
VertexAttribute
<
typename
PFP
::
VEC3
,
typename
PFP
::
MAP
::
IMPL
>&
positions
,
const
AttributeHandler
<
T
,
ORBIT
,
typename
PFP
::
MAP
::
IMPL
>&
dataPerXXX
)
const
VertexAttribute
<
typename
PFP
::
VEC3
,
typename
PFP
::
MAP
>&
positions
,
const
AttributeHandler
<
T
,
ORBIT
,
typename
PFP
::
MAP
>&
dataPerXXX
)
{
typedef
typename
PFP
::
VEC3
VEC3
;
typedef
typename
PFP
::
REAL
REAL
;
...
...
include/Topology/generic/mapCommon.hpp
View file @
e8bbcd8e
...
...
@@ -206,9 +206,9 @@ template <typename MAP_IMPL>
template
<
typename
T
,
unsigned
int
ORBIT
,
typename
MAP
>
inline
AttributeHandler
<
T
,
ORBIT
,
MAP
>
MapCommon
<
MAP_IMPL
>::
checkAttribute
(
const
std
::
string
&
nameAttr
)
{
AttributeHandler
<
T
,
ORBIT
,
MAP
>
att
=
this
->
getAttribute
<
T
,
ORBIT
>
(
nameAttr
);
AttributeHandler
<
T
,
ORBIT
,
MAP
>
att
=
this
->
getAttribute
<
T
,
ORBIT
,
MAP
>
(
nameAttr
);
if
(
!
att
.
isValid
())
att
=
this
->
addAttribute
<
T
,
ORBIT
>
(
nameAttr
);
att
=
this
->
addAttribute
<
T
,
ORBIT
,
MAP
>
(
nameAttr
);
return
att
;
}
...
...
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