SPH
Public Member Functions | List of all members
IMeshFile Class Referenceabstract

Interface for mesh exporters. More...

#include <MeshFile.h>

Inheritance diagram for IMeshFile:
Polymorphic ObjFile PlyFile TabFile

Public Member Functions

virtual Outcome save (const Path &path, ArrayView< const Triangle > triangles)=0
 
virtual Expected< Array< Triangle > > load (const Path &path)=0
 
- Public Member Functions inherited from Polymorphic
virtual ~Polymorphic ()
 

Detailed Description

Interface for mesh exporters.

Definition at line 13 of file MeshFile.h.

Member Function Documentation

◆ load()

virtual Expected<Array<Triangle> > IMeshFile::load ( const Path path)
pure virtual

Implemented in ObjFile, TabFile, and PlyFile.

◆ save()

virtual Outcome IMeshFile::save ( const Path path,
ArrayView< const Triangle triangles 
)
pure virtual

Implemented in ObjFile, TabFile, and PlyFile.


The documentation for this class was generated from the following file: