Commit 7b121305 authored by Stefan Philips's avatar Stefan Philips

[REMOVE] WLinearAlgebra.h and WLinearAlgebra.cpp

[CHANGE] Include WVectorFixed.h, WMatrixFixed.h and WPosition.h directly, where necessary
parent 2ad7bf1e
......@@ -34,8 +34,8 @@
#include <boost/filesystem.hpp>
#include "WStringUtils.h"
#include "math/linearAlgebra/WLinearAlgebra.h"
#include "math/linearAlgebra/WMatrixFixed.h"
#include "math/linearAlgebra/WPosition.h"
#include "math/linearAlgebra/WVectorFixed.h"
#include "math/WInterval.h"
#include "WAssert.h"
......
......@@ -28,7 +28,7 @@
#include <vector>
#include "../math/WLine.h"
#include "../math/linearAlgebra/WLinearAlgebra.h"
#include "../math/linearAlgebra/WPosition.h"
class WFiberTest;
......
......@@ -30,7 +30,7 @@
#include <cxxtest/TestSuite.h>
#include "../../math/linearAlgebra/WLinearAlgebra.h"
#include "../../math/linearAlgebra/WPosition.h"
#include "../WFiber.h"
#include "WFiberTraits.h"
......
......@@ -30,7 +30,7 @@
#include <vector>
#include "../WAssert.h"
#include "linearAlgebra/WLinearAlgebra.h"
#include "linearAlgebra/WVectorFixed.h"
namespace utility
{
......
......@@ -37,7 +37,8 @@
#include "../WStringUtils.h"
#include "WLine.h"
#include "WPolynomialEquationSolvers.h"
#include "linearAlgebra/WLinearAlgebra.h"
#include "linearAlgebra/WPosition.h"
#include "linearAlgebra/WVectorFixed.h"
WLine::WLine( const std::vector< WPosition > &points )
: WMixinVector< WPosition >( points )
......
......@@ -29,7 +29,7 @@
#include "WLinearAlgebraFunctions.h"
#include "WMatrix.h"
#include "linearAlgebra/WLinearAlgebra.h"
#include "linearAlgebra/WVectorFixed.h"
WVector3d multMatrixWithVector3D( WMatrix<double> mat, WVector3d vec )
{
......
......@@ -25,10 +25,11 @@
#ifndef WLINEARALGEBRAFUNCTIONS_H
#define WLINEARALGEBRAFUNCTIONS_H
#include <Eigen/Core>
#include <Eigen/SVD>
#include "WMatrix.h"
#include "linearAlgebra/WLinearAlgebra.h"
#include "linearAlgebra/WPosition.h"
template< typename > class WMatrix;
......
......@@ -24,7 +24,8 @@
#include "WMath.h"
#include "WPlane.h"
#include "linearAlgebra/WLinearAlgebra.h"
#include "linearAlgebra/WPosition.h"
#include "linearAlgebra/WVectorFixed.h"
#include "../WAssert.h"
#include "../WLimits.h"
......
......@@ -31,7 +31,7 @@
#include "WLine.h"
#include "WPlane.h"
#include "linearAlgebra/WLinearAlgebra.h"
#include "linearAlgebra/WPosition.h"
/**
* Classes and functions of math module of OpenWalnut.
......
......@@ -30,7 +30,8 @@
#include <osg/Matrix>
#include "WValue.h"
#include "linearAlgebra/WLinearAlgebra.h"
#include "linearAlgebra/WMatrixFixed.h"
#include "linearAlgebra/WVectorFixed.h"
#include "../WDefines.h"
......
......@@ -27,7 +27,7 @@
#include <boost/shared_ptr.hpp>
#include "../../common/math/WLinearAlgebraFunctions.h"
#include "../../common/math/linearAlgebra/WLinearAlgebra.h"
#include "../../common/math/linearAlgebra/WVectorFixed.h"
#include "../../common/WAssert.h"
#include "../../common/WLimits.h"
......
......@@ -31,7 +31,7 @@
#include "../../dataHandler/WGridRegular3D.h"
#include "linearAlgebra/WLinearAlgebra.h"
#include "linearAlgebra/WVectorFixed.h"
/**
* Represents a plane with a normal vector and a position in space.
......
......@@ -35,7 +35,7 @@
#include "core/common/WLogger.h"
#include "core/common/math/WGeometryFunctions.h"
#include "../exceptions/WPreconditionNotMet.h"
#include "linearAlgebra/WLinearAlgebra.h"
#include "linearAlgebra/WVectorFixed.h"
#include "WLinearAlgebraFunctions.h"
#include "WMath.h"
#include "WMatrix.h"
......
......@@ -28,7 +28,7 @@
#include <cmath>
#include <vector>
#include "../../common/math/linearAlgebra/WLinearAlgebra.h"
#include "../../common/math/linearAlgebra/WMatrixFixed.h"
/**
* This class stores coordinates on the unit sphere.
......
......@@ -29,9 +29,10 @@
#include <cmath>
#include <vector>
#include <Eigen/Core>
#include "../WAssert.h"
#include "../WStringUtils.h"
#include "linearAlgebra/WLinearAlgebra.h"
/**
* Base class for all higher level values like tensors, vectors, matrices and so on.
......
//---------------------------------------------------------------------------
//
// Project: OpenWalnut ( http://www.openwalnut.org )
//
// Copyright 2009 OpenWalnut Community, BSV@Uni-Leipzig and CNCF@MPI-CBS
// For more information see http://www.openwalnut.org/copying
//
// This file is part of OpenWalnut.
//
// OpenWalnut is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// OpenWalnut is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public License
// along with OpenWalnut. If not, see <http://www.gnu.org/licenses/>.
//
//---------------------------------------------------------------------------
#include "WLinearAlgebra.h"
//---------------------------------------------------------------------------
//
// Project: OpenWalnut ( http://www.openwalnut.org )
//
// Copyright 2009 OpenWalnut Community, BSV@Uni-Leipzig and CNCF@MPI-CBS
// For more information see http://www.openwalnut.org/copying
//
// This file is part of OpenWalnut.
//
// OpenWalnut is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// OpenWalnut is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public License
// along with OpenWalnut. If not, see <http://www.gnu.org/licenses/>.
//
//---------------------------------------------------------------------------
#ifndef WLINEARALGEBRA_H
#define WLINEARALGEBRA_H
#include "WMatrixFixed.h"
#include "WVectorFixed.h"
#include "WPosition.h"
#endif // WLINEARALGEBRA_H
......@@ -33,7 +33,7 @@
#include "../../WLimits.h"
#include "../WLinearAlgebraFunctions.h"
#include "../WMatrix.h"
#include "../linearAlgebra/WLinearAlgebra.h"
#include "../linearAlgebra/WVectorFixed.h"
#include "WVector3dTraits.h"
/**
......
......@@ -31,7 +31,7 @@
#include <cxxtest/ValueTraits.h>
#include "../../test/WTraitsBase.h"
#include "../linearAlgebra/WLinearAlgebra.h"
#include "../linearAlgebra/WPosition.h"
#ifdef CXXTEST_RUNNING
namespace CxxTest
......
......@@ -39,7 +39,6 @@
#include <cxxtest/TestSuite.h>
#include "../WMatrix.h"
#include "../linearAlgebra/WLinearAlgebra.h"
#include "../WValue.h"
#include "../WGeometryFunctions.h"
......
......@@ -31,7 +31,7 @@
#include <cxxtest/ValueTraits.h>
#include "../../test/WTraitsBase.h"
#include "../linearAlgebra/WLinearAlgebra.h"
#include "../linearAlgebra/WVectorFixed.h"
#ifdef CXXTEST_RUNNING
namespace CxxTest
......
......@@ -32,7 +32,7 @@
#include <boost/shared_ptr.hpp>
#include <boost/tuple/tuple.hpp>
#include "../common/math/linearAlgebra/WLinearAlgebra.h"
#include "../common/math/linearAlgebra/WPosition.h"
#include "../common/WBoundingBox.h"
#include "../common/WProperties.h"
#include "WDataSet.h"
......
......@@ -29,7 +29,7 @@
#include <vector>
#include "WDataSetSingle.h"
#include "../common/math/linearAlgebra/WLinearAlgebra.h"
#include "../common/math/linearAlgebra/WVectorFixed.h"
/**
......
......@@ -29,7 +29,7 @@
#include <vector>
#include "../common/WAssert.h"
#include "../common/math/linearAlgebra/WLinearAlgebra.h"
#include "../common/math/linearAlgebra/WPosition.h"
#include "../common/math/WSymmetricSphericalHarmonic.h"
#include "WDataSetSingle.h"
#include "WDataSetSphericalHarmonics.h"
......
......@@ -24,7 +24,6 @@
#include <string>
#include "../common/math/linearAlgebra/WLinearAlgebra.h"
#include "../graphicsEngine/WGETextureUtils.h"
#include "WDataTexture3D.h"
#include "WValueSet.h"
......
......@@ -30,7 +30,7 @@
#include <utility>
#include <vector>
#include "../common/math/linearAlgebra/WLinearAlgebra.h"
#include "../common/math/linearAlgebra/WPosition.h"
#include "../common/WPrototyped.h"
#include "WRecording.h"
......
......@@ -30,7 +30,7 @@
#include <boost/shared_ptr.hpp>
#include "../common/exceptions/WOutOfBounds.h"
#include "../common/math/linearAlgebra/WLinearAlgebra.h"
#include "../common/math/linearAlgebra/WPosition.h"
#include "WEEGPositionsLibrary.h"
#include "WEEGChannelInfo.h"
#include "exceptions/WDHException.h"
......
......@@ -31,7 +31,7 @@
#include <boost/shared_ptr.hpp>
#include "../common/math/linearAlgebra/WLinearAlgebra.h"
#include "../common/math/linearAlgebra/WPosition.h"
#include "WEEGPositionsLibrary.h"
#include "exceptions/WDHException.h"
#include "io/WPagerEEG.h"
......
......@@ -27,7 +27,7 @@
#include "../common/WStringUtils.h"
#include "../common/exceptions/WOutOfBounds.h"
#include "../common/math/linearAlgebra/WLinearAlgebra.h"
#include "../common/math/linearAlgebra/WPosition.h"
#include "WEEGPositionsLibrary.h"
......
......@@ -29,7 +29,7 @@
#include <string>
#include "../common/exceptions/WOutOfBounds.h"
#include "../common/math/linearAlgebra/WLinearAlgebra.h"
#include "../common/math/linearAlgebra/WPosition.h"
......
......@@ -30,7 +30,7 @@
#include <boost/shared_ptr.hpp>
#include <boost/thread.hpp>
#include "../common/math/linearAlgebra/WLinearAlgebra.h"
#include "../common/math/linearAlgebra/WVectorFixed.h"
#include "WDataSetFiberVector.h"
#include "WDataSetFibers.h"
......
......@@ -40,7 +40,6 @@
#include "../common/exceptions/WPreconditionNotMet.h"
#include "../common/math/WLinearAlgebraFunctions.h"
#include "../common/math/WMatrix.h"
#include "../common/math/linearAlgebra/WLinearAlgebra.h"
#include "../common/WBoundingBox.h"
#include "../common/WCondition.h"
#include "../common/WDefines.h"
......
......@@ -27,7 +27,7 @@
#include "../common/exceptions/WPreconditionNotMet.h"
#include "../common/math/WMatrix.h"
#include "../common/math/linearAlgebra/WLinearAlgebra.h"
#include "../common/math/linearAlgebra/WPosition.h"
/**
* Implements an orthogonal grid transformation.
......
......@@ -32,7 +32,7 @@
#include <boost/array.hpp>
#include "../common/math/linearAlgebra/WLinearAlgebra.h"
#include "../common/math/linearAlgebra/WVectorFixed.h"
#include "../common/WSharedObject.h"
#include "../common/WThreadedJobs.h"
......
......@@ -26,7 +26,7 @@
#include <boost/shared_ptr.hpp>
#include "../common/math/linearAlgebra/WLinearAlgebra.h"
#include "../common/math/linearAlgebra/WPosition.h"
#include "WTractAdapter.h"
WTractAdapter::WTractAdapter( boost::shared_ptr< const std::vector< float > > pointComponents, size_t startIndex, size_t numPoints )
......
......@@ -29,7 +29,7 @@
#include <boost/shared_ptr.hpp>
#include "../common/math/linearAlgebra/WLinearAlgebra.h"
#include "../common/math/linearAlgebra/WPosition.h"
/**
* Adapter
......
......@@ -32,7 +32,7 @@
#include <boost/shared_ptr.hpp>
#include "../common/math/linearAlgebra/WLinearAlgebra.h"
#include "../common/math/linearAlgebra/WVectorFixed.h"
#include "../common/math/WValue.h"
#include "../common/WAssert.h"
#include "../common/WLimits.h"
......
......@@ -31,7 +31,7 @@
#include <cxxtest/TestSuite.h>
#include "../WDataSetFiberVector.h"
#include "../../common/math/linearAlgebra/WLinearAlgebra.h"
#include "../../common/math/linearAlgebra/WPosition.h"
/**
* Unit tests our fiber dataset class
......
......@@ -39,7 +39,6 @@
#include "../common/WBoundingBox.h"
#include "../common/WSharedSequenceContainer.h"
#include "../common/WSharedAssociativeContainer.h"
#include "../common/math/linearAlgebra/WLinearAlgebra.h"
#include "callbacks/WGEFunctorCallback.h"
......
......@@ -36,7 +36,6 @@
#include <osg/ShapeDrawable>
#include <osg/Vec3>
#include "../common/math/linearAlgebra/WLinearAlgebra.h"
#include "../common/math/WMath.h"
#include "../common/WPathHelper.h"
#include "../common/WStringUtils.h"
......
......@@ -38,7 +38,7 @@
#include "../common/math/WLine.h"
#include "../common/math/WPlane.h"
#include "../common/math/linearAlgebra/WLinearAlgebra.h"
#include "../common/math/linearAlgebra/WPosition.h"
#include "../common/WColor.h"
#include "../common/datastructures/WColoredVertices.h"
......
......@@ -29,7 +29,6 @@
#include <osg/Array>
#include <osgUtil/DelaunayTriangulator>
#include "../common/math/linearAlgebra/WLinearAlgebra.h"
#include "WGEGeometryUtils.h"
#include "WGEUtils.h"
#include "WTriangleMesh.h"
......
......@@ -29,7 +29,7 @@
#include <osg/Array>
#include "../common/math/linearAlgebra/WLinearAlgebra.h"
#include "../common/math/linearAlgebra/WPosition.h"
#include "WTriangleMesh.h"
......
......@@ -42,7 +42,6 @@
#include "../common/WProperties.h"
#include "../common/WPropertyTypes.h"
#include "../common/WPropertyHelper.h"
#include "../common/math/linearAlgebra/WLinearAlgebra.h"
#include "WGETextureUtils.h"
......
......@@ -27,7 +27,7 @@
#include <osg/Array>
#include "../common/math/linearAlgebra/WLinearAlgebra.h"
#include "../common/math/linearAlgebra/WPosition.h"
#include "WGETexture.h"
......
......@@ -36,7 +36,6 @@
#include "../common/WColor.h"
#include "../common/WAssert.h"
#include "../common/math/linearAlgebra/WLinearAlgebra.h"
#include "../common/WPropertyVariable.h"
#include "../graphicsEngine/shaders/WGEPropertyUniform.h"
......
......@@ -42,7 +42,6 @@
#include "../common/WColor.h"
#include "../common/WLogger.h"
#include "../common/WPathHelper.h"
#include "../common/math/linearAlgebra/WLinearAlgebra.h"
#include "WGEViewer.h"
#include "exceptions/WGEInitFailed.h"
#include "exceptions/WGESignalSubscriptionFailed.h"
......
......@@ -42,7 +42,6 @@
#include "../common/WThreadedRunner.h"
#include "../common/WConditionOneShot.h"
#include "../common/WColor.h"
#include "../common/math/linearAlgebra/WLinearAlgebra.h"
#include "WGEGraphicsWindow.h"
#include "WGEScene.h"
#include "WGEViewer.h"
......
......@@ -30,7 +30,8 @@
#include <string>
#include <utility>
#include "../common/math/linearAlgebra/WLinearAlgebra.h"
#include "../common/math/linearAlgebra/WVectorFixed.h"
#include "../common/math/linearAlgebra/WPosition.h"
#include "../common/WDefines.h"
......
......@@ -31,7 +31,6 @@
#include <boost/thread.hpp>
#include "../common/math/linearAlgebra/WLinearAlgebra.h"
#include "../common/math/WMatrix.h"
#include "../common/WColor.h"
#include "WPickHandler.h"
......
......@@ -29,7 +29,7 @@
#include <boost/thread.hpp>
#include "../common/math/linearAlgebra/WLinearAlgebra.h"
#include "../common/math/linearAlgebra/WPosition.h"
#include "WPickHandler.h"
#include "WGEViewer.h"
......
......@@ -31,7 +31,8 @@
#include <osg/Geode>
#include "../common/math/linearAlgebra/WLinearAlgebra.h"
#include "../common/math/linearAlgebra/WPosition.h"
#include "../common/math/linearAlgebra/WVectorFixed.h"
#include "../common/WAssert.h"
#include "../common/WColor.h"
#include "../common/WTransferable.h"
......
......@@ -27,7 +27,6 @@
#include <osg/LineWidth>
#include "../../common/math/linearAlgebra/WLinearAlgebra.h"
#include "../callbacks/WGEFunctorCallback.h"
#include "../WGEGeodeUtils.h"
#include "WGEGridNode.h"
......
......@@ -28,7 +28,7 @@
#include <osg/Vec3>
#include <osg/Vec2>
#include "../../common/math/linearAlgebra/WLinearAlgebra.h"
#include "../../common/math/linearAlgebra/WVectorFixed.h"
#include "../../common/math/WInterval.h"
class WItemSelector;
......
......@@ -31,7 +31,7 @@
#include <cxxtest/TestSuite.h>
#include "../../common/math/linearAlgebra/WLinearAlgebra.h"
#include "../../common/math/linearAlgebra/WPosition.h"
#include "../WTriangleMesh.h"
#include "WTriangleMeshTraits.h"
......
......@@ -48,7 +48,6 @@
#include "../../common/WPropertyVariable.h"
#include "../../common/WPropertyTypes.h"
#include "../../common/WLogger.h"
#include "../../common/math/linearAlgebra/WLinearAlgebra.h"
#include "../../graphicsEngine/WGEColormapping.h"
......
......@@ -33,7 +33,6 @@
#include <osg/Geode>
#include <osg/Uniform>
#include "core/common/math/linearAlgebra/WLinearAlgebra.h"
#include "core/dataHandler/WDataSetScalar.h"
#include "core/kernel/WModule.h"
#include "core/kernel/WModuleInputData.h"
......
......@@ -27,7 +27,7 @@
#include "core/common/math/WSymmetricSphericalHarmonic.h"
#include "core/common/WLimits.h"
#include "core/common/math/linearAlgebra/WLinearAlgebra.h"
#include "core/common/math/linearAlgebra/WVectorFixed.h"
#include "core/common/math/WGeometryFunctions.h"
#include "core/kernel/WKernel.h"
#include "WMCalculateGFA.xpm"
......
......@@ -27,7 +27,7 @@
#include "core/common/math/WSymmetricSphericalHarmonic.h"
#include "core/common/math/WMatrix.h"
#include "core/common/math/linearAlgebra/WLinearAlgebra.h"
#include "core/common/math/linearAlgebra/WVectorFixed.h"
#include "core/common/WLimits.h"
#include "core/kernel/WKernel.h"
......
......@@ -29,7 +29,7 @@
#include "core/common/WBoundingBox.h"
#include "core/common/math/WMatrix.h"
#include "core/common/math/linearAlgebra/WLinearAlgebra.h"
#include "core/common/math/linearAlgebra/WPosition.h"
#include "WTalairachConverter.h"
......
......@@ -29,7 +29,7 @@
#include <osgText/Text>
#include "core/common/math/linearAlgebra/WLinearAlgebra.h"