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
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Etienne Schmitt
CGoGN
Commits
f59f7ef5
Commit
f59f7ef5
authored
Jan 24, 2013
by
Thomas Jund
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
correcting namespace and cmake for Eigen
parent
981f2911
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
5 deletions
+8
-5
CMakeLists.txt
CMakeLists.txt
+3
-1
include/Algo/Export/exportPov.h
include/Algo/Export/exportPov.h
+4
-4
include/Utils/convertType.h
include/Utils/convertType.h
+1
-0
No files found.
CMakeLists.txt
View file @
f59f7ef5
...
...
@@ -74,7 +74,9 @@ SET(CGoGN_EXT_INCLUDES
${
GLEW_INCLUDE_DIRS
}
${
ZLIB_INCLUDE_DIRS
}
${
LIBXML2_INCLUDE_DIR
}
${
Boost_INCLUDE_DIRS
}
)
${
Boost_INCLUDE_DIRS
}
${
CGoGN_ROOT_DIR
}
/ThirdParty/Numerical
${
CGoGN_ROOT_DIR
}
/ThirdParty/Numerical/UFconfig
)
# define libs for external libs
SET
(
CGoGN_EXT_LIBS
...
...
include/Algo/Export/exportPov.h
View file @
f59f7ef5
...
...
@@ -51,7 +51,7 @@ void exportMeshPlain(std::ofstream& out, typename PFP::MAP& map, VertexAttribute
unsigned
int
nb
=
map
.
faceDegree
(
d
);
if
(
nb
==
3
)
Algo
::
ExportPov
::
exportTrianglePlain
<
PFP
>
(
out
,
position
[
d
],
position
[
map
.
phi1
(
d
)],
position
[
map
.
phi1
(
map
.
phi1
(
d
))]);
exportTrianglePlain
<
PFP
>
(
out
,
position
[
d
],
position
[
map
.
phi1
(
d
)],
position
[
map
.
phi1
(
map
.
phi1
(
d
))]);
else
{
out
<<
"polygon{ "
<<
nb
+
1
<<
std
::
endl
;
...
...
@@ -115,7 +115,7 @@ void export3MeshPlainSmooth(std::ofstream& out, typename PFP::MAP& map, VertexAt
if
(
!
markV
.
isMarked
(
dd
))
{
markV
.
mark
(
dd
)
;
VEC3
norm
=
Algo
::
Geometry
::
vertexBorderNormal
<
PFP
>
(
map
,
dd
,
position
);
VEC3
norm
=
Geometry
::
vertexBorderNormal
<
PFP
>
(
map
,
dd
,
position
);
vIndex
[
vNum
]
=
vCpt
++
;
vertices
.
push_back
(
vNum
)
;
...
...
@@ -222,7 +222,7 @@ bool exportScenePov(typename PFP::MAP& map, VertexAttribute<typename PFP::VEC3>&
out
<<
"count 100 nearest_count 10 error_bound 0.15 recursion_limit 1 low_error_factor 0.2 gray_threshold 0.0 minimum_reuse 0.015 brightness 1 adc_bailout 0.01/2 normal off media off}"
<<
std
::
endl
;
out
<<
"max_trace_level 255}"
<<
std
::
endl
;
Algo
::
ExportPov
::
exportMeshPlain
<
PFP
>
(
out
,
map
,
position
,
"myMesh"
,
good
);
exportMeshPlain
<
PFP
>
(
out
,
map
,
position
,
"myMesh"
,
good
);
out
<<
"object {myMesh"
<<
std
::
endl
;
out
<<
"translate <"
<<
translate
[
0
]
<<
","
<<
translate
[
1
]
<<
","
<<
translate
[
2
]
<<
">"
<<
std
::
endl
;
...
...
@@ -266,7 +266,7 @@ bool exportScenePovSmooth(typename PFP::MAP& map, VertexAttribute<typename PFP::
// out << "count 300 nearest_count 10 error_bound 0.15 recursion_limit 1 low_error_factor 0.2 gray_threshold 0.0 minimum_reuse 0.015 brightness 1 adc_bailout 0.01/2 normal off media off}" << std::endl;
out
<<
"max_trace_level 60}"
<<
std
::
endl
;
Algo
::
ExportPov
::
export3MeshPlainSmooth
<
PFP
>
(
out
,
map
,
position
,
"myMesh"
,
good
);
export3MeshPlainSmooth
<
PFP
>
(
out
,
map
,
position
,
"myMesh"
,
good
);
out
<<
"object {myMesh"
<<
std
::
endl
;
out
<<
"translate <"
<<
translate
[
0
]
<<
","
<<
translate
[
1
]
<<
","
<<
translate
[
2
]
<<
">"
<<
std
::
endl
;
...
...
include/Utils/convertType.h
View file @
f59f7ef5
...
...
@@ -27,6 +27,7 @@
#include <assert.h>
#include <vector>
#include <list>
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