Helper class to import meshes, textures, lights and camera from a file into a render view. More...
#include <vtkSMImporterFactory.h>
Static Public Member Functions | |
static std::string | GetSupportedFileTypes (vtkSMSession *session) |
Returns a formatted string with all supported file types. More... | |
static vtkSMImporterProxy * | CreateImporter (const char *filename, vtkSMSession *session) |
Imports the views from the given input file. More... | |
Helper class to import meshes, textures, lights and camera from a file into a render view.
vtkSMImporterFactory is a helper class to aid in importing files supported by the VTK importers.
Definition at line 21 of file vtkSMImporterFactory.h.
|
static |
Returns a formatted string with all supported file types.
An example returned string would look like:
* "GLTF Files (*.gltf);;OBJ Files (*.obj)" *
|
static |
Imports the views from the given input file.
Returns a new importer instance (or nullptr). Caller must release the returned object explicitly.