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
KennethVanhoey
CGoGN
Commits
7194d2d9
Commit
7194d2d9
authored
May 20, 2014
by
Kenneth Vanhoey
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Some warnings resolved. Explicit constructor for Vector taking one parameter
parent
773f4665
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
7 additions
and
9 deletions
+7
-9
include/Algo/Export/export.hpp
include/Algo/Export/export.hpp
+0
-2
include/Algo/Modelisation/subdivision.hpp
include/Algo/Modelisation/subdivision.hpp
+1
-1
include/Geometry/vector_gen.h
include/Geometry/vector_gen.h
+1
-1
include/Utils/svg.h
include/Utils/svg.h
+2
-2
src/Utils/svg.cpp
src/Utils/svg.cpp
+3
-3
No files found.
include/Algo/Export/export.hpp
View file @
7194d2d9
...
...
@@ -46,7 +46,6 @@ template <typename PFP>
bool
exportPLY
(
typename
PFP
::
MAP
&
map
,
const
VertexAttribute
<
typename
PFP
::
VEC3
,
typename
PFP
::
MAP
::
IMPL
>&
position
,
const
char
*
filename
,
bool
binary
)
{
typedef
typename
PFP
::
MAP
MAP
;
typedef
typename
PFP
::
VEC3
VEC3
;
// open file
std
::
ofstream
out
;
...
...
@@ -990,7 +989,6 @@ template <typename PFP>
bool
exportChoupi
(
typename
PFP
::
MAP
&
map
,
const
VertexAttribute
<
typename
PFP
::
VEC3
,
typename
PFP
::
MAP
::
IMPL
>&
position
,
const
char
*
filename
)
{
typedef
typename
PFP
::
MAP
MAP
;
typedef
typename
PFP
::
VEC3
VEC3
;
std
::
ofstream
out
(
filename
,
std
::
ios
::
out
)
;
if
(
!
out
.
good
())
...
...
include/Algo/Modelisation/subdivision.hpp
View file @
7194d2d9
...
...
@@ -727,7 +727,7 @@ template <typename PFP>
void
computeDual
(
typename
PFP
::
MAP
&
map
,
VertexAttribute
<
typename
PFP
::
VEC3
,
typename
PFP
::
MAP
::
IMPL
>&
position
)
{
typedef
typename
PFP
::
MAP
MAP
;
typedef
typename
PFP
::
MAP
::
IMPL
MAP_IMPL
;
typedef
typename
MAP
::
IMPL
MAP_IMPL
;
typedef
typename
PFP
::
VEC3
VEC3
;
// Face Attribute -> after dual new Vertex Attribute
...
...
include/Geometry/vector_gen.h
View file @
7194d2d9
...
...
@@ -75,7 +75,7 @@ public:
* constructor that initialize all component to a given value
* @param x the value to assign to all component
*/
Vector
(
T
x
)
;
explicit
Vector
(
T
x
)
;
void
set
(
T
a
)
;
...
...
include/Utils/svg.h
View file @
7194d2d9
...
...
@@ -285,7 +285,7 @@ public:
void
addGroup
(
SvgGroup
*
group
)
{
m_groups
.
push_back
(
group
);
}
void
write
();
void
write
();
/**
* @brief set Attenuation Factor of color with depth
...
...
@@ -302,7 +302,7 @@ protected:
public:
void
write
(
const
std
::
string
&
filename
,
float
timeStep
);
//
void write(const std::string& filename, float timeStep);
void
add
(
SVGOut
*
svg
);
...
...
src/Utils/svg.cpp
View file @
7194d2d9
...
...
@@ -729,8 +729,8 @@ void AnimatedSVGOut::add(SVGOut* svg)
m_svgs
.
push_back
(
svg
);
}
void
AnimatedSVGOut
::
write
(
const
std
::
string
&
filename
,
float
timeStep
)
{
//
void AnimatedSVGOut::write(const std::string& filename, float timeStep)
//
{
// std::ofstream outfile(filename.c_str()) ;
// unsigned int bbX0=1000000;
...
...
@@ -788,7 +788,7 @@ void AnimatedSVGOut::write(const std::string& filename, float timeStep)
// outfile << "</svg>" << std::endl;
// outfile.close();
}
//
}
}
// namespace SVG
...
...
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