#include <valuenode_stripes.h>
Public Types | |
typedef etl::handle < ValueNode_Stripes > | Handle |
typedef etl::handle< const ValueNode_Stripes > | ConstHandle |
Public Member Functions | |
virtual | ~ValueNode_Stripes () |
virtual bool | set_link_vfunc (int i, ValueNode::Handle x) |
virtual ValueNode::LooseHandle | get_link_vfunc (int i) const |
virtual int | link_count () const |
virtual String | link_local_name (int i) const |
virtual String | link_name (int i) const |
virtual int | get_link_index_from_name (const String &name) const |
virtual ValueBase | operator() (Time t) const |
Returns the value of the ValueNode at time t. | |
virtual String | get_name () const |
Returns the name of the ValueNode type. | |
virtual String | get_local_name () const |
Returns the localized name of the ValueNode type. | |
LinkableValueNode * | create_new () const |
Static Public Member Functions | |
static bool | check_type (ValueBase::Type type) |
static ValueNode_Stripes * | create (const ValueBase &x=ValueBase::TYPE_GRADIENT) |
Protected Member Functions | |
ValueNode_Stripes () |
typedef etl::handle<ValueNode_Stripes> synfig::ValueNode_Stripes::Handle |
Reimplemented from synfig::LinkableValueNode.
typedef etl::handle<const ValueNode_Stripes> synfig::ValueNode_Stripes::ConstHandle |
Reimplemented from synfig::LinkableValueNode.
synfig::ValueNode_Stripes::ValueNode_Stripes | ( | ) | [protected] |
References synfig::Color::alpha(), synfig::Color::black(), synfig::ValueNode_Const::create(), and synfig::LinkableValueNode::set_link().
Referenced by create(), and create_new().
synfig::ValueNode_Stripes::~ValueNode_Stripes | ( | ) | [virtual] |
References synfig::LinkableValueNode::unlink_all().
bool ValueNode_Stripes::set_link_vfunc | ( | int | i, | |
ValueNode::Handle | x | |||
) | [virtual] |
ValueNode::LooseHandle ValueNode_Stripes::get_link_vfunc | ( | int | i | ) | const [virtual] |
int ValueNode_Stripes::link_count | ( | ) | const [virtual] |
Implements synfig::LinkableValueNode.
Referenced by get_link_vfunc(), link_local_name(), link_name(), and set_link_vfunc().
String ValueNode_Stripes::link_local_name | ( | int | i | ) | const [virtual] |
String ValueNode_Stripes::link_name | ( | int | i | ) | const [virtual] |
int ValueNode_Stripes::get_link_index_from_name | ( | const String & | name | ) | const [virtual] |
Implements synfig::LinkableValueNode.
synfig::ValueBase synfig::ValueNode_Stripes::operator() | ( | Time | ) | const [virtual] |
Returns the value of the ValueNode at time t.
Reimplemented from synfig::ValueNode.
References synfig::Gradient::push_back().
String ValueNode_Stripes::get_name | ( | ) | const [virtual] |
String ValueNode_Stripes::get_local_name | ( | ) | const [virtual] |
LinkableValueNode * ValueNode_Stripes::create_new | ( | ) | const [virtual] |
bool ValueNode_Stripes::check_type | ( | ValueBase::Type | type | ) | [static] |
References synfig::ValueBase::TYPE_GRADIENT.
ValueNode_Stripes * ValueNode_Stripes::create | ( | const ValueBase & | x = ValueBase::TYPE_GRADIENT |
) | [static] |