k3d::node Class Reference

#include <node.h>

Inherits k3d::inode, k3d::ipersistent, k3d::property_collection, k3d::persistent_property_collection, and k3d::metadata::storage.

Inherited by module::animation::animation_track< double, double >, module::animation::animation_track< double, k3d::matrix4 >, module::animation::interpolator< double, double >, module::animation::interpolator< double, k3d::matrix4 >, module::animation::interpolator< time_t, k3d::matrix4 >, k3d::gl::mesh_painter, k3d::ri::shader, k3d::scalar_source, libk3drenderman::area_light, libk3drenderman::csg_operator, libk3drenderman::csg_solid, libk3drenderman::direct_texture_map, libk3drenderman::lat_long_environment_map, libk3drenderman::material, libk3drenderman::read_archive, libk3drenderman::render_engine, libk3drenderman::shadow_map, libk3drenderman::texture_map, module::yafray::light< k3d::node >, k3d::material_sink< k3d::node >, k3d::matrix_source< k3d::node >, k3d::mesh_modifier< k3d::node >, k3d::mesh_modifier< node >, k3d::mesh_reader< k3d::node >, k3d::mesh_selection_modifier< k3d::node >, k3d::mesh_selection_sink< k3d::node >, k3d::mesh_sink< k3d::node >, k3d::mesh_source< k3d::node >, k3d::mesh_writer< k3d::node >, module::animation::animation_track< time_t, value_t >, module::animation::interpolator< time_t, value_t >, module::annotation::annotation_2d, module::array::transform_array_1d, module::array::transform_array_2d, module::array::transform_array_3d, module::bitmap::checker, module::bitmap::reader, module::bitmap::reference_image_2d, module::bitmap::simple_modifier, module::bitmap::solid, module::core::multi_material, module::core::null, module::cuda::cuda_bitmap_simple_modifier, module::development::glsl_painter, module::graphviz::render_engine, module::highlighting::rubber_band, module::indigo::background, module::indigo::diffuse_material, module::indigo::render_engine, module::indigo::skylight, module::jpeg::io::bitmap_reader, module::jpeg::io::bitmap_writer, module::luxrender::light, module::luxrender::material, module::luxrender::render_engine, module::luxrender::texture, module::matrix::frozen_matrix, module::mesh_instance::frozen_mesh, module::ode::node, module::opengl::painters::texture_colored_selection_painter, module::opengl::render_engine, module::papagayo_lipsync_reader::papagayo_lipsync_reader, module::pdiff::perceptual_difference, module::pixie::raytrace_map, module::png::io::bitmap_reader, module::png::io::bitmap_writer, module::renderman::engine::air, module::renderman::engine::aqsis, module::renderman::engine::bmrt, module::renderman::engine::bundled::aqsis, module::renderman::engine::delight, module::renderman::engine::netprman, module::renderman::engine::pixie, module::renderman::engine::povman, module::renderman::engine::prman, module::renderman::engine::rdc, module::renderman::painters::bicubic_patch_painter, module::renderman::painters::bilinear_patch_painter, module::renderman::painters::blobby_painter, module::renderman::painters::cone_painter, module::renderman::painters::cubic_curve_painter, module::renderman::painters::cylinder_painter, module::renderman::painters::disk_painter, module::renderman::painters::hyperboloid_painter, module::renderman::painters::linear_curve_painter, module::renderman::painters::multi_painter, module::renderman::painters::nurbs_patch_painter, module::renderman::painters::paraboloid_painter, module::renderman::painters::particle_painter, module::renderman::painters::polyhedron_painter, module::renderman::painters::sphere_painter, module::renderman::painters::subdivision_surface_painter, module::renderman::painters::teapot_painter, module::renderman::painters::torus_painter, module::sample::plugin, module::scalar::double_to_string, module::selection::node_selection, module::solar::position, module::test::mesh_to_stdout, module::test::pipeline_profiler, module::test::string_to_stdout, module::test::valid_meshes, module::tiff::io::bitmap_reader, module::tiff::io::bitmap_writer, module::time::manual_time_source, module::time::real_time_source, module::time::time_source, module::time::time_to_string, module::wgl::camera_to_bitmap, module::yafray::material, module::yafray::render_engine, k3d::scripted_node< k3d::node >, k3d::time_sink< k3d::node >, and k3d::transformable< k3d::node >.

List of all members.

Public Member Functions

 node (iplugin_factory &Factory, idocument &Document)
virtual ~node ()
void set_name (const std::string Name)
 Sets the node name (could fail or be overridden).
const std::string name ()
 Returns the node name.
idocumentdocument ()
 Returns a reference to the document that owns this node.
iplugin_factoryfactory ()
 Returns a reference to the factory that created this node.
deleted_signal_tdeleted_signal ()
name_changed_signal_tname_changed_signal ()
void save (xml::element &Element, const ipersistent::save_context &Context)
 Called once during document save.
void load (xml::element &Element, const ipersistent::load_context &Context)
 Called once during document loading.

Static Public Member Functions

static const std::vector< inode * > lookup (idocument &Document)
 Returns the set of all nodes for the given document.
static const std::vector< inode * > lookup (idocument &Document, const uuid FactoryID)
 Returns the set of nodes that match a specific factory ID (could return empty set!).
static const std::vector< inode * > lookup (idocument &Document, const string_t &NodeName)
 Returns the set of nodes that match the given name (be prepared to handle zero, one, or many results).
static const std::vector< inode * > lookup (idocument &Document, const string_t &MetaName, const string_t &MetaValue)
 Returns the set of nodes that match the given metadata name and value.
template<typename interface_t >
static const std::vector
< interface_t * > 
lookup (idocument &Document)
 Returns the set of nodes that implement the requested interface type (could return an empty set).
template<typename interface_t >
static const std::vector
< interface_t * > 
lookup (idocument &Document, const uuid FactoryID)
 Returns the set of nodes that implement the requested interface type and match the given factory ID.
template<typename interface_t >
static const std::vector
< interface_t * > 
lookup (idocument &Document, const string_t &MetaName, const string_t &MetaValue)
 Returns the set of nodes that implement the requested interface type and match the given metadata name and value.
static inodelookup_one (idocument &Document, const string_t &NodeName)
 Returns the one node that matches the given name, or NULL.
static void show (idocument &Document, inode &Node)
 Makes a node visible (adds it to visibility properties for all node collection sinks).
static void show (idocument &Document, const std::vector< inode * > &Node)
 Makes a collection of nodes visible (adds them to visibility properties for all node collection sinks).
static void hide (idocument &Document, inode &Node)
 Makes a node invisible (removes it from visibility properties for all node collection sinks).
static void hide (idocument &Document, const std::vector< inode * > &Node)
 Makes a collection of nodes invisible (removes them from visibility properties for all node collection sinks).

Private Member Functions

void on_deleted ()
 k3d_data (std::string, data::immutable_name, data::change_signal, data::with_undo, data::local_storage, data::no_constraint, data::writable_property, data::no_serialization) m_name
 Stores the name for this node.

Private Attributes

iplugin_factorym_factory
 Stores the factory that created this node.
idocumentm_document
 Stores the Document that owns this node.
deleted_signal_t m_deleted_signal
 Used to signal observers when this node is deleted.
name_changed_signal_t m_name_changed_signal
 Used to signal observers when this node's name changes.

Detailed Description

Implements the minimum functionality required of any K-3D node. You should derive document plugins from node and override the default method implementations and/or implement additional interfaces as-needed.


Constructor & Destructor Documentation

k3d::node::node ( iplugin_factory Factory,
idocument Document 
)
k3d::node::~node (  )  [virtual]

Member Function Documentation

inode::deleted_signal_t & k3d::node::deleted_signal (  )  [virtual]

Implements k3d::inode.

References m_deleted_signal.

Referenced by libk3drenderman::material::material().

idocument & k3d::node::document (  )  [virtual]

Returns a reference to the document that owns this node.

Implements k3d::inode.

References m_document.

Referenced by module::opengl::painters::textured_face_painter::async_redraw(), module::opengl::painters::texture_colored_selection_painter::async_redraw(), module::highlighting::rubber_band::async_redraw(), module::bitmap::reference_image_2d::async_redraw(), k3d::gl::mesh_painter::async_redraw(), module::annotation::annotation_2d::async_redraw(), k3d::ri::shader::create_arguments(), k3d::ri::shader::delete_arguments(), module::carve::boolean::do_boolean(), module::opengl::render_engine::draw_scene(), module::mesh_instance::mesh_instance::execute(), module::cgal::boolean::get_factory(), module::bitmap::color_monochrome::on_assign_pixels(), module::scripting::mesh_modifier_script::on_create_mesh(), module::deformation::transform_points::on_deform_mesh(), module::cuda::cuda_deformation_transform_points::on_deform_mesh(), module::deformation::tweak_points::on_execute(), module::scripting::null_output_script::on_execute(), module::scripting::opengl_renderable_script::on_gl_draw(), module::mesh_instance::mesh_instance::on_gl_draw(), module::scripting::opengl_renderable_script::on_gl_select(), module::mesh_instance::mesh_instance::on_gl_select(), module::opengl::painters::vbo_sds_painter< point_selection, sds_point_vbo >::on_levels_changed(), module::opencascade::opencascade_mesh_reader_implementation::on_load_mesh(), module::opengl::painters::vbo_face_painter::on_paint_mesh(), module::scripting::bitmap_source_script::on_resize_bitmap(), module::scripting::bitmap_modifier_script::on_resize_bitmap(), k3d::ri::shader::on_shader_changed(), module::scripting::color_source_script::on_update_color(), module::scripting::double_source_script::on_update_double(), module::scripting::int32_source_script::on_update_int32(), module::scripting::matrix_source_script::on_update_matrix(), module::scripting::matrix_modifier_script::on_update_matrix(), k3d::mesh_simple_deformation_modifier::on_update_mesh(), module::cuda::cuda_mesh_poly_grid_and_transform::on_update_mesh_geometry(), module::cuda::cuda_mesh_poly_grid::on_update_mesh_geometry(), module::scripting::mesh_source_script::on_update_mesh_topology(), module::cuda::cuda_mesh_poly_grid_and_transform::on_update_mesh_topology(), module::cuda::cuda_mesh_poly_grid::on_update_mesh_topology(), module::scripting::string_source_script::on_update_string(), module::scripting::vector3_source_script::on_update_vector3(), module::animation::animation_track< double, k3d::matrix4 >::on_value_change(), module::renderman::painters::scripted_painter::paint_mesh(), module::scripting::opengl_painter_script::paint_mesh(), module::yafray::render_engine::render(), libk3drenderman::render_engine::render(), module::luxrender::render_engine::render(), module::indigo::render_engine::render(), module::graphviz::render_engine::render(), module::yafray::render_engine::render_camera_animation(), libk3drenderman::render_engine::render_camera_animation(), module::luxrender::render_engine::render_camera_animation(), module::indigo::render_engine::render_camera_animation(), module::scripting::render_engine_script::render_frame(), module::opengl::render_engine::render_viewport(), module::opengl::render_engine::render_viewport_selection(), module::selection::node_selection::select(), module::scripting::opengl_painter_script::select_mesh(), module::selection::node_selection::selection_weight(), libk3drenderman::shadow_map::setup_renderman_texture(), module::cuda::cuda_bitmap_simple_modifier::start_profile_step(), and module::cuda::cuda_bitmap_simple_modifier::stop_profile_step().

iplugin_factory & k3d::node::factory (  )  [virtual]

Returns a reference to the factory that created this node.

Implements k3d::inode.

Reimplemented in 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.

References m_factory.

