MayaFlux 0.5.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ can_read()

bool MayaFlux::IO::VolumeReader::can_read ( const std::string &  filepath) const
overridevirtual

Check if a file can be read by this reader.

Parameters
filepathPath to the file.
Returns
true if the file format is supported.

Implements MayaFlux::IO::FileReader.

Definition at line 323 of file VolumeReader.cpp.

324{
325 return extension_of(filepath) == "vdb";
326}

Referenced by MayaFlux::IO::IOManager::load_volume(), and open().

+ Here is the caller graph for this function: