42 DEF_ENUM(InputMode, InputMode, InputMode::Array,
"");
51 DEF_VAR(std::string, OutputPath,
"D:/outputTxt",
"OutputPath");
#define DECLARE_CLASS(name)
This class is designed to be elegant, so it can be directly passed to GPU as parameters.
DEF_VAR(bool, OutputFile, false, "")
virtual bool initialize()
DEF_ENUM(InputMode, InputMode, InputMode::Array, "")
DEF_VAR(Real, Min, Real(-1), "")
DEF_VAR(std::string, Title, "chart", "")
DEF_VAR(bool, FixHeight, false, "")
void setCoord(ImVec2 coord)
DEF_VAR(std::string, OutputPath, "D:/outputTxt", "OutputPath")
std::shared_ptr< Node > mNode
std::vector< Real > * valueVec
DEF_VAR_IN(Real, Value, "")
DEF_VAR(int, Count, -1, "")
DECLARE_ENUM(InputMode, Var=0, Array=1)
DEF_ARRAY_IN(Real, Array, DeviceType::GPU, "")
DEF_VAR(Real, Max, Real(1), "")
DEF_VAR_IN(unsigned, FrameNumber, "")
implement functions for reducing a range to a single value
This is an implementation of AdditiveCCD based on peridyno.
Array< T, DeviceType::GPU > DArray
Array< T, DeviceType::CPU > CArray