19#ifndef __vtkSlicerScriptedFileReaderBridge_h
20#define __vtkSlicerScriptedFileReaderBridge_h
23#include "vtkSlicerBaseLogicExport.h"
35class vtkSmartPyObject;
36class vtkWeakReference;
52 void PrintSelf(ostream& os, vtkIndent indent)
override;
92 PyObject* CallPythonMethod(
const vtkSmartPyObject& pyArgs,
const std::string& fName,
bool decrementResult,
bool* callFailed =
nullptr);
95 vtkInternal* Internal;
double ExamineFileListConfidence(std::vector< std::string > &fileList, vtkMRMLIOProperties *ioProperties) override
The file list is passed to the Python method as a list, which the method must modify in place.
static PyObject * PropertiesToDict(vtkMRMLIOProperties *properties)
vtkWeakReference * GetWeakReference()
bool CanLoadFile(const std::string &filePath) override
double CanLoadFileConfidence(const std::string &filePath) override
bool Load(vtkMRMLIOProperties *properties) override
~vtkSlicerScriptedFileReaderBridge() override
static void UpdatePropertiesFromDict(vtkMRMLIOProperties *properties, PyObject *dict)
void UnRegisterInternal(vtkObjectBase *o, vtkTypeBool check) override
std::string ExamineFileList(std::vector< std::string > &fileList, vtkMRMLIOProperties *ioProperties) override
The file list is passed to the Python method as a list, which the method must modify in place.
vtkSlicerScriptedFileReaderBridge()
void PrintSelf(ostream &os, vtkIndent indent) override
void GetOptionsDescription(vtkMRMLIOOptionsDescription *description) override
static vtkSlicerScriptedFileReaderBridge * New()