Referenced by module::opengl::painters::face_varying_painter_factory(), module::mesh::weld_points::get_factory(), module::matrix::view::get_factory(), module::opengl::painters::vertex_data_painter::get_factory(), module::opengl::painters::vbo_sds_point_painter::get_factory(), module::opengl::painters::vbo_sds_edge_painter::get_factory(), module::opengl::painters::vbo_sds_face_painter::get_factory(), module::opengl::painters::vbo_face_painter::get_factory(), module::opengl::painters::vbo_edge_painter::get_factory(), module::opengl::painters::varying_data_painter::get_factory(), module::test::valid_meshes::get_factory(), module::uniform_polyhedron::uniform_polyhedron::get_factory(), module::deformation::twist_points::get_factory(), module::polyhedron::triangulate_faces::get_factory(), module::deformation::translate_points::get_factory(), module::array::translate_array_3d::get_factory(), module::array::translate_array_2d::get_factory(), module::array::translate_array_1d::get_factory(), module::deformation::transform_points::get_factory(), module::renderman::painters::torus_painter::get_factory(), module::opengl::painters::torus_painter::get_factory(), module::quadrics::torus::get_factory(), module::nurbs::source::torus::get_factory(), module::time::time_to_string::get_factory(), module::time::time_source::get_factory(), module::bitmap::threshold::get_factory(), module::opengl::painters::textured_face_painter::get_factory(), libk3drenderman::texture_map::get_factory(), module::renderman::painters::teapot_painter::get_factory(), module::opengl::painters::teapot_painter::get_factory(), module::quadrics::teapot::get_factory(), module::deformation::taper_points::get_factory(), module::nurbs::sweep_surface::get_factory(), module::plot::surface_plot::get_factory(), module::luxrender::sun_light::get_factory(), module::scalar::subtract::get_factory(), module::blobby::subtract::get_factory(), module::bitmap::subtract::get_factory(), module::renderman::painters::subdivision_surface_painter::get_factory(), module::polyhedron::subdivide_faces::get_factory(), module::polyhedron::subdivide_edges::get_factory(), module::test::string_to_stdout::get_factory(), module::nurbs::split_patch::get_factory(), module::nurbs::split_curve::get_factory(), module::deformation::sphereize_points::get_factory(), module::renderman::painters::sphere_painter::get_factory(), module::opengl::painters::sphere_painter::get_factory(), module::quadrics::sphere::get_factory(), module::nurbs::source::sphere::get_factory(), module::bitmap::solid::get_factory(), module::matrix::snap::get_factory(), module::deformation::smooth_points::get_factory(), module::indigo::skylight::get_factory(), module::luxrender::sky_light::get_factory(), module::nurbs::skinned_surface::get_factory(), module::scalar::sine::get_factory(), module::ode::simulation::get_factory(), module::luxrender::shiny_metal_material::get_factory(), module::deformation::shear_points::get_factory(), libk3drenderman::shadow_map::get_factory(), libk3drenderman::volume_shader::get_factory(), libk3drenderman::surface_shader::get_factory(), libk3drenderman::light_shader::get_factory(), libk3drenderman::imager_shader::get_factory(), libk3drenderman::displacement_shader::get_factory(), module::nurbs::set_weight::get_factory(), module::mesh_attributes::set_material::get_factory(), module::mesh_attributes::set_color::get_factory(), module::test::selection_to_stdout::get_factory(), module::polyhedron::selected_faces_to_polyhedron::get_factory(), module::selection::select_point_by_number::get_factory(), module::selection::select_nurbs_patch_by_number::get_factory(), module::selection::select_nurbs_curve_by_number::get_factory(), module::selection::select_n_sided::get_factory(), module::selection::select_linear_curve_by_number::get_factory(), module::selection::select_face_by_number::get_factory(), module::selection::select_edge_rings::get_factory(), module::selection::select_edge_loops::get_factory(), module::selection::select_edge_by_number::get_factory(), module::selection::select_degenerate_faces::get_factory(), module::selection::select_cubic_curve_by_number::get_factory(), module::selection::select_cube::get_factory(), module::selection::select_connected_components::get_factory(), module::selection::select_companion::get_factory(), module::selection::select_clockwise::get_factory(), module::selection::select_boundary_edges::get_factory(), module::selection::select_bilinear_patch_by_number::get_factory(), module::selection::select_bicubic_patch_by_number::get_factory(), module::blobby::segment::get_factory(), module::polyhedron::sds_hole::get_factory(), module::opengl::painters::sds_face_painter::get_factory(), module::polyhedron::sds_crease::get_factory(), module::polyhedron::sds_corner::get_factory(), module::renderman::painters::scripted_painter::get_factory(), module::deformation::scale_points::get_factory(), module::matrix::scale::get_factory(), module::luxrender::scalar_image_texture::get_factory(), module::nurbs::ruled_surface::get_factory(), module::highlighting::rubber_band::get_factory(), module::luxrender::rough_glass_material::get_factory(), module::deformation::rotate_points::get_factory(), module::array::rotate_array_3d::get_factory(), module::array::rotate_array_2d::get_factory(), module::array::rotate_array_1d::get_factory(), module::nurbs::revolve_curve::get_factory(), module::yafray::render_engine::get_factory(), libk3drenderman::render_engine::get_factory(), module::opengl::render_engine::get_factory(), module::luxrender::render_engine::get_factory(), module::indigo::render_engine::get_factory(), module::graphviz::render_engine::get_factory(), module::bitmap::reference_image_3d::get_factory(), module::bitmap::reference_image_2d::get_factory(), module::indigo::rectangle_light::get_factory(), module::time::real_time_source::get_factory(), module::bitmap::reader::get_factory(), libk3drenderman::read_archive::get_factory(), module::renderman::engine::rdc::get_factory(), module::pixie::raytrace_map::get_factory(), module::qslim::qslim::get_factory(), module::renderman::engine::prman::get_factory(), module::renderman::engine::povman::get_factory(), module::solar::position::get_factory(), module::matrix::position::get_factory(), module::renderman::painters::polyhedron_painter::get_factory(), module::nurbs::polygonize_patch::get_factory(), module::nurbs::polygonize_curve::get_factory(), module::nurbs::source::polygon::get_factory(), module::polyhedron::sources::poly_torus::get_factory(), module::bilinear_patch::poly_to_bilinear::get_factory(), module::polyhedron::sources::poly_sphere::get_factory(), module::polyhedron::sources::poly_icosahedron::get_factory(), module::polyhedron::sources::poly_grid::get_factory(), module::polyhedron::sources::poly_disk::get_factory(), module::polyhedron::sources::poly_cylinder::get_factory(), module::polyhedron::sources::poly_cushion::get_factory(), module::polyhedron::sources::poly_cube::get_factory(), module::polyhedron::sources::poly_cone::get_factory(), module::blobby::points_to_blobby::get_factory(), module::mesh::points_centroid::get_factory(), module::opengl::painters::point_painter::get_factory(), module::opengl::painters::point_numbering_painter::get_factory(), module::opengl::painters::point_normal_painter::get_factory(), module::renderman::engine::pixie::get_factory(), module::test::pipeline_profiler::get_factory(), module::pdiff::perceptual_difference::get_factory(), module::nurbs::patch_insert_knot::get_factory(), module::nurbs::patch_degree_elevation::get_factory(), module::renderman::painters::particle_painter::get_factory(), module::renderman::painters::paraboloid_painter::get_factory(), module::opengl::painters::paraboloid_painter::get_factory(), module::quadrics::paraboloid::get_factory(), module::nurbs::source::paraboloid::get_factory(), module::matrix::orientation::get_factory(), module::opencascade::opencascade_mesh_reader_implementation::get_factory(), module::renderman::painters::nurbs_patch_painter::get_factory(), module::opengl::painters::nurbs_patch_painter::get_factory(), module::opengl::painters::nurbs_patch_numbering_painter::get_factory(), module::opengl::painters::nurbs_curve_painter::get_factory(), module::opengl::painters::nurbs_curve_numbering_painter::get_factory(), module::luxrender::null_material::get_factory(), module::core::null::get_factory(), module::opengl::painters::normal_array_painter::get_factory(), module::selection::node_selection::get_factory(), module::bicubic_patch::newell_primitive::get_factory(), module::renderman::engine::netprman::get_factory(), module::blobby::negate::get_factory(), module::mesh_attributes::named_text_array::get_factory(), module::scalar::multiply::get_factory(), module::blobby::multiply::get_factory(), module::bitmap::multiply::get_factory(), module::renderman::painters::multi_painter::get_factory(), module::opengl::painters::multi_painter::get_factory(), module::core::multi_material::get_factory(), module::polyhedron::move_first_edge_implementation::get_factory(), module::deformation::morph_points::get_factory(), module::scalar::modulo::get_factory(), module::sample::plugin::get_factory(), module::luxrender::mix_material::get_factory(), module::luxrender::mirror_material::get_factory(), module::blobby::minimum::get_factory(), module::luxrender::metal_material::get_factory(), module::stl::io::mesh_writer::get_factory(), module::ply::io::mesh_writer::get_factory(), module::ogre::io::mesh_writer::get_factory(), module::obj::io::mesh_writer::get_factory(), module::k3d_io::mesh_writer::get_factory(), module::graphviz::mesh_writer::get_factory(), module::collada::io::mesh_writer::get_factory(), module::gts::mesh_volume::get_factory(), module::test::mesh_to_stdout::get_factory(), module::selection::mesh_selection::get_factory(), module::svg::io::mesh_reader::get_factory(), module::ply::io::mesh_reader::get_factory(), module::md2::io::mesh_reader_implementation::get_factory(), module::k3d_io::mesh_reader::get_factory(), module::gts::io::mesh_reader::get_factory(), module::collada::io::mesh_reader::get_factory(), module::f3ds::io::mesh_reader::get_factory(), module::mesh_instance::mesh_instance::get_factory(), module::gts::mesh_area::get_factory(), module::mesh::merge_mesh::get_factory(), module::nurbs::merge_curve_knot_vectors::get_factory(), module::polyhedron::merge_coplanar_faces::get_factory(), module::nurbs::merge_connected_curves::get_factory(), module::polyhedron::merge_collinear_edges::get_factory(), module::blobby::maximum::get_factory(), module::luxrender::matte_translucent_material::get_factory(), module::luxrender::matte_material::get_factory(), module::bitmap::matte_invert::get_factory(), module::bitmap::matte_colordiff::get_factory(), module::scripting::matrix_modifier_script::get_factory(), module::yafray::material::get_factory(), libk3drenderman::material::get_factory(), module::time::manual_time_source::get_factory(), module::polyhedron::make_sds_implementation::get_factory(), module::particle::points_to_particles::get_factory(), module::matrix::look::get_factory(), module::quadrics::logo::get_factory(), module::linear_curve::lissajous_curve::get_factory(), module::deformation::linear_wave_points::get_factory(), module::deformation::linear_point_noise::get_factory(), module::renderman::painters::linear_curve_painter::get_factory(), module::opengl::painters::linear_curve_painter::get_factory(), libk3drenderman::light::get_factory(), module::plot::least_squares_plot::get_factory(), libk3drenderman::lat_long_environment_map::get_factory(), module::lsystem::l_parser::get_factory(), module::linear_curve::knot_curve::get_factory(), module::euler::kill_edge_make_loop::get_factory(), module::euler::kill_edge_and_vertex::get_factory(), module::bitmap::invert::get_factory(), module::animation::interpolator_double_double_linear::get_factory(), module::animation::interpolator_double_matrix4_linear::get_factory(), module::nurbs::insert_knot::get_factory(), module::luxrender::image_texture::get_factory(), module::renderman::painters::hyperboloid_painter::get_factory(), module::opengl::painters::hyperboloid_painter::get_factory(), module::quadrics::hyperboloid::get_factory(), module::nurbs::source::hyperboloid::get_factory(), module::opengl::painters::hidden_line_painter::get_factory(), module::opengl::painters::half_edge_painter::get_factory(), module::selection::grow_selection::get_factory(), module::nurbs::source::grid::get_factory(), module::development::glsl_painter::get_factory(), module::luxrender::glossy_material::get_factory(), module::luxrender::glass_material::get_factory(), module::bitmap::gamma::get_factory(), module::mesh_instance::frozen_mesh::get_factory(), module::matrix::frozen_matrix::get_factory(), module::polyhedron::flip_orientation_implementation::get_factory(), module::nurbs::flip_curve::get_factory(), module::selection::face_to_point_selections::get_factory(), module::opengl::painters::face_painter::get_factory(), module::opengl::painters::face_orientation_painter::get_factory(), module::opengl::painters::face_numbering_painter::get_factory(), module::opengl::painters::face_normal_painter::get_factory(), module::nurbs::extrude_patch::get_factory(), module::polyhedron::extrude_faces::get_factory(), module::nurbs::extrude_curve::get_factory(), module::nurbs::extract_trim_curves::get_factory(), module::nurbs::extract_patch_curve::get_factory(), module::nurbs::extract_curve_point::get_factory(), module::scalar::expression::get_factory(), module::luxrender::environment_light::get_factory(), module::blobby::ellipsoid::get_factory(), module::nurbs::edit_knot_vector::get_factory(), module::blobby::edges_to_blobby::get_factory(), module::opengl::painters::edge_numbering_painter::get_factory(), module::scalar::double_to_string::get_factory(), module::scalar::divide::get_factory(), module::blobby::divide::get_factory(), module::renderman::painters::disk_painter::get_factory(), module::opengl::painters::disk_painter::get_factory(), module::quadrics::disk::get_factory(), module::nurbs::source::disk::get_factory(), libk3drenderman::direct_texture_map::get_factory(), module::indigo::diffuse_material::get_factory(), module::renderman::engine::delight::get_factory(), module::polyhedron::delete_components::get_factory(), libk3drenderman::delayed_read_archive::get_factory(), module::deformation::deformation_expression::get_factory(), module::deformation::cylindrical_wave_points::get_factory(), module::renderman::painters::cylinder_painter::get_factory(), module::opengl::painters::cylinder_painter::get_factory(), module::quadrics::cylinder::get_factory(), module::nurbs::source::cylinder::get_factory(), module::nurbs::curve_traversal::get_factory(), module::nurbs::curve_degree_elevation::get_factory(), module::nurbs::source::curve::get_factory(), module::cuda::cuda_mesh_poly_grid_and_transform::get_factory(), module::cuda::cuda_mesh_poly_grid::get_factory(), module::cuda::cuda_mesh_k3d_to_cuda_converter::get_factory(), module::cuda::cuda_mesh_cuda_to_k3d_converter::get_factory(), module::cuda::cuda_bitmap_threshold::get_factory(), module::cuda::cuda_bitmap_subtract::get_factory(), module::cuda::cuda_bitmap_multiply::get_factory(), module::cuda::cuda_bitmap_matte_invert::get_factory(), module::cuda::cuda_bitmap_matte_colordiff::get_factory(), module::cuda::cuda_bitmap_invert::get_factory(), module::cuda::cuda_bitmap_gamma::get_factory(), module::cuda::cuda_bitmap_color_monochrome::get_factory(), module::renderman::painters::cubic_curve_painter::get_factory(), module::opengl::painters::cubic_curve_painter::get_factory(), libk3drenderman::csg_solid::get_factory(), libk3drenderman::csg_operator::get_factory(), module::nurbs::create_cap::get_factory(), module::polyhedron::connect_vertices::get_factory(), module::nurbs::connect_curves::get_factory(), module::renderman::painters::cone_painter::get_factory(), module::opengl::painters::cone_painter::get_factory(), module::quadrics::cone::get_factory(), module::nurbs::source::cone::get_factory(), module::bitmap::color_monochrome::get_factory(), module::opengl::painters::color_face_painter::get_factory(), module::polyhedron::collapse_points::get_factory(), module::polyhedron::collapse_edges::get_factory(), module::nurbs::close_curve::get_factory(), module::nurbs::source::circle::get_factory(), module::bitmap::checker::get_factory(), module::subdivision_surface::catmull_clark_subdivider::get_factory(), module::polyhedron::cap_holes::get_factory(), module::wgl::camera_to_bitmap::get_factory(), module::core::camera::get_factory(), module::mesh_attributes::calculate_normals::get_factory(), module::deformation::bulge_points::get_factory(), module::polyhedron::bridge_faces::get_factory(), module::polyhedron::bridge_edges::get_factory(), module::carve::boolean::get_factory(), module::renderman::engine::bmrt::get_factory(), module::opengl::painters::blobby_point_painter::get_factory(), module::renderman::painters::blobby_painter::get_factory(), module::tiff::io::bitmap_writer::get_factory(), module::png::io::bitmap_writer::get_factory(), module::jpeg::io::bitmap_writer::get_factory(), module::tiff::io::bitmap_reader::get_factory(), module::png::io::bitmap_reader::get_factory(), module::jpeg::io::bitmap_reader::get_factory(), module::renderman::painters::bilinear_patch_painter::get_factory(), module::opengl::painters::bilinear_patch_painter::get_factory(), module::bicubic_patch::bicubic_to_poly::get_factory(), module::renderman::painters::bicubic_patch_painter::get_factory(), module::opengl::painters::bicubic_patch_painter::get_factory(), module::opengl::painters::bezier_triangle_patch_painter::get_factory(), module::polyhedron::bevel_points::get_factory(), module::deformation::bend_points::get_factory(), module::core::axes::get_factory(), libk3drenderman::array_3d::get_factory(), module::mesh::array_3d_implementation::get_factory(), libk3drenderman::array_2d::get_factory(), module::mesh::array_2d_implementation::get_factory(), libk3drenderman::array_1d::get_factory(), module::mesh::array_1d_implementation::get_factory(), libk3drenderman::area_light::get_factory(), module::renderman::engine::aqsis::get_factory(), module::renderman::engine::bundled::aqsis::get_factory(), module::annotation::annotation_3d::get_factory(), module::annotation::annotation_2d::get_factory(), module::annotation::annotate_normal::get_factory(), module::array::alternate_array_3d::get_factory(), module::array::alternate_array_2d::get_factory(), module::renderman::engine::air::get_factory(), module::test::add_point_attributes::get_factory(), module::test::add_index_attributes::get_factory(), module::test::add_color_attributes::get_factory(), module::test::add_color_attribute::get_factory(), module::scalar::add::get_factory(), module::deformation::morph_points::on_deform_mesh(), module::deformation::deformation_expression::on_deform_mesh(), module::opencascade::opencascade_mesh_reader_implementation::on_load_mesh(), libk3drenderman::array_3d::on_renderman_render(), libk3drenderman::array_2d::on_renderman_render(), libk3drenderman::array_1d::on_renderman_render(), module::bitmap::reader::on_resize_bitmap(), module::plot::surface_plot::on_update_mesh_geometry(), module::plot::least_squares_plot::on_update_mesh_geometry(), module::scalar::expression::on_update_value(), module::ogre::io::mesh_writer::on_write_mesh(), module::yafray::render_engine::render(), libk3drenderman::csg_solid::renderman_render(), libk3drenderman::csg_operator::renderman_render(), and module::yafray::material::setup_material().

