libgeglmm Reference Documentation
Main Page   Namespaces   Book  

Gegl::Node Class Reference

Inheritance diagram for Gegl::Node:

Inheritance graph
[legend]

List of all members.

Public Member Functions

Glib::RefPtr<Nodeadd_child (const Glib::RefPtr<Node>& child)
void blit (double scale, const Rectangle& roi, const Babl* format, void* destination_buf, int rowstride, BlitFlags flags)
bool connect_from (const Glib::ustring& input_pad_name, const Glib::RefPtr<Node>& source, const Glib::ustring& output_pad_name)
bool connect_to (const Glib::ustring& output_pad_name, const Glib::RefPtr<Node>& sink, const Glib::ustring& input_pad_name)
Glib::RefPtr<Nodecreate_child (const Glib::ustring& operation)
Glib::RefPtr<const Nodedetect (int x, int y) const
Glib::RefPtr<Nodedetect (int x, int y)
bool disconnect (const Glib::ustring& input_pad)
GParamSpec* find_property (const Glib::ustring& property_name)
template<class T >
Nodeget (const Glib::ustring& _property_name, T& value)
void get (const Glib::ustring& first_property_name,...) G_GNUC_NULL_TERMINATED
Rectangle get_bounding_box () const
Glib::SListHandle
<Glib::RefPtr<Node>> 
get_children ()
int get_consumers (const Glib::ustring& output_pad, GeglNode*** nodes, const gchar*** pads) const
Glib::RefPtr<const Nodeget_input_proxy (const Glib::ustring& pad_name) const
Glib::RefPtr<Nodeget_input_proxy (const Glib::ustring& pad_name)
Glib::ustring get_operation () const
Glib::RefPtr<const Nodeget_output_proxy (const Glib::ustring& pad_name) const
Glib::RefPtr<Nodeget_output_proxy (const Glib::ustring& pad_name)
Glib::RefPtr<const Nodeget_parent () const
Glib::RefPtr<Nodeget_parent ()
Glib::RefPtr<Nodeget_producer (const Glib::ustring& input_pad_name, Glib::ustring* output_pad_name) const
const GeglNode* gobj () const
 Provides access to the underlying C GObject.
GeglNode* gobj ()
 Provides access to the underlying C GObject.
GeglNode* gobj_copy ()
 Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs.
Glib::RefPtr<Nodelink (const Glib::RefPtr<Node>& sink)
 link the object to a sink.
Glib::RefPtr<Nodenew_child (const Glib::ustring& first_property_name, const Glib::ustring& first_value)
 create a new_child
Glib::RefPtr<Processornew_processor (const Rectangle& rectangle)
void process ()
Glib::PropertyProxy_ReadOnly
<Glib::RefPtr<Operation>> 
property_gegl_operation () const
 The associated GeglOperation instance.
Glib::PropertyProxy
<Glib::RefPtr<Operation>> 
property_gegl_operation ()
 The associated GeglOperation instance.
Glib::PropertyProxy_ReadOnly
<Glib::ustring
property_name () const
 The name of the node.
Glib::PropertyProxy
<Glib::ustring
property_name ()
 The name of the node.
Glib::PropertyProxy_ReadOnly
<Glib::ustring
property_operation () const
 The type of associated GeglOperation.
Glib::PropertyProxy
<Glib::ustring
property_operation ()
 The type of associated GeglOperation.
Glib::RefPtr<Noderemove_child (const Glib::RefPtr<Node>& child)
template<class T >
Nodeset (const Glib::ustring& _property_name, const T& value)
void set (const Glib::ustring& first_property_name,...) G_GNUC_NULL_TERMINATED
Glib::SignalProxy1< void,
const Rectangle& > 
signal_computed ()
Glib::SignalProxy1< void,
const Rectangle& > 
signal_invalidated ()
Glib::ustring to_xml (const Glib::ustring& path_root) const
virtual ~Node ()

Static Public Member Functions

static Glib::RefPtr<Nodecreate ()
static Glib::RefPtr<Nodenew_from_file (const Glib::ustring& path)
static Glib::RefPtr<Nodenew_from_xml (const Glib::ustring& xmldata, const Glib::ustring& path_root)

Protected Member Functions

 Node ()

Related Functions

(Note that these are not member functions.)

Glib::RefPtr<Gegl::Nodewrap (GeglNode* object, bool take_copy=false)
 A Glib::wrap() method for this object.


Constructor & Destructor Documentation

virtual Gegl::Node::~Node (  )  [virtual]

Gegl::Node::Node (  )  [protected]


Member Function Documentation

Glib::RefPtr<Node> Gegl::Node::add_child ( const Glib::RefPtr<Node>&  child  ) 

void Gegl::Node::blit ( double  scale,
const Rectangle roi,
const Babl *  format,
void *  destination_buf,
int  rowstride,
BlitFlags  flags 
)

bool Gegl::Node::connect_from ( const Glib::ustring input_pad_name,
const Glib::RefPtr<Node>&  source,
const Glib::ustring output_pad_name 
)

bool Gegl::Node::connect_to ( const Glib::ustring output_pad_name,
const Glib::RefPtr<Node>&  sink,
const Glib::ustring input_pad_name 
)

