PeriDyno 1.0.0
Loading...
Searching...
No Matches
OutputModule.h
Go to the documentation of this file.
1#pragma once
2#include "Module.h"
3
4#include "FilePath.h"
5
6namespace dyno
7{
8 class OutputModule : public Module
9 {
10 public:
12 ~OutputModule() override;
13
14 DEF_VAR(FilePath, OutputPath, "", "OutputPath");
15
16 DEF_VAR(std::string, Prefix, "", "Prefix of the file name");
17
18 DEF_VAR(uint, StartFrame, 0, "Start frame");
19 DEF_VAR(uint, EndFrame, 9999, "End frame");
20
21 DEF_VAR(uint, Stride, 1, "Stride");
22
23 DEF_VAR(bool, Reordering, true, "If set true, the output file name will be re-indexed in sequence starting from zero");
24
25 DEF_VAR_IN(uint, FrameNumber, "Input FrameNumber");
26
27 std::string getModuleType() override { return "OutputModule"; }
28
29 protected:
30 void updateImpl() final;
31
32 virtual void output() {};
33
37 std::string constructFileName();
38 };
39}
Module(std::string name="default")
Definition Module.cpp:7
DEF_VAR(uint, StartFrame, 0, "Start frame")
std::string constructFileName()
DEF_VAR_IN(uint, FrameNumber, "Input FrameNumber")
std::string getModuleType() override
DEF_VAR(bool, Reordering, true, "If set true, the output file name will be re-indexed in sequence starting from zero")
DEF_VAR(FilePath, OutputPath, "", "OutputPath")
~OutputModule() override
DEF_VAR(std::string, Prefix, "", "Prefix of the file name")
DEF_VAR(uint, EndFrame, 9999, "End frame")
void updateImpl() final
virtual void output()
DEF_VAR(uint, Stride, 1, "Stride")
This is an implementation of AdditiveCCD based on peridyno.
Definition Array.h:25
unsigned int uint
Definition VkProgram.h:14