void k3d::node::hide ( idocument Document,
const std::vector< inode * > &  Node 
) [static]

Makes a collection of nodes invisible (removes them from visibility properties for all node collection sinks).

References k3d::property_collection::properties(), k3d::filesystem::remove(), and k3d::property::set_internal_value().

void k3d::node::hide ( idocument Document,
inode Node 
) [static]

Stores the name for this node.

void k3d::node::load ( xml::element Element,
const ipersistent::load_context Context 
) [virtual]
template<typename interface_t >
static const std::vector<interface_t*> k3d::node::lookup ( idocument Document,
const string_t MetaName,
const string_t MetaValue 
) [inline, static]

Returns the set of nodes that implement the requested interface type and match the given metadata name and value.

References lookup(), and modifier::result.

template<typename interface_t >
static const std::vector<interface_t*> k3d::node::lookup ( idocument Document,
const uuid  FactoryID 
) [inline, static]

Returns the set of nodes that implement the requested interface type and match the given factory ID.

References lookup(), and modifier::result.

template<typename interface_t >
static const std::vector<interface_t*> k3d::node::lookup ( idocument Document  )  [inline, static]

Returns the set of nodes that implement the requested interface type (could return an empty set).

References lookup(), and modifier::result.

const std::vector< inode * > k3d::node::lookup ( idocument Document,
const string_t MetaName,
const string_t MetaValue 
) [static]

