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
CGoGN
CGoGN
Commits
078f84ef
Commit
078f84ef
authored
Mar 12, 2012
by
Kenneth Vanhoey
Browse files
binary import/export for SLF
parent
16bbf023
Changes
2
Hide whitespace changes
Inline
Side-by-side
include/Algo/Export/export.hpp
View file @
078f84ef
...
...
@@ -532,7 +532,6 @@ bool exportPlySLFgenericBin(typename PFP::MAP& map, const typename PFP::TVEC3& p
std
::
string
tmp
;
tmp
=
std
::
string
(
"ply"
)
;
std
::
cout
<<
tmp
.
length
()
<<
std
::
endl
;
out
.
write
(
tmp
.
c_str
(),
tmp
.
length
()
*
sizeof
(
char
))
;
tmp
=
std
::
string
(
"format binary_little_endian 1.0"
)
;
out
.
write
(
tmp
.
c_str
(),
tmp
.
length
()
*
sizeof
(
char
))
;
...
...
include/Algo/Import/import2tablesSurface.hpp
View file @
078f84ef
...
...
@@ -810,7 +810,6 @@ bool MeshTablesSurface<PFP>::importPlySLFgenericBin(const std::string& filename,
fp
.
read
(
buff
,
3
)
;
std
::
string
tag
(
buff
)
;
delete
[]
buff
;
std
::
cout
<<
tag
<<
std
::
endl
;
if
(
tag
!=
std
::
string
(
"ply"
))
// verify file type
{
CGoGNerr
<<
filename
<<
" is not a ply file !"
<<
CGoGNout
;
...
...
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