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
Open sidebar
OpenWalnut
OpenWalnut Core
Commits
42531011
Commit
42531011
authored
Dec 14, 2011
by
Sebastian Eichelbaum
Browse files
[MERGE]
parents
87bb2ddd
86486100
Changes
64
Hide whitespace changes
Inline
Side-by-side
Showing
20 changed files
with
52 additions
and
34 deletions
+52
-34
src/core/common/WHierarchicalTree.cpp
src/core/common/WHierarchicalTree.cpp
+5
-2
src/core/common/WLogEntry.cpp
src/core/common/WLogEntry.cpp
+3
-3
src/core/common/WPropertyTypes.cpp
src/core/common/WPropertyTypes.cpp
+1
-0
src/core/common/WThreadedRunner.cpp
src/core/common/WThreadedRunner.cpp
+2
-2
src/core/common/WTransferFunction.cpp
src/core/common/WTransferFunction.cpp
+2
-2
src/core/common/datastructures/WDendrogram.cpp
src/core/common/datastructures/WDendrogram.cpp
+2
-1
src/core/common/test/WPropertyStruct_test.h
src/core/common/test/WPropertyStruct_test.h
+0
-3
src/core/dataHandler/WDataSetFiberClustering.cpp
src/core/dataHandler/WDataSetFiberClustering.cpp
+2
-0
src/core/dataHandler/WDataTexture3D.cpp
src/core/dataHandler/WDataTexture3D.cpp
+3
-4
src/core/dataHandler/WEEG.h
src/core/dataHandler/WEEG.h
+4
-2
src/core/graphicsEngine/WGEGeodeUtils.cpp
src/core/graphicsEngine/WGEGeodeUtils.cpp
+8
-6
src/core/graphicsEngine/WROI.cpp
src/core/graphicsEngine/WROI.cpp
+2
-1
src/core/graphicsEngine/WTriangleMesh.cpp
src/core/graphicsEngine/WTriangleMesh.cpp
+1
-0
src/core/graphicsEngine/algorithms/WMarchingLegoAlgorithm.cpp
...core/graphicsEngine/algorithms/WMarchingLegoAlgorithm.cpp
+2
-0
src/core/graphicsEngine/geodes/WGEGridNode.cpp
src/core/graphicsEngine/geodes/WGEGridNode.cpp
+2
-2
src/core/graphicsEngine/postprocessing/WGEPostprocessingNode.cpp
...e/graphicsEngine/postprocessing/WGEPostprocessingNode.cpp
+3
-2
src/core/graphicsEngine/shaders/WGEShaderDefineOptions.cpp
src/core/graphicsEngine/shaders/WGEShaderDefineOptions.cpp
+2
-1
src/core/graphicsEngine/shaders/WGEShaderPropertyDefineOptions.cpp
...graphicsEngine/shaders/WGEShaderPropertyDefineOptions.cpp
+3
-0
src/core/graphicsEngine/shaders/WGEShaderVersionPreprocessor.cpp
...e/graphicsEngine/shaders/WGEShaderVersionPreprocessor.cpp
+3
-3
src/core/gui/WCustomWidget.cpp
src/core/gui/WCustomWidget.cpp
+2
-0
No files found.
src/core/common/WHierarchicalTree.cpp
View file @
42531011
...
...
@@ -22,6 +22,9 @@
//
//---------------------------------------------------------------------------
#include <list>
#include <vector>
#include "WHierarchicalTree.h"
WHierarchicalTree
::
WHierarchicalTree
()
:
...
...
@@ -126,9 +129,9 @@ std::vector< size_t > WHierarchicalTree::downXLevelsFromTop( size_t level, bool
level
=
m_maxLevel
-
1
;
}
std
::
vector
<
size_t
>
returnVector
;
std
::
vector
<
size_t
>
returnVector
;
std
::
list
<
size_t
>
worklist
;
std
::
list
<
size_t
>
worklist
;
worklist
.
push_back
(
m_clusterCount
-
1
);
for
(
size_t
i
=
0
;
i
<
level
;
++
i
)
...
...
src/core/common/WLogEntry.cpp
View file @
42531011
...
...
@@ -22,14 +22,14 @@
//
//---------------------------------------------------------------------------
#include <
string
>
#include <
algorithm
>
#include <sstream>
#include <string>
#include <boost/algorithm/string.hpp>
#include "WTerminalColor.h"
#include "WLogEntry.h"
#include "WTerminalColor.h"
LogLevel
logLevelFromString
(
const
std
::
string
&
str
)
{
...
...
src/core/common/WPropertyTypes.cpp
View file @
42531011
...
...
@@ -23,6 +23,7 @@
//---------------------------------------------------------------------------
#include <string>
#include <vector>
#include "WPropertyTypes.h"
#include "WTransferFunction.h"
...
...
src/core/common/WThreadedRunner.cpp
View file @
42531011
...
...
@@ -23,13 +23,13 @@
//---------------------------------------------------------------------------
#include <iostream>
#include <string>
#include "exceptions/WSignalSubscriptionFailed.h"
#include "WConditionOneShot.h"
#include "WCondition.h"
#include "WConditionOneShot.h"
#include "WException.h"
#include "WLogger.h"
#include "WThreadedRunner.h"
WThreadedRunner
::
WThreadedRunner
()
:
...
...
src/core/common/WTransferFunction.cpp
View file @
42531011
...
...
@@ -22,12 +22,12 @@
//
//---------------------------------------------------------------------------
#include <algorithm>
#include <cmath>
#include <iostream>
#include <
algorithm
>
#include <
vector
>
#include "WAssert.h"
#include "WTransferFunction.h"
bool
WTransferFunction
::
operator
==
(
const
WTransferFunction
&
rhs
)
const
...
...
src/core/common/datastructures/WDendrogram.cpp
View file @
42531011
...
...
@@ -23,11 +23,12 @@
//---------------------------------------------------------------------------
#include <algorithm>
#include <iterator>
#include <fstream>
#include <iterator>
#include <map>
#include <set>
#include <sstream>
#include <string>
#include <vector>
#include "../exceptions/WOutOfBounds.h"
...
...
src/core/common/test/WPropertyStruct_test.h
View file @
42531011
...
...
@@ -26,9 +26,6 @@
#define WPROPERTYSTRUCT_TEST_H
#include <string>
// NOTE: this is only included because the stylechecker wants this, although we never use std::vector. It thinks the mpl::vector is an
// std::vector and NOLINT does not work there (why?)
#include <vector>
#include <cxxtest/TestSuite.h>
...
...
src/core/dataHandler/WDataSetFiberClustering.cpp
View file @
42531011
...
...
@@ -22,6 +22,8 @@
//
//---------------------------------------------------------------------------
#include <string>
#include "WDataSetFiberClustering.h"
// The prototype as singleton. Created during first getPrototype() call
...
...
src/core/dataHandler/WDataTexture3D.cpp
View file @
42531011
...
...
@@ -22,13 +22,12 @@
//
//---------------------------------------------------------------------------
#include "../common/math/linearAlgebra/WLinearAlgebra.h"
#include "WValueSet.h"
#include <string>
#include "../common/math/linearAlgebra/WLinearAlgebra.h"
#include "../graphicsEngine/WGETextureUtils.h"
#include "WDataTexture3D.h"
#include "WValueSet.h"
WDataTexture3D
::
WDataTexture3D
(
boost
::
shared_ptr
<
WValueSetBase
>
valueSet
,
boost
::
shared_ptr
<
WGridRegular3D
>
grid
)
:
WGETexture3D
(
static_cast
<
float
>
(
valueSet
->
getMaximumValue
()
-
valueSet
->
getMinimumValue
()
),
...
...
src/core/dataHandler/WEEG.h
View file @
42531011
...
...
@@ -27,11 +27,13 @@
#include <map>
#include <string>
#include <utility>
#include <vector>
#include "WRecording.h"
#include "../common/WPrototyped.h"
#include "../common/math/linearAlgebra/WLinearAlgebra.h"
#include "../common/WPrototyped.h"
#include "WExportDataHandler.h"
#include "WRecording.h"
/**
* An incomplete implementation to store information about electrodes of EEG data
...
...
src/core/graphicsEngine/WGEGeodeUtils.cpp
View file @
42531011
...
...
@@ -22,27 +22,29 @@
//
//---------------------------------------------------------------------------
#include <map>
#include <string>
#include <vector>
#include <osg/Array>
#include <osg/Geode>
#include <osg/Geometry>
#include <osg/LightModel>
#include <osg/LineWidth>
#include <osg/Material>
#include <osg/MatrixTransform>
#include <osg/ShapeDrawable>
#include <osg/Vec3>
#include <osg/LightModel>
#include <osg/Material>
#include "../common/math/linearAlgebra/WLinearAlgebra.h"
#include "../common/WPathHelper.h"
#include "../common/math/WMath.h"
#include "WGESubdividedPlane.h"
#include "../common/WPathHelper.h"
#include "shaders/WGEShader.h"
#include "WGEGeodeUtils.h"
#include "WGEGeometryUtils.h"
#include "WGEUtils.h"
#include "WGEGroupNode.h"
#include "shaders/WGEShader.h"
#include "WGESubdividedPlane.h"
#include "WGEUtils.h"
#include "widgets/labeling/WGELabel.h"
osg
::
ref_ptr
<
osg
::
Geode
>
wge
::
generateBoundingBoxGeode
(
const
WBoundingBox
&
bb
,
const
WColor
&
color
)
...
...
src/core/graphicsEngine/WROI.cpp
View file @
42531011
...
...
@@ -22,8 +22,9 @@
//
//---------------------------------------------------------------------------
#include
"WROI.h"
#include
<list>
#include "WROI.h"
#include "WPickHandler.h"
WROI
::
WROI
()
:
...
...
src/core/graphicsEngine/WTriangleMesh.cpp
View file @
42531011
...
...
@@ -27,6 +27,7 @@
#include <map>
#include <sstream>
#include <string>
#include <utility>
#include <vector>
#include <osg/io_utils>
...
...
src/core/graphicsEngine/algorithms/WMarchingLegoAlgorithm.cpp
View file @
42531011
...
...
@@ -22,6 +22,8 @@
//
//---------------------------------------------------------------------------
#include <vector>
#include "WMarchingLegoAlgorithm.h"
WMarchingLegoAlgorithm
::
WMarchingLegoAlgorithm
()
...
...
src/core/graphicsEngine/geodes/WGEGridNode.cpp
View file @
42531011
...
...
@@ -23,13 +23,13 @@
//---------------------------------------------------------------------------
#include <sstream>
#include <string>
#include <osg/LineWidth>
#include "../callbacks/WGEFunctorCallback.h"
#include "../../common/math/linearAlgebra/WLinearAlgebra.h"
#include "../callbacks/WGEFunctorCallback.h"
#include "../WGEGeodeUtils.h"
#include "WGEGridNode.h"
WGEGridNode
::
WGEGridNode
(
WGridRegular3D
::
ConstSPtr
grid
)
:
...
...
src/core/graphicsEngine/postprocessing/WGEPostprocessingNode.cpp
View file @
42531011
...
...
@@ -22,11 +22,12 @@
//
//---------------------------------------------------------------------------
#include "../../common/WPropertyHelper.h"
#include <string>
#include <vector>
#include "../../common/WPropertyHelper.h"
#include "../shaders/WGEShaderPropertyDefineOptions.h"
#include "../WGEUtils.h"
#include "WGEPostprocessingNode.h"
WGEPostprocessingNode
::
WGEPostprocessingNode
(
osg
::
ref_ptr
<
osg
::
Camera
>
reference
,
size_t
width
,
size_t
height
,
bool
noHud
)
:
...
...
src/core/graphicsEngine/shaders/WGEShaderDefineOptions.cpp
View file @
42531011
...
...
@@ -25,9 +25,10 @@
#include <stdarg.h>
#include <algorithm>
#include <string>
#include <vector>
#include "../../common/exceptions/WPreconditionNotMet.h"
#include "WGEShaderDefineOptions.h"
WGEShaderDefineOptions
::
WGEShaderDefineOptions
(
std
::
string
first
,
...
...
src/core/graphicsEngine/shaders/WGEShaderPropertyDefineOptions.cpp
View file @
42531011
...
...
@@ -22,6 +22,9 @@
//
//---------------------------------------------------------------------------
#include <string>
#include <vector>
#include "WGEShaderPropertyDefineOptions.h"
WGEShaderPropertyDefineOptions
<
WPropSelection
>::
SPtr
WGEShaderPropertyDefineOptionsTools
::
createSelection
(
...
...
src/core/graphicsEngine/shaders/WGEShaderVersionPreprocessor.cpp
View file @
42531011
...
...
@@ -22,14 +22,14 @@
//
//---------------------------------------------------------------------------
#include <string>
#include <sstream>
#include <algorithm>
#include <ostream>
#include <sstream>
#include <string>
#include <boost/regex.hpp>
#include "../../common/WLogger.h"
#include "WGEShaderVersionPreprocessor.h"
WGEShaderVersionPreprocessor
::
WGEShaderVersionPreprocessor
()
...
...
src/core/gui/WCustomWidget.cpp
View file @
42531011
...
...
@@ -22,6 +22,8 @@
//
//---------------------------------------------------------------------------
#include <string>
#include "WCustomWidget.h"
WCustomWidget
::
WCustomWidget
(
std
::
string
title
)
:
...
...
Prev
1
2
3
4
Next
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