Temporarily disable HACD file save functions (not used) to avoid strange linking issue on windows
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
@@ -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().
|
||||
|
||||
@@ -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();
|
||||
|
||||
@@ -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();
|
||||
//!
|
||||
|
||||
Reference in New Issue
Block a user