fast::StreamToFileExporter class

Write a stream of Mesh or Image data as a sequence of files.

Input ports

Base classes

class ProcessObject
Abstract base class for all process objects.

Public functions

auto create(std::string path, std::string recordingFolderName) -> std::shared_ptr<StreamToFileExporter>
Create instance.
void setPath(std::string path)
void setRecordingFolderName(std::string folder)
void setFrameFilename(std::string name)
void setEnabled(bool enabled)
void setFrameLimit(uint64_t limit)
auto getFrameCounter() const -> uint64_t
auto getCurrentDestinationFolder() const -> std::string
auto getRecordingDuration() const -> float
void reset()
auto isEnabled() -> bool

Private functions

void execute() override

Function documentation

std::shared_ptr<StreamToFileExporter> fast::StreamToFileExporter::create(std::string path, std::string recordingFolderName)

Create instance.

Parameters
path Path to folder to store recordings/streams
recordingFolderName Name of subfolder to store recordings/files in. If not specified a folder with date and time will be used
Returns instance