fast::MeshFileStreamer class

Stream a sequence of Mesh stored in VTK polydata files.

This streamer uses the VTKMeshFileImporter

Output ports

Base classes

class FileStreamer
Abstract file streamer class.

Constructors, destructors, conversion operators

MeshFileStreamer() protected

Public functions

auto create(std::string filenameFormat, bool loop) -> std::shared_ptr<MeshFileStreamer>
Create instance.

Protected functions

auto getDataFrame(std::string filename) -> DataObject::pointer virtual

Function documentation

std::shared_ptr<MeshFileStreamer> fast::MeshFileStreamer::create(std::string filenameFormat, bool loop)

Create instance.

Parameters
filenameFormat String of path and format of images. E.g. /path/to/files/frame_#.mhd. The hash sign # will be replaced by an index
loop Whether to loop the recording or not
Returns instance