10 #include <AtomsGraph/Globals.h>
11 #include <AtomsGraph/Nodes/UnaryFunctionNode.h>
12 #include <AtomsGraph/Nodes/NodeIds.h>
18 ATOMSGRAPH_EXPORT
void registerUtilsNodes();
57 LongPort *inputPort() {
return m_in; }
58 LongPort *outputPort() {
return m_out; }
72 NODE_STANDARD_MEMBERS;
82 DoublePort* inputFramePort() {
return m_inFrame; }
86 DoublePort* frameRatePort() {
return m_frameRate; }
88 DoublePort* animFrameRatePort() {
return m_animFrameRate; }
90 DoublePort* outFramePort() {
return m_outFrame; }
92 DoublePort* outSecondsPort() {
return m_outSeconds; }
94 DoublePort* offsetPort() {
return m_offset; }
98 DoublePort *m_inFrame;
102 DoublePort *m_frameRate;
104 DoublePort* m_animFrameRate;
106 DoublePort *m_outFrameRate;
108 DoublePort *m_outFrame;
110 DoublePort *m_outSeconds;
112 DoublePort *m_offset;
115 double m_prevInFrame;
116 double m_prevOutFrame;
Definition: utilsNodes.h:22
virtual bool compute(const ComputeData *computeData)
Compute function.
Definition: utilsNodes.h:46
virtual bool compute(const ComputeData *computeData)
Compute function.
Generic node port class.
Definition: PortTemplate.h:24
Definition: utilsNodes.h:69
virtual void reset()
Reset function.
virtual bool compute(const ComputeData *computeData)
Compute function.
AtomsGraph namespace.
Definition: PosePort.h:15