static Glib::RefPtr<Node> Gegl::Node::create (  )  [static]

Glib::RefPtr<Node> Gegl::Node::create_child ( const Glib::ustring operation  ) 

Glib::RefPtr<const Node> Gegl::Node::detect ( int  x,
int  y 
) const

Glib::RefPtr<Node> Gegl::Node::detect ( int  x,
int  y 
)

bool Gegl::Node::disconnect ( const Glib::ustring input_pad  ) 

GParamSpec* Gegl::Node::find_property ( const Glib::ustring property_name  ) 

template <class T >
Node& Gegl::Node::get ( const Glib::ustring _property_name,
T &  value 
) [inline]

void Gegl::Node::get ( const Glib::ustring first_property_name,
  ... 
)

Rectangle Gegl::Node::get_bounding_box (  )  const

Glib::SListHandle<Glib::RefPtr<Node>> Gegl::Node::get_children (  ) 

int Gegl::Node::get_consumers ( const Glib::ustring output_pad,
GeglNode ***  nodes,
const gchar ***  pads 
) const

Glib::RefPtr<const Node> Gegl::Node::get_input_proxy ( const Glib::ustring pad_name  )  const

Glib::RefPtr<Node> Gegl::Node::get_input_proxy ( const Glib::ustring pad_name  ) 

Glib::ustring Gegl::Node::get_operation (  )  const

Glib::RefPtr<const Node> Gegl::Node::get_output_proxy ( const Glib::ustring pad_name  )  const

Glib::RefPtr<Node> Gegl::Node::get_output_proxy ( const Glib::ustring pad_name  ) 

Glib::RefPtr<const Node> Gegl::Node::get_parent (  )  const

Glib::RefPtr<Node> Gegl::Node::get_parent (  ) 

Glib::RefPtr<Node> Gegl::Node::get_producer ( const Glib::ustring input_pad_name,
Glib::ustring output_pad_name 
) const

const GeglNode* Gegl::Node::gobj (  )  const [inline]

Provides access to the underlying C GObject.

Reimplemented from Glib::ObjectBase.

GeglNode* Gegl::Node::gobj (  )  [inline]

Provides access to the underlying C GObject.

Reimplemented from Glib::ObjectBase.

Referenced by get(), and set().

GeglNode* Gegl::Node::gobj_copy (  ) 

Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs.

Glib::RefPtr<Node> Gegl::Node::link ( const Glib::RefPtr<Node>&  sink  ) 

link the object to a sink.

Return the sink.

Glib::RefPtr<Node> Gegl::Node::new_child ( const Glib::ustring first_property_name,
const Glib::ustring first_value 
)

create a new_child

Parameters:
first_property_name 

static Glib::RefPtr<Node> Gegl::Node::new_from_file ( const Glib::ustring path  )  [static]

static Glib::RefPtr<Node> Gegl::Node::new_from_xml ( const Glib::ustring xmldata,
const Glib::ustring path_root 
) [static]

Glib::RefPtr<Processor> Gegl::Node::new_processor ( const Rectangle rectangle  ) 

void Gegl::Node::process (  ) 

Glib::PropertyProxy_ReadOnly<Glib::RefPtr<Operation>> Gegl::Node::property_gegl_operation (  )  const

The associated GeglOperation instance.

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns:
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.

Glib::PropertyProxy<Glib::RefPtr<Operation>> Gegl::Node::property_gegl_operation (  ) 

The associated GeglOperation instance.

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns:
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.

Glib::PropertyProxy_ReadOnly<Glib::ustring> Gegl::Node::property_name (  )  const

The name of the node.

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns:
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.

Glib::PropertyProxy<Glib::ustring> Gegl::Node::property_name (  ) 

The name of the node.

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns:
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.

Glib::PropertyProxy_ReadOnly<Glib::ustring> Gegl::Node::property_operation (  )  const

The type of associated GeglOperation.

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns:
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.

Glib::PropertyProxy<Glib::ustring> Gegl::Node::property_operation (  ) 

The type of associated GeglOperation.

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns:
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.

Glib::RefPtr<Node> Gegl::Node::remove_child ( const Glib::RefPtr<Node>&  child  ) 

template <class T >
Node& Gegl::Node::set ( const Glib::ustring _property_name,
const T &  value 
) [inline]

void Gegl::Node::set ( const Glib::ustring first_property_name,
  ... 
)

Glib::SignalProxy1<void,const Rectangle&> Gegl::Node::signal_computed (  ) 

Prototype:
void on_my_computed(const Rectangle& r)

Glib::SignalProxy1<void,const Rectangle&> Gegl::Node::signal_invalidated (  ) 

Prototype:
void on_my_invalidated(const Rectangle& r)

Glib::ustring Gegl::Node::to_xml ( const Glib::ustring path_root  )  const


Friends And Related Function Documentation

Glib::RefPtr<Gegl::Node> wrap ( GeglNode *  object,
bool  take_copy = false 
) [related]

A Glib::wrap() method for this object.

Parameters:
object The C instance.
take_copy False if the result should take ownership of the C instance. True if it should take a new copy or ref.
Returns:
A C++ instance that wraps this C instance.


The documentation for this class was generated from the following file:

Generated for libgeglmm by Doxygen 1.5.8 © 1997-2001