Exemplo n.º 1
0
Arquivo: main.cpp Projeto: fougue/gmio
static void RWStl_WriteBinary(const void* filepath)
{
    if (!RWStl::WriteBinary(stlMesh, OSD_Path(static_cast<const char*>(filepath))))
        std::cerr << "RWStl::WriteBinary() failure" << std::endl;
}
Exemplo n.º 2
0
Handle_StlMesh_Mesh IO::loadStlFile(const QString& filename, Handle_Message_ProgressIndicator indicator)
{
  return RWStl::ReadFile(OSD_Path(filename.toAscii().constData()), indicator);
}
Exemplo n.º 3
0
Arquivo: main.cpp Projeto: fougue/gmio
static void RWStl_ReadFile(const void* filepath)
{
    stlMesh = RWStl::ReadFile(OSD_Path(static_cast<const char*>(filepath)));
    if (stlMesh.IsNull())
        std::cerr << "RWStl::ReadFile(): null mesh" << std::endl;
}