7 #include "PlusConfigure.h" 10 #include <vtkIGSIOSequenceIO.h> 16 igsioStatus
vtkPlusSequenceIO::Write(
const std::string& filename, vtkIGSIOTrackedFrameList* frameList, US_IMAGE_ORIENTATION orientationInFile,
bool useCompression,
bool enableImageDataWrite)
18 std::string outputDirectory =
"";
19 if (!vtksys::SystemTools::FileIsFullPath(filename))
23 return vtkIGSIOSequenceIO::Write(filename, outputDirectory, frameList, orientationInFile, useCompression, enableImageDataWrite);
27 igsioStatus
vtkPlusSequenceIO::Write(
const std::string& filename, igsioTrackedFrame* frame, US_IMAGE_ORIENTATION orientationInFile ,
bool useCompression ,
bool enableImageDataWrite )
29 std::string outputDirectory =
"";
30 if (!vtksys::SystemTools::FileIsFullPath(filename))
34 return vtkIGSIOSequenceIO::Write(filename, outputDirectory, frame, orientationInFile, useCompression, enableImageDataWrite);
40 std::string trackedSequenceDataFilePath = trackedSequenceDataFileName;
43 if (!vtksys::SystemTools::FileExists(trackedSequenceDataFilePath.c_str(),
true))
47 LOG_ERROR(
"Cannot find sequence metafile: " << trackedSequenceDataFileName);
51 return vtkIGSIOSequenceIO::Read(trackedSequenceDataFilePath, frameList);
static vtkPlusConfig * GetInstance()
static igsioStatus Write(const std::string &filename, igsioTrackedFrame *frame, US_IMAGE_ORIENTATION orientationInFile=US_IMG_ORIENT_MF, bool useCompression=true, bool EnableImageDataWrite=true)
PlusStatus FindImagePath(const std::string &aImagePath, std::string &aFoundAbsolutePath)
std::string GetOutputDirectory()
static igsioStatus Read(const std::string &filename, vtkIGSIOTrackedFrameList *frameList)