Volume Cartographer 2.27.0
Classes | Typedefs | Functions
volcart::io Namespace Reference

IO classes. More...

Classes

class  OBJReader
 Read an OBJ file into a volcart::ITKMesh. More...
 
class  OBJWriter
 Write an ITKMesh to an OBJ file. More...
 
class  PLYReader
 Read a PLY file to an ITKMesh. More...
 
class  PLYWriter
 Write an ITKMesh to a PLY file. More...
 

Typedefs

using ExtensionList = std::vector< std::string >
 

Functions

auto FileExtensionFilter (const filesystem::path &path, const ExtensionList &exts) -> bool
 
auto UnixHiddenFileFilter (const filesystem::path &path) -> bool
 
void WriteUVMap (const filesystem::path &path, const UVMap &uvMap)
 Write a UVMap in the custom .uvm archival format. More...
 
auto ReadUVMap (const filesystem::path &path) -> UVMap
 Read a UVMap from the custom .uvm archival format. More...
 

Detailed Description

IO classes.

Typedef Documentation

◆ ExtensionList

using volcart::io::ExtensionList = typedef std::vector<std::string>

Stores a list of case-insensitive file extensions

Definition at line 16 of file FileFilters.hpp.

Function Documentation

◆ FileExtensionFilter()

auto volcart::io::FileExtensionFilter ( const filesystem::path &  path,
const ExtensionList exts 
) -> bool
inline

Returns true if path has a file extension in exts. Comparison is case insensitive.

Definition at line 22 of file FileFilters.hpp.

◆ ReadUVMap()

auto volcart::io::ReadUVMap ( const filesystem::path &  path) -> UVMap

Read a UVMap from the custom .uvm archival format.

Exceptions
volcart::IOException

◆ UnixHiddenFileFilter()

auto volcart::io::UnixHiddenFileFilter ( const filesystem::path &  path) -> bool
inline

Returns true if path is a UNIX hidden file (i.e., the filename starts with the . character)

Definition at line 43 of file FileFilters.hpp.

◆ WriteUVMap()

void volcart::io::WriteUVMap ( const filesystem::path &  path,
const UVMap uvMap 
)

Write a UVMap in the custom .uvm archival format.

Exceptions
volcart::IOException