Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
CGoGN
CGoGN
Commits
6fc984cb
Commit
6fc984cb
authored
Feb 13, 2012
by
Pierre Kraemer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MR primal : compute vertices attributes with functors ?
parent
e0942ffc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
0 deletions
+18
-0
include/Topology/map/map2MR/map2MR_Primal.h
include/Topology/map/map2MR/map2MR_Primal.h
+18
-0
No files found.
include/Topology/map/map2MR/map2MR_Primal.h
View file @
6fc984cb
...
...
@@ -35,6 +35,10 @@ class Map2MR_Primal : public EmbeddedMap2
protected:
bool
shareVertexEmbeddings
;
FunctorType
&
vertexVertexFunctor
;
FunctorType
&
edgeVertexFunctor
;
FunctorType
&
faceVertexFunctor
;
public:
Map2MR_Primal
()
;
...
...
@@ -95,6 +99,7 @@ public:
*/
bool
faceIsSubdividedOnce
(
Dart
d
)
;
protected:
/***************************************************
* EMBEDDINGS MANAGEMENT *
***************************************************/
...
...
@@ -110,6 +115,7 @@ public:
*/
void
addNewLevel
()
;
public:
/**
* subdivide the edge of d to the next level
*/
...
...
@@ -129,6 +135,18 @@ public:
* coarsen the face of d from the next level
*/
void
coarsenFace
(
Dart
d
)
;
/**
* vertices attributes management
*/
void
setVertexVertexFunctor
(
FunctorType
&
f
)
{
vertexVertexFunctor
=
f
;
}
void
computeVertexVertex
(
Dart
d
)
{
vertexVertexFunctor
(
d
)
;
}
void
setEdgeVertexFunctor
(
FunctorType
&
f
)
{
edgeVertexFunctor
=
f
;
}
void
computeEdgeVertex
(
Dart
d
)
{
edgeVertexFunctor
(
d
)
;
}
void
setFaceVertexFunctor
(
FunctorType
&
f
)
{
faceVertexFunctor
=
f
;
}
void
computeFaceVertex
(
Dart
d
)
{
faceVertexFunctor
(
d
)
;
}
}
;
}
// namespace CGoGN
...
...
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