Uranium
Application Framework
Loading...
Searching...
No Matches
UM.Mesh.ReadMeshJob.ReadMeshJob Class Reference
Inheritance diagram for UM.Mesh.ReadMeshJob.ReadMeshJob:
UM.FileHandler.ReadFileJob.ReadFileJob UM.Job.Job

Public Member Functions

None __init__ (self, *args, **kwargs)
 
 run (self)
 
- Public Member Functions inherited from UM.FileHandler.ReadFileJob.ReadFileJob
None __init__ (self, str filename, Optional[FileHandler] handler=None, bool add_to_recent_files=True)
 
 getFileName (self)
 
 getAddToRecentFiles (self)
 
- Public Member Functions inherited from UM.Job.Job
None __init__ (self)
 
Any getResult (self)
 
None setResult (self, Any result)
 
None setError (self, Exception error)
 
None start (self)
 
None cancel (self)
 
bool isRunning (self)
 
bool isFinished (self)
 
bool hasError (self)
 
Optional[Exception] getError (self)
 

Protected Attributes

 _application = QtApplication.getInstance()
 
- Protected Attributes inherited from UM.FileHandler.ReadFileJob.ReadFileJob
 _filename = filename
 
 _handler = handler
 
 _loading_message = None
 
 _add_to_recent_files = add_to_recent_files
 
- Protected Attributes inherited from UM.Job.Job
bool _running = False
 
bool _finished = False
 
 _result = None
 
 _message = None
 
 _error = None
 

Additional Inherited Members

- Static Public Member Functions inherited from UM.Job.Job
None yieldThread ()
 
- Static Public Attributes inherited from UM.Job.Job
 finished = Signal()
 
 progress = Signal()
 

Detailed Description

A Job subclass that performs mesh loading.

The result of this Job is a MeshData object.

Member Function Documentation

◆ run()

UM.Mesh.ReadMeshJob.ReadMeshJob.run ( self)
Perform the actual task of this job. Should be reimplemented by subclasses.

:exception NotImplementedError

Reimplemented from UM.FileHandler.ReadFileJob.ReadFileJob.


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