Returns the set of nodes that match the given metadata name and value.

References k3d::inode_collection::collection(), vacuum::metadata, k3d::idocument::nodes(), and modifier::result.

const std::vector< inode * > k3d::node::lookup ( idocument Document,
const string_t NodeName 
) [static]

Returns the set of nodes that match the given name (be prepared to handle zero, one, or many results).

References k3d::inode_collection::collection(), k3d::idocument::nodes(), and modifier::result.

const std::vector< inode * > k3d::node::lookup ( idocument Document,
const uuid  FactoryID 
) [static]

Returns the set of nodes that match a specific factory ID (could return empty set!).

References k3d::inode_collection::collection(), k3d::idocument::nodes(), and modifier::result.

const std::vector< inode * > k3d::node::lookup ( idocument Document  )  [static]
inode * k3d::node::lookup_one ( idocument Document,
const string_t NodeName 
) [static]

Returns the one node that matches the given name, or NULL.

References lookup().

Referenced by k3d::python::node::lookup_one_by_name().

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

Implements k3d::inode.

References m_name_changed_signal.

void k3d::node::on_deleted (  )  [private]

Reimplemented in libk3drenderman::material.

References k3d::property_collection::properties().

Referenced by node().

void k3d::node::save ( xml::element Element,
const ipersistent::save_context Context 
) [virtual]
void k3d::node::set_name ( const std::string  Name  )  [virtual]

Sets the node name (could fail or be overridden).

Implements k3d::inode.

Referenced by load().

void k3d::node::show ( idocument Document,
const std::vector< inode * > &  Node 
) [static]

Makes a collection of nodes visible (adds them to visibility properties for all node collection sinks).

References k3d::property_collection::properties(), k3d::filesystem::remove(), and k3d::property::set_internal_value().

void k3d::node::show ( idocument Document,
inode Node 
) [static]

Member Data Documentation

Used to signal observers when this node is deleted.

Referenced by deleted_signal(), and node().

Stores the Document that owns this node.

Reimplemented in module::uniform_polyhedron::uniform_polyhedron.

Referenced by document().

Stores the factory that created this node.

Referenced by factory().

Used to signal observers when this node's name changes.

Referenced by name_changed_signal(), and node().


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

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