Added cppunit to the ./contrib dir. Build config for x64 and dll builds (some bugs remaining, but most configs are working)
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@70 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
This commit is contained in:
@@ -42,6 +42,9 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
#ifndef AI_BASEPROCESS_H_INC
|
||||
#define AI_BASEPROCESS_H_INC
|
||||
|
||||
|
||||
#include "../include/aiTypes.h"
|
||||
|
||||
struct aiScene;
|
||||
|
||||
namespace Assimp
|
||||
@@ -56,7 +59,7 @@ namespace Assimp
|
||||
* and calls IsActive() on each process to evaluate if the step should be executed.
|
||||
* If the function returns true, the class' Execute() function is called subsequently.
|
||||
*/
|
||||
class BaseProcess
|
||||
class ASSIMP_API BaseProcess
|
||||
{
|
||||
friend class Importer;
|
||||
|
||||
|
||||
@@ -51,7 +51,7 @@ namespace Assimp
|
||||
// ---------------------------------------------------------------------------
|
||||
/** The GenFaceNormalsProcess computes face normals for all faces of all meshes
|
||||
*/
|
||||
class GenFaceNormalsProcess : public BaseProcess
|
||||
class ASSIMP_API GenFaceNormalsProcess : public BaseProcess
|
||||
{
|
||||
friend class Importer;
|
||||
|
||||
|
||||
@@ -50,7 +50,7 @@ namespace Assimp
|
||||
// ---------------------------------------------------------------------------
|
||||
/** The GenFaceNormalsProcess computes vertex normals for all vertizes of all meshes
|
||||
*/
|
||||
class GenVertexNormalsProcess : public BaseProcess
|
||||
class ASSIMP_API GenVertexNormalsProcess : public BaseProcess
|
||||
{
|
||||
friend class Importer;
|
||||
|
||||
|
||||
@@ -56,9 +56,9 @@ namespace Assimp
|
||||
* cache locality. It tries to arrange all faces to fans and to render
|
||||
* faces which share vertices directly one after the other.
|
||||
*
|
||||
* @note This step expects the triagulated input data.
|
||||
* @note This step expects triagulated input data.
|
||||
*/
|
||||
class ImproveCacheLocalityProcess : public BaseProcess
|
||||
class ASSIMP_API ImproveCacheLocalityProcess : public BaseProcess
|
||||
{
|
||||
friend class Importer;
|
||||
|
||||
|
||||
@@ -59,7 +59,7 @@ namespace Assimp
|
||||
* erases all but one of the copies. This usually reduces the number of vertices
|
||||
* in a mesh by a serious amount and is the standard form to render a mesh.
|
||||
*/
|
||||
class JoinVerticesProcess : public BaseProcess
|
||||
class ASSIMP_API JoinVerticesProcess : public BaseProcess
|
||||
{
|
||||
friend class Importer;
|
||||
|
||||
|
||||
@@ -50,7 +50,7 @@ namespace Assimp
|
||||
// ---------------------------------------------------------------------------
|
||||
/** KillNormalsProcess: Class to kill all normals loaded
|
||||
*/
|
||||
class KillNormalsProcess : public BaseProcess
|
||||
class ASSIMP_API KillNormalsProcess : public BaseProcess
|
||||
{
|
||||
friend class Importer;
|
||||
|
||||
|
||||
@@ -69,7 +69,7 @@ namespace Assimp
|
||||
* The other weights on this bone are then renormalized to assure the sum weight
|
||||
* to be 1.
|
||||
*/
|
||||
class LimitBoneWeightsProcess : public BaseProcess
|
||||
class ASSIMP_API LimitBoneWeightsProcess : public BaseProcess
|
||||
{
|
||||
friend class Importer;
|
||||
friend class ::LimitBoneWeightsTest;
|
||||
|
||||
@@ -51,7 +51,7 @@ namespace Assimp
|
||||
// ---------------------------------------------------------------------------
|
||||
/** Internal material helper class. Can be used to fill an aiMaterial
|
||||
structure easily. */
|
||||
class MaterialHelper : public ::aiMaterial
|
||||
class ASSIMP_API MaterialHelper : public ::aiMaterial
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
@@ -54,7 +54,7 @@ namespace Assimp
|
||||
* and removes the whole graph. The output is a list of meshes, one for
|
||||
* each material.
|
||||
*/
|
||||
class PretransformVertices : public BaseProcess
|
||||
class ASSIMP_API PretransformVertices : public BaseProcess
|
||||
{
|
||||
friend class Importer;
|
||||
|
||||
|
||||
@@ -56,7 +56,7 @@ namespace Assimp
|
||||
* to those in C or C++ so this code has been moved to a separate
|
||||
* module.
|
||||
*/
|
||||
class CommentRemover
|
||||
class ASSIMP_API CommentRemover
|
||||
{
|
||||
// class cannot be instanced
|
||||
CommentRemover() {}
|
||||
|
||||
@@ -43,7 +43,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
#define AI_SPATIALSORT_H_INC
|
||||
|
||||
#include <vector>
|
||||
#include "../include/aiVector3D.h"
|
||||
#include "../include/aiTypes.h"
|
||||
|
||||
namespace Assimp
|
||||
{
|
||||
@@ -56,7 +56,7 @@ namespace Assimp
|
||||
* time, with O(n) worst case complexity when all vertices lay on the plane. The plane is chosen
|
||||
* so that it avoids common planes in usual data sets.
|
||||
*/
|
||||
class SpatialSort
|
||||
class ASSIMP_API SpatialSort
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
@@ -45,6 +45,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
#include <vector>
|
||||
#include "BaseProcess.h"
|
||||
|
||||
#include "../include/aiMesh.h"
|
||||
#include "../include/aiScene.h"
|
||||
|
||||
@@ -58,9 +59,9 @@ class SplitLargeMeshesProcess_Vertex;
|
||||
// corresponding values in all Assimp ports
|
||||
|
||||
// **********************************************************
|
||||
// Java: PostProcessStep.java,
|
||||
// PostProcessStep.DEFAULT_VERTEX_SPLIT_LIMIT
|
||||
// PostProcessStep.DEFAULT_TRIANGLE_SPLIT_LIMIT
|
||||
// Java: ConfigProperty.java,
|
||||
// ConfigProperty.DEFAULT_VERTEX_SPLIT_LIMIT
|
||||
// ConfigProperty.DEFAULT_TRIANGLE_SPLIT_LIMIT
|
||||
// **********************************************************
|
||||
|
||||
// default limit for vertices
|
||||
@@ -79,7 +80,7 @@ class SplitLargeMeshesProcess_Vertex;
|
||||
* Applied BEFORE the JoinVertices-Step occurs.
|
||||
* Returns NON-UNIQUE vertices, splits by triangle number.
|
||||
*/
|
||||
class SplitLargeMeshesProcess_Triangle : public BaseProcess
|
||||
class ASSIMP_API SplitLargeMeshesProcess_Triangle : public BaseProcess
|
||||
{
|
||||
friend class Importer;
|
||||
friend class SplitLargeMeshesProcess_Vertex;
|
||||
@@ -130,7 +131,7 @@ public:
|
||||
* Applied AFTER the JoinVertices-Step occurs.
|
||||
* Returns UNIQUE vertices, splits by vertex number.
|
||||
*/
|
||||
class SplitLargeMeshesProcess_Vertex : public BaseProcess
|
||||
class ASSIMP_API SplitLargeMeshesProcess_Vertex : public BaseProcess
|
||||
{
|
||||
friend class Importer;
|
||||
|
||||
|
||||
@@ -136,7 +136,7 @@ struct STransformVecInfo
|
||||
/** Helper class used by the ASE/ASK and 3DS loaders to handle texture
|
||||
* coordinate transformations correctly (such as offsets, scaling)
|
||||
*/
|
||||
class TextureTransform
|
||||
class ASSIMP_API TextureTransform
|
||||
{
|
||||
//! Constructor, it is not possible to create instances of this class
|
||||
TextureTransform() {}
|
||||
|
||||
@@ -56,7 +56,7 @@ namespace Assimp
|
||||
* into triangles. You usually want this to happen because the graphics cards
|
||||
* need their data as triangles.
|
||||
*/
|
||||
class TriangulateProcess : public BaseProcess
|
||||
class ASSIMP_API TriangulateProcess : public BaseProcess
|
||||
{
|
||||
friend class Importer;
|
||||
|
||||
|
||||
@@ -44,6 +44,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
#ifndef AI_VALIDATEPROCESS_H_INC
|
||||
#define AI_VALIDATEPROCESS_H_INC
|
||||
|
||||
#include "../include/aiTypes.h"
|
||||
#include "BaseProcess.h"
|
||||
|
||||
struct aiBone;
|
||||
@@ -61,7 +62,7 @@ namespace Assimp
|
||||
// ---------------------------------------------------------------------------
|
||||
/** Validates the ASSIMP data structure
|
||||
*/
|
||||
class ValidateDSProcess : public BaseProcess
|
||||
class ASSIMP_API ValidateDSProcess : public BaseProcess
|
||||
{
|
||||
friend class Importer;
|
||||
|
||||
|
||||
@@ -57,7 +57,7 @@ namespace Assimp
|
||||
*
|
||||
* @note The input data is expected to be triangulated.
|
||||
*/
|
||||
class VertexTriangleAdjacency
|
||||
class ASSIMP_API VertexTriangleAdjacency
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user