Uranium
Application Framework
|
Central class for reading and writing meshes. More...
Public Member Functions | |
def | __init__ |
def | setApplication |
def | getApplication |
def | getInstance |
Return the singleton instance of the filehandler. More... | |
def | supportedReadFileTypes |
def | supportedWriteFileTypes |
def | readLocalFile |
def | getSupportedFileTypesWrite |
Get list of all supported filetypes for writing. More... | |
def | getSupportedFileTypesRead |
def | addReader |
def | addWriter |
def | readerRead |
def | getWriterByMimeType |
Get a mesh writer object that supports writing the specified mime type. More... | |
def | getWriter |
Get an instance of a mesh writer by ID. | |
def | getReaderForFile |
Find a Reader that accepts the given file name. More... | |
Central class for reading and writing meshes.
This class is created by Application and handles reading and writing mesh files.
def UM.FileHandler.FileHandler.FileHandler.getInstance | ( | cls, | |
args, | |||
kwargs | |||
) |
Return the singleton instance of the filehandler.
def UM.FileHandler.FileHandler.FileHandler.getReaderForFile | ( | self, | |
file_name | |||
) |
Find a Reader that accepts the given file name.
file_name | The name of file to load. |
def UM.FileHandler.FileHandler.FileHandler.getSupportedFileTypesWrite | ( | self | ) |
Get list of all supported filetypes for writing.
def UM.FileHandler.FileHandler.FileHandler.getWriterByMimeType | ( | self, | |
mime | |||
) |
Get a mesh writer object that supports writing the specified mime type.
mime | The mime type that should be supported. |