Static Public Member Functions | List of all members
vtkSMImporterFactory Class Reference

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 vtkSMImporterProxyCreateImporter (const char *filename, vtkSMSession *session)
 Imports the views from the given input file. More...
 

Detailed Description

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.

Member Function Documentation

◆ GetSupportedFileTypes()

static std::string vtkSMImporterFactory::GetSupportedFileTypes ( vtkSMSession session)
static

Returns a formatted string with all supported file types.

An example returned string would look like:

* "GLTF Files (*.gltf);;OBJ Files (*.obj)"
* 

◆ CreateImporter()

static vtkSMImporterProxy* vtkSMImporterFactory::CreateImporter ( const char *  filename,
vtkSMSession session 
)
static

Imports the views from the given input file.

Returns a new importer instance (or nullptr). Caller must release the returned object explicitly.


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