KSeExpr 6.0.0.0
|
Curve assignment expression. Assignment of curve to a variable. More...
#include <ControlSpec.h>
Public Member Functions | |
ExprCurveAssignSpec (const ExprAssignNode &node) | |
std::string | toString () const override |
Generates a replacement string based on changes to the spec. | |
![]() | |
ControlSpec (const ExprNode &node) | |
virtual | ~ControlSpec ()=default |
ControlSpec & | operator= (const ControlSpec &)=default |
ControlSpec & | operator= (ControlSpec &&)=default |
ControlSpec (const ControlSpec &)=default | |
ControlSpec (ControlSpec &&)=default | |
Static Public Member Functions | |
static const ExprCurveAssignSpec * | match (const ExprNode *node) |
Private Attributes | |
std::string | _lookupText |
Lookup subexpression text. | |
std::vector< typename Curve< T >::CV > | _vec |
Control points of curve spline. | |
Additional Inherited Members | |
![]() | |
std::string | _name |
Name of control. | |
int | _start |
Start position of text in original source. | |
int | _end |
End position of text in original source. | |
Curve assignment expression. Assignment of curve to a variable.
Definition at line 82 of file ControlSpec.h.
KSeExpr::ExprCurveAssignSpec< T >::ExprCurveAssignSpec | ( | const ExprAssignNode & | node | ) |
Definition at line 156 of file ControlSpec.cpp.
References KSeExpr::ExprCurveAssignSpec< T >::_lookupText, KSeExpr::ControlSpec::_name, KSeExpr::ExprCurveAssignSpec< T >::_vec, and KSeExpr::ExprNumNode::value().
|
static |
Definition at line 197 of file ControlSpec.cpp.
References KSeExpr::isCurveAssign().
|
overridevirtual |
Generates a replacement string based on changes to the spec.
Implements KSeExpr::ControlSpec.
Definition at line 183 of file ControlSpec.cpp.
References KSeExpr::Vec< T, d, ref >::Vec().
|
private |
Lookup subexpression text.
Definition at line 91 of file ControlSpec.h.
Referenced by KSeExpr::ExprCurveAssignSpec< T >::ExprCurveAssignSpec().
|
private |
Control points of curve spline.
Definition at line 93 of file ControlSpec.h.
Referenced by KSeExpr::ExprCurveAssignSpec< T >::ExprCurveAssignSpec().