#include <Precision.hxx>
#include <TCollection_AsciiString.hxx>
+#include <OSD_OpenFile.hxx>
Voxel_Writer::Voxel_Writer():myFormat(Voxel_VFF_ASCII),myBoolVoxels(0),myColorVoxels(0),myFloatVoxels(0)
{
return Standard_False;
// Open file for writing
- FILE* f = fopen(TCollection_AsciiString(file, '?').ToCString(), "w+");
+ FILE* f = OSD_OpenFile(file, "w+");
if (!f)
return Standard_False;
return Standard_False;
// Open file for writing
- FILE* f = fopen(TCollection_AsciiString(file, '?').ToCString(), "w+");
+ FILE* f = OSD_OpenFile(file, "w+");
if (!f)
return Standard_False;
return Standard_False;
// Open file for writing
- FILE* f = fopen(TCollection_AsciiString(file, '?').ToCString(), "w+");
+ FILE* f = OSD_OpenFile(file, "w+");
if (!f)
return Standard_False;
return Standard_False;
// Open file for writing
- FILE* f = fopen(TCollection_AsciiString(file, '?').ToCString(), "wb");
+ FILE* f = OSD_OpenFile(file, "wb");
if (!f)
return Standard_False;
return Standard_False;
// Open file for writing
- FILE* f = fopen(TCollection_AsciiString(file, '?').ToCString(), "wb");
+ FILE* f = OSD_OpenFile(file, "wb");
if (!f)
return Standard_False;
return Standard_False;
// Open file for writing
- FILE* f = fopen(TCollection_AsciiString(file, '?').ToCString(), "wb");
+ FILE* f = OSD_OpenFile(file, "wb");
if (!f)
return Standard_False;