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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Hurstel
CGoGN
Commits
037ff6a9
Commit
037ff6a9
authored
Apr 03, 2012
by
Pierre Kraemer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
minor modifs for Mac OS compilation
parent
0edf4e04
Changes
15
Show whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
24 additions
and
19 deletions
+24
-19
Apps/Examples/clipping.h
Apps/Examples/clipping.h
+2
-2
Apps/Examples/mcmesh.h
Apps/Examples/mcmesh.h
+2
-2
Apps/Examples/viewer.h
Apps/Examples/viewer.h
+2
-2
Apps/Examples/volumeExplorer.h
Apps/Examples/volumeExplorer.h
+1
-1
Apps/Tuto/show_traversors.h
Apps/Tuto/show_traversors.h
+1
-1
Apps/Tuto/tuto5.h
Apps/Tuto/tuto5.h
+1
-1
Apps/Tuto/tuto_mt.cpp
Apps/Tuto/tuto_mt.cpp
+1
-1
Apps/Tuto/tuto_oper2.h
Apps/Tuto/tuto_oper2.h
+1
-1
Apps/Tuto/tuto_oper3.h
Apps/Tuto/tuto_oper3.h
+1
-1
Apps/Tuto/tuto_orbits.h
Apps/Tuto/tuto_orbits.h
+1
-1
include/Algo/Parallel/parallel_foreach.hpp
include/Algo/Parallel/parallel_foreach.hpp
+7
-3
include/Utils/qtInputs.h
include/Utils/qtInputs.h
+0
-0
include/Utils/qtui.h
include/Utils/qtui.h
+0
-0
include/Utils/textures.hpp
include/Utils/textures.hpp
+2
-2
src/Utils/qtinputs.cpp
src/Utils/qtinputs.cpp
+2
-1
No files found.
Apps/Examples/clipping.h
View file @
037ff6a9
...
@@ -28,11 +28,11 @@
...
@@ -28,11 +28,11 @@
#include <iostream>
#include <iostream>
#include "Utils/Qt/qtSimple.h"
#include "Utils/Qt/qtSimple.h"
#include "Utils/
Qt/
qtInputs.h"
#include "Utils/qtInputs.h"
#include "ui_clipping.h"
#include "ui_clipping.h"
// inclure qtui.h juste après le ui_xxx.h
// inclure qtui.h juste après le ui_xxx.h
#include "Utils/
Qt/
qtui.h"
#include "Utils/qtui.h"
#include "Topology/generic/parameters.h"
#include "Topology/generic/parameters.h"
#include "Topology/map/embeddedMap3.h"
#include "Topology/map/embeddedMap3.h"
...
...
Apps/Examples/mcmesh.h
View file @
037ff6a9
...
@@ -17,7 +17,7 @@
...
@@ -17,7 +17,7 @@
* along with this library; if not, write to the Free Software Foundation, *
* along with this library; if not, write to the Free Software Foundation, *
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. *
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. *
* *
* *
* Web site: http
s://iggservis.u-strasbg.fr/CGoGN/
*
* Web site: http
://cgogn.unistra.fr
*
* Contact information: cgogn@unistra.fr *
* Contact information: cgogn@unistra.fr *
* *
* *
*******************************************************************************/
*******************************************************************************/
...
@@ -26,7 +26,7 @@
...
@@ -26,7 +26,7 @@
#include "Utils/Qt/qtSimple.h"
#include "Utils/Qt/qtSimple.h"
#include "ui_mcmesh.h"
#include "ui_mcmesh.h"
#include "Utils/
Qt/
qtui.h"
#include "Utils/qtui.h"
#include "Topology/generic/parameters.h"
#include "Topology/generic/parameters.h"
#include "Topology/map/map2.h"
#include "Topology/map/map2.h"
...
...
Apps/Examples/viewer.h
View file @
037ff6a9
...
@@ -26,7 +26,7 @@
...
@@ -26,7 +26,7 @@
#include "Utils/Qt/qtSimple.h"
#include "Utils/Qt/qtSimple.h"
#include "ui_viewer.h"
#include "ui_viewer.h"
#include "Utils/
Qt/
qtui.h"
#include "Utils/qtui.h"
#include "Topology/generic/parameters.h"
#include "Topology/generic/parameters.h"
#include "Topology/map/embeddedMap2.h"
#include "Topology/map/embeddedMap2.h"
...
...
Apps/Examples/volumeExplorer.h
View file @
037ff6a9
...
@@ -46,7 +46,7 @@
...
@@ -46,7 +46,7 @@
#include "Utils/frameManipulator.h"
#include "Utils/frameManipulator.h"
#include "ui_volumeExplorer.h"
#include "ui_volumeExplorer.h"
#include "Utils/
Qt/
qtui.h"
#include "Utils/qtui.h"
using
namespace
CGoGN
;
using
namespace
CGoGN
;
...
...
Apps/Tuto/show_traversors.h
View file @
037ff6a9
...
@@ -56,7 +56,7 @@
...
@@ -56,7 +56,7 @@
#include "ui_show_traversors.h"
#include "ui_show_traversors.h"
// inclure qtui.h juste après le ui_xxx.h
// inclure qtui.h juste après le ui_xxx.h
#include "Utils/
Qt/
qtui.h"
#include "Utils/qtui.h"
using
namespace
CGoGN
;
using
namespace
CGoGN
;
...
...
Apps/Tuto/tuto5.h
View file @
037ff6a9
...
@@ -57,7 +57,7 @@
...
@@ -57,7 +57,7 @@
#include "ui_tuto5.h"
#include "ui_tuto5.h"
// inclure qtui.h juste après le ui_xxx.h
// inclure qtui.h juste après le ui_xxx.h
#include "Utils/
Qt/
qtui.h"
#include "Utils/qtui.h"
using
namespace
CGoGN
;
using
namespace
CGoGN
;
...
...
Apps/Tuto/tuto_mt.cpp
View file @
037ff6a9
...
@@ -42,7 +42,7 @@
...
@@ -42,7 +42,7 @@
#include "Algo/Parallel/parallel_foreach.h"
#include "Algo/Parallel/parallel_foreach.h"
// for file input
// for file input
#include "Utils/Qt
/qtInputs.h"
#include "Utils
/qtInputs.h"
using
namespace
CGoGN
;
using
namespace
CGoGN
;
...
...
Apps/Tuto/tuto_oper2.h
View file @
037ff6a9
...
@@ -40,7 +40,7 @@
...
@@ -40,7 +40,7 @@
#include "ui_tuto_oper2.h"
#include "ui_tuto_oper2.h"
#include "Utils/
Qt/
qtui.h"
#include "Utils/qtui.h"
#include "Utils/Qt/qtSimple.h"
#include "Utils/Qt/qtSimple.h"
#include "Utils/cgognStream.h"
#include "Utils/cgognStream.h"
...
...
Apps/Tuto/tuto_oper3.h
View file @
037ff6a9
...
@@ -40,7 +40,7 @@
...
@@ -40,7 +40,7 @@
#include "ui_tuto_oper3.h"
#include "ui_tuto_oper3.h"
#include "Utils/
Qt/
qtui.h"
#include "Utils/qtui.h"
#include "Utils/Qt/qtSimple.h"
#include "Utils/Qt/qtSimple.h"
#include "Utils/cgognStream.h"
#include "Utils/cgognStream.h"
...
...
Apps/Tuto/tuto_orbits.h
View file @
037ff6a9
...
@@ -57,7 +57,7 @@
...
@@ -57,7 +57,7 @@
#include "ui_tuto_orbits.h"
#include "ui_tuto_orbits.h"
// inclure qtui.h juste après le ui_xxx.h
// inclure qtui.h juste après le ui_xxx.h
#include "Utils/
Qt/
qtui.h"
#include "Utils/qtui.h"
using
namespace
CGoGN
;
using
namespace
CGoGN
;
...
...
include/Algo/Parallel/parallel_foreach.hpp
View file @
037ff6a9
...
@@ -326,8 +326,8 @@ void foreach_cell(typename PFP::MAP& map, unsigned int cell, FunctorMapThreaded<
...
@@ -326,8 +326,8 @@ void foreach_cell(typename PFP::MAP& map, unsigned int cell, FunctorMapThreaded<
template
<
typename
PFP
>
template
<
typename
PFP
>
void
foreach_dart
(
typename
PFP
::
MAP
&
map
,
FunctorMapThreaded
<
typename
PFP
::
MAP
>&
func
,
unsigned
int
nbth
,
unsigned
int
szbuff
,
bool
needMarkers
,
const
FunctorSelect
&
good
)
void
foreach_dart
(
typename
PFP
::
MAP
&
map
,
FunctorMapThreaded
<
typename
PFP
::
MAP
>&
func
,
unsigned
int
nbth
,
unsigned
int
szbuff
,
bool
needMarkers
,
const
FunctorSelect
&
good
)
{
{
std
::
vector
<
Dart
>
vd
[
nbth
];
std
::
vector
<
Dart
>
*
vd
=
new
std
::
vector
<
Dart
>
[
nbth
];
boost
::
thread
*
threads
[
nbth
];
boost
::
thread
*
*
threads
=
new
boost
::
thread
*
[
nbth
];
Dart
d
=
map
.
begin
();
Dart
d
=
map
.
begin
();
...
@@ -370,7 +370,7 @@ void foreach_dart(typename PFP::MAP& map, FunctorMapThreaded<typename PFP::MAP>&
...
@@ -370,7 +370,7 @@ void foreach_dart(typename PFP::MAP& map, FunctorMapThreaded<typename PFP::MAP>&
threads
[
i
]
=
new
boost
::
thread
(
ThreadFunction
<
typename
PFP
::
MAP
>
(
func
,
vd
[
i
],
sync1
,
sync2
,
finished
,
0
));
threads
[
i
]
=
new
boost
::
thread
(
ThreadFunction
<
typename
PFP
::
MAP
>
(
func
,
vd
[
i
],
sync1
,
sync2
,
finished
,
0
));
}
}
// and continue to traverse the map
// and continue to traverse the map
std
::
vector
<
Dart
>
tempo
[
nbth
];
std
::
vector
<
Dart
>
*
tempo
=
new
std
::
vector
<
Dart
>
[
nbth
];
for
(
unsigned
int
i
=
0
;
i
<
nbth
;
++
i
)
for
(
unsigned
int
i
=
0
;
i
<
nbth
;
++
i
)
tempo
[
i
].
reserve
(
szbuff
);
tempo
[
i
].
reserve
(
szbuff
);
...
@@ -406,6 +406,10 @@ void foreach_dart(typename PFP::MAP& map, FunctorMapThreaded<typename PFP::MAP>&
...
@@ -406,6 +406,10 @@ void foreach_dart(typename PFP::MAP& map, FunctorMapThreaded<typename PFP::MAP>&
threads
[
i
]
->
join
();
threads
[
i
]
->
join
();
delete
threads
[
i
];
delete
threads
[
i
];
}
}
delete
vd
;
delete
threads
;
delete
tempo
;
}
}
...
...
include/Utils/
Qt/
qtInputs.h
→
include/Utils/qtInputs.h
View file @
037ff6a9
File moved
include/Utils/
Qt/
qtui.h
→
include/Utils/qtui.h
View file @
037ff6a9
File moved
include/Utils/textures.hpp
View file @
037ff6a9
...
@@ -587,7 +587,7 @@ template <typename TYPEDOUBLE>
...
@@ -587,7 +587,7 @@ template <typename TYPEDOUBLE>
void Image<DIM,TYPE>::subSample2()
void Image<DIM,TYPE>::subSample2()
{
{
Image<DIM,TYPE>* newImg = subSampleToNewImage2<TYPEDOUBLE>();
Image<DIM,TYPE>* newImg = subSampleToNewImage2<TYPEDOUBLE>();
swap(*newImg);
this->
swap(*newImg);
delete newImg;
delete newImg;
}
}
...
@@ -720,7 +720,7 @@ template < unsigned int DIM, typename TYPE >
...
@@ -720,7 +720,7 @@ template < unsigned int DIM, typename TYPE >
void Image<DIM,TYPE>::rotate90(int axis)
void Image<DIM,TYPE>::rotate90(int axis)
{
{
Image<DIM,TYPE>* newImg = rotate90ToNewImage(axis);
Image<DIM,TYPE>* newImg = rotate90ToNewImage(axis);
swap(*newImg);
this->
swap(*newImg);
delete newImg;
delete newImg;
}
}
...
...
src/Utils/
Qt/
qtinputs.cpp
→
src/Utils/qtinputs.cpp
View file @
037ff6a9
...
@@ -21,7 +21,8 @@
...
@@ -21,7 +21,8 @@
* Contact information: cgogn@unistra.fr *
* Contact information: cgogn@unistra.fr *
* *
* *
*******************************************************************************/
*******************************************************************************/
#include "Utils/Qt/qtInputs.h"
#include "Utils/qtInputs.h"
#include <iostream>
#include <iostream>
namespace
CGoGN
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