Temporarily disable HACD file save functions (not used) to avoid strange linking issue on windows

This commit is contained in:
Latif Khalifa
2013-01-30 05:25:05 +01:00
parent 8c1848b487
commit 1934fc9bd4
4 changed files with 8 additions and 0 deletions

View File

@@ -1088,6 +1088,7 @@ namespace HACD
return true;
}
#if 0
bool HACD::Save(const char * fileName, bool uniColor, long numCluster) const
{
std::ofstream fout(fileName);
@@ -1137,4 +1138,5 @@ namespace HACD
return false;
}
}
#endif
}

View File

@@ -214,12 +214,14 @@ namespace HACD
//! @param exportDistPoints specifies wheter distance points should ne exported or not (used only for debugging).
//! @return true if sucess
bool Compute(bool fullCH=false, bool exportDistPoints=false);
#if 0
//! Saves the generated convex-hulls in a VRML 2.0 file.
//! @param fileName the output file name
//! @param uniColor specifies whether the different convex-hulls should have the same color or not
//! @param numCluster specifies the cluster to be saved, if numCluster < 0 export all clusters
//! @return true if sucess
bool Save(const char * fileName, bool uniColor, long numCluster=-1) const;
#endif
//! Shifts and scales to the data to have all the coordinates between 0.0 and 1000.0.
void NormalizeData();
//! Inverse the operations applied by NormalizeData().

View File

@@ -152,6 +152,7 @@ namespace HACD
m_triangles.Next();
}
}
#if 0
bool TMMesh::Save(const char *fileName)
{
std::ofstream fout(fileName);
@@ -235,6 +236,7 @@ namespace HACD
}
return true;
}
#endif
void TMMesh::GetIFS(Vec3<Real> * const points, Vec3<long> * const triangles)
{
size_t nV = m_vertices.GetSize();

View File

@@ -198,12 +198,14 @@ namespace HACD
void Print();
//!
void GetIFS(Vec3<Real> * const points, Vec3<long> * const triangles);
#if 0
//! Save mesh
bool Save(const char *fileName);
//! Save mesh to VRML 2.0 format
bool SaveVRML2(std::ofstream &fout);
//! Save mesh to VRML 2.0 format
bool SaveVRML2(std::ofstream &fout, const Material & material);
#endif
//!
void Clear();
//!