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
968b9c54
Commit
968b9c54
authored
Jul 02, 2014
by
Kenneth Vanhoey
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
moving some lightfield import functions out of CGoGN
parent
e1d0f43b
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
22 deletions
+1
-22
include/Algo/Import/import2tablesSurface.hpp
include/Algo/Import/import2tablesSurface.hpp
+1
-13
include/Algo/Import/importFileTypes.h
include/Algo/Import/importFileTypes.h
+0
-9
No files found.
include/Algo/Import/import2tablesSurface.hpp
View file @
968b9c54
...
@@ -71,18 +71,6 @@ bool MeshTablesSurface<PFP>::importMesh(const std::string& filename, std::vector
...
@@ -71,18 +71,6 @@ bool MeshTablesSurface<PFP>::importMesh(const std::string& filename, std::vector
CGoGNout << "TYPE: PLY" << CGoGNendl;
CGoGNout << "TYPE: PLY" << CGoGNendl;
return importPly(filename, attrNames);
return importPly(filename, attrNames);
break;
break;
/* case PLYPTM:
CGoGNout << "TYPE: PLYPTM" << CGoGNendl;
return importPlyPTM(filename, attrNames);
break;
*/
case
PLYSLFgeneric
:
CGoGNout
<<
"TYPE: PLYSLFgeneric"
<<
CGoGNendl
;
return
importPlySLFgeneric
(
filename
,
attrNames
);
break
;
case
PLYSLFgenericBin
:
CGoGNout
<<
"TYPE: PLYSLFgenericBin"
<<
CGoGNendl
;
return
importPlySLFgenericBin
(
filename
,
attrNames
);
break
;
case OBJ:
case OBJ:
CGoGNout << "TYPE: OBJ" << CGoGNendl;
CGoGNout << "TYPE: OBJ" << CGoGNendl;
return importObj(filename, attrNames);
return importObj(filename, attrNames);
...
@@ -770,7 +758,7 @@ bool MeshTablesSurface<PFP>::importPlySLFgeneric(const std::string& filename, st
...
@@ -770,7 +758,7 @@ bool MeshTablesSurface<PFP>::importPlySLFgeneric(const std::string& filename, st
// Define containers
// Define containers
VertexAttribute<VEC3, MAP_IMPL> positions = m_map.template getAttribute<VEC3, VERTEX>("position") ;
VertexAttribute<VEC3, MAP_IMPL> positions = m_map.template getAttribute<VEC3, VERTEX>("position") ;
;
if (!positions.isValid())
if (!positions.isValid())
positions = m_map.template addAttribute<VEC3, VERTEX>("position") ;
positions = m_map.template addAttribute<VEC3, VERTEX>("position") ;
attrNames.push_back(positions.name()) ;
attrNames.push_back(positions.name()) ;
...
...
include/Algo/Import/importFileTypes.h
View file @
968b9c54
...
@@ -48,15 +48,6 @@ namespace Import
...
@@ -48,15 +48,6 @@ namespace Import
if
((
filename
.
rfind
(
".meshbin"
)
!=
std
::
string
::
npos
)
||
(
filename
.
rfind
(
".MESHBIN"
)
!=
std
::
string
::
npos
))
if
((
filename
.
rfind
(
".meshbin"
)
!=
std
::
string
::
npos
)
||
(
filename
.
rfind
(
".MESHBIN"
)
!=
std
::
string
::
npos
))
return
MESHBIN
;
return
MESHBIN
;
/* if ((filename.rfind(".plyptm")!=std::string::npos) || (filename.rfind(".PLYGEN")!=std::string::npos))
return PLYPTM;
*/
if
((
filename
.
rfind
(
".plyPTMextBin"
)
!=
std
::
string
::
npos
)
||
(
filename
.
rfind
(
".plySHrealBin"
)
!=
std
::
string
::
npos
))
return
PLYSLFgenericBin
;
if
((
filename
.
rfind
(
".plyPTMext"
)
!=
std
::
string
::
npos
)
||
(
filename
.
rfind
(
".plySHreal"
)
!=
std
::
string
::
npos
))
return
PLYSLFgeneric
;
if
((
filename
.
rfind
(
".ply"
)
!=
std
::
string
::
npos
)
||
(
filename
.
rfind
(
".PLY"
)
!=
std
::
string
::
npos
))
if
((
filename
.
rfind
(
".ply"
)
!=
std
::
string
::
npos
)
||
(
filename
.
rfind
(
".PLY"
)
!=
std
::
string
::
npos
))
return
PLY
;
return
PLY
;
...
...
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