Commit ad32ca02 authored by Jan Möbius's avatar Jan Möbius

Silence Doxygen in Poisson Plugin, Try to fix cppcheck warnings due to int template parameter

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free-Staging@16334 383ad7c9-94d9-4d36-a494-682f7c89f535
parent c7c5e884
......@@ -33,7 +33,7 @@ DAMAGE.
#include "PPolynomial.h"
#include "Array.h"
template< int Degree >
template< unsigned int Degree >
struct BSplineElementCoefficients
{
int coeffs[Degree+1];
......
......@@ -394,5 +394,7 @@ public:
void GetMCIsoTriangles( Real isoValue , int subdivideDepth , CoredMeshData* mesh , int fullDepthIso=0 , int nonLinearFit=1 , bool addBarycenter=false , bool polygonMesh=false );
};
#ifndef DOXY_IGNORE_THIS
#include "MultiGridOctreeData.inl"
#endif
#endif // MULTI_GRID_OCTREE_DATA_INCLUDED
......@@ -26,6 +26,8 @@ ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF S
DAMAGE.
*/
#ifndef DOXY_IGNORE_THIS
#include "Octree.h"
#include "time.h"
#include "MemoryUsage.h"
......@@ -4401,3 +4403,5 @@ long long VertexData::EdgeIndex(const TreeOctNode* node,int eIndex,int maxDepth,
};
return (long long)(idx[0]) | (long long)(idx[1])<<15 | (long long)(idx[2])<<30;
}
#endif
......@@ -267,7 +267,8 @@ public:
int width(int maxDepth) const;
};
#ifndef DOXY_IGNORE_THIS
#include "Octree.inl"
#endif
#endif // OCT_NODE
......@@ -26,6 +26,8 @@ ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF S
DAMAGE.
*/
#ifndef DOXY_IGNORE_THIS
#include <stdlib.h>
#include <math.h>
#include <algorithm>
......@@ -1899,3 +1901,4 @@ void OctNode<NodeData,Real>::centerIndex(int maxDepth,int index[DIMENSION]) cons
depthAndOffset(d,o);
for(int i=0;i<DIMENSION;i++){index[i]=BinaryNode<Real>::CornerIndex(maxDepth,d+1,o[i]<<1,1);}
}
#endif
......@@ -165,7 +165,9 @@ public:
void getDiagonal( PoissonVector< T2 >& diagonal ) const;
};
#ifndef DOXY_IGNORE_THIS
#include "SparseMatrix.inl"
#endif
#endif
......@@ -26,6 +26,8 @@ ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF S
DAMAGE.
*/
#ifndef DOXY_IGNORE_THIS
#include <float.h>
#include <stdio.h>
#include <string.h>
......@@ -963,3 +965,5 @@ void SparseSymmetricMatrix< T >::getDiagonal( PoissonVector< T2 >& diagonal ) co
for( int j=0 ; j<SparseMatrix< T >::rowSizes[i] ; j++ ) if( SparseMatrix< T >::m_ppElements[i][j].N==i ) diagonal[i] += SparseMatrix< T >::m_ppElements[i][j].Value * 2;
}
}
#endif
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment