k3d::inode Class Reference

Abstract interface which MUST be implemented by ALL document nodes. More...

#include <inode.h>

Inheritance diagram for k3d::inode:
Inheritance graph
[legend]

List of all members.

Public Types

typedef sigc::signal< void > deleted_signal_t
 Defines a signal that will be emitted iff the node is deleted.
typedef sigc::signal< void > name_changed_signal_t
 Defines a signal that will be emitted if the node name changes (including via undo / redo).

Public Member Functions

virtual ~inode ()
virtual void set_name (const std::string Name)=0
 Sets the node name (could fail or be overridden).
virtual const std::string name ()=0
 Returns the node name.
virtual iplugin_factoryfactory ()=0
 Returns a reference to the factory that created this node.
virtual idocumentdocument ()=0
 Returns a reference to the document that owns this node.
virtual deleted_signal_tdeleted_signal ()=0
virtual name_changed_signal_tname_changed_signal ()=0

Protected Member Functions

 inode ()
 inode (const inode &Other)
inodeoperator= (const inode &)

Detailed Description

Abstract interface which MUST be implemented by ALL document nodes.


Member Typedef Documentation

typedef sigc::signal<void> k3d::inode::deleted_signal_t

Defines a signal that will be emitted iff the node is deleted.

typedef sigc::signal<void> k3d::inode::name_changed_signal_t

Defines a signal that will be emitted if the node name changes (including via undo / redo).


Constructor & Destructor Documentation

virtual k3d::inode::~inode (  )  [inline, virtual]
k3d::inode::inode (  )  [inline, protected]
k3d::inode::inode ( const inode Other  )  [inline, protected]

Member Function Documentation

virtual deleted_signal_t& k3d::inode::deleted_signal (  )  [pure virtual]
virtual idocument& k3d::inode::document (  )  [pure virtual]
virtual iplugin_factory& k3d::inode::factory (  )  [pure virtual]

Returns a reference to the factory that created this node.

Implemented in k3d::node, module::opengl::painters::sds_edge_painter, module::opengl::painters::sds_point_painter, module::opengl::painters::vbo_sds_edge_painter, module::opengl::painters::vbo_sds_point_painter, module::papagayo_lipsync_reader::papagayo_lipsync_reader, module::matrix::inverse, module::polyhedron::collapse_faces, module::polyhedron::dissolve_faces, module::scripting::bitmap_modifier_script, module::scripting::bitmap_source_script, module::scripting::color_source_script, module::scripting::double_source_script, module::scripting::int32_source_script, module::scripting::matrix_source_script, module::scripting::mesh_modifier_script, module::scripting::mesh_source_script, module::scripting::null_output_script, module::scripting::opengl_painter_script, module::scripting::opengl_renderable_script, module::scripting::render_engine_script, module::scripting::string_source_script, module::scripting::vector3_source_script, module::yafray::area_light, module::yafray::global_photon_light, module::yafray::photon_light, and module::yafray::spot_light.

Referenced by k3d::qtui::icon_factory::create(), k3d::ngui::transform_tool::mesh_target::create_mesh_modifier(), k3d::ngui::transform_tool::transform_target::create_transform_modifier(), module::ngui::snap::snap_tool_detail::transform_target::create_transform_modifier(), k3d::qtui::node_list_model::data(), module::ngui::material_manager::mechanics::MaterialObj::docNodeName(), k3d::ngui::pipeline::detail::duplicate_node(), module::ngui::material_manager::mechanics::MaterialObj::isMaterial(), k3d::node_name_map::name(), k3d::detail::factory_id_filter_t< functor_t >::operator()(), k3d::ngui::detail::pick_camera(), k3d::ngui::detail::pick_render_engine(), module::yafray::render_engine::yafray_visible_nodes_property< value_t, name_policy_t >::property_allow(), module::luxrender::render_engine::luxrender_visible_nodes_property< value_t, name_policy_t >::property_allow(), module::indigo::render_engine::indigo_visible_nodes_property< value_t, name_policy_t >::property_allow(), module::yafray::render_engine::render(), k3d::ngui::detail::test_renderman_render_engine(), k3d::ngui::detail::test_yafray_render_engine(), and k3d::detail::upstream_frozen_transformation().

virtual const std::string k3d::inode::name (  )  [pure virtual]
virtual name_changed_signal_t& k3d::inode::name_changed_signal (  )  [pure virtual]

Implemented in k3d::node.

inode& k3d::inode::operator= ( const inode  )  [inline, protected]
virtual void k3d::inode::set_name ( const std::string  Name  )  [pure virtual]

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

Generated on Mon Mar 21 07:41:53 2011 for K-3D by doxygen 1.6.3