k3d::ngui Namespace Reference

Namespaces

namespace  angle_axis
namespace  auto_property_page
namespace  auto_property_toolbar
namespace  bitmap_preview
namespace  bounding_box
namespace  button
namespace  check_button
namespace  check_menu_item
namespace  collapsible_frame
namespace  color_chooser
namespace  combo_box
namespace  console
namespace  custom_property
namespace  custom_property_page
namespace  detail
namespace  entry
namespace  enumeration_chooser
namespace  image_toggle_button
namespace  interactive
namespace  merge_nodes
namespace  node
namespace  node_chooser
namespace  node_collection_chooser
namespace  options
namespace  panel
namespace  panel_frame
namespace  path_chooser
namespace  pipeline
namespace  point
namespace  property
namespace  property_button
namespace  property_label
namespace  property_widget
namespace  safe_close_dialog
 

Provides a standard "safe close" dialog for closing windows with unsaved data.


namespace  script_button
namespace  selection
namespace  spin_button
namespace  text
namespace  toggle_button
namespace  toolbar
namespace  uri
namespace  viewport

Classes

class  application_state
 This ugly little fellow stores global (application-wide) user interface state in one place to minimize coupling between UI components. More...
class  application_window
 Provides a standard top-level window that will be closed automatically if the application is closed. More...
class  asynchronous_update
 Mixin class that can be used to schedule updates that will only occur when the UI is idle. More...
class  basic_input_model
 Implementation of input_model that synthesizes a more useful collection of input events. More...
class  basic_viewport_input_model
 Implementation of viewport_input_model that synthesizes a more useful collection of input events. More...
class  document_state
 This ugly little fellow stores document-wide user interface state in one place to minimize coupling between the various per-document UI components. More...
class  document_window
 Provides a standard document-level window. More...
class  event_button
 Defines a push-button that can handle any button event, not just LMB-click. More...
class  file_chooser_dialog
 Wraps the standard file dialog widget, adding K-3D-specific functionality. More...
class  hotkey_cell_renderer_text
 Gtk::CellRendererText derivative that automatically disables accelerators during editing. More...
class  hotkey_entry
 Gtk::Entry derivative that automatically disables accelerators while it has the focus. More...
class  input_model
 Abstract interface for objects that can process user input. More...
class  main_document_window
struct  transform_modifier
struct  mesh_modifier
class  move_tool
 Implementation of tool that implements standard geometry move behavior. More...
class  navigation_input_model
 Input model implementation that handles standard viewport navigation and context menus. More...
class  node_window
 Provides a standard node-level window. More...
class  null_viewport_input_model
 Do-nothing implementation of viewport_input_model. More...
class  rotate_tool
 Tool implementation that provides object/mesh rotation behavior. More...
class  savable_application_window
 Provides a standard top-level window for application-level documents that can be saved. More...
class  savable_document_window
 Provides a standard document-level window. More...
class  scale_tool
 Tool implementation that provides standard node/mesh scaling. More...
class  screen_overlay
 Provides an interface for drawing transparent displays over the top of the user's screen. More...
class  selection_input_model
 Input model implementation that handles interactive selection. More...
class  selection_tool
 tool implementation that provides geometry selection and viewport navigation More...
class  tool
 Abstract base class for Tools - objects that generate state changes based on user interaction with viewports. More...
class  tool_selection
struct  show_history
 Helper class for dumping history to a stream for debugging. More...
class  transform_tool
class  unsaved_document
 Abstract interface class for UI components that may encapsulate an unsaved document. More...
class  viewport_input_model
 Abstract interface for objects that can process user input. More...
struct  set_tooltip
 Convenience object for setting the tooltip on a component inline. More...
struct  set_insensitive
 Convenience object for disabling a widget inline. More...
struct  connect_button
 Convenience object for connecting a button to a slot inline. More...
struct  connect_menu_item
 Convenience object for connecting a menu item to a slot inline. More...
struct  connect_signal_changed
 Convenience object for connecting a menu item to a slot inline. More...
struct  line_wrap
struct  center_justify
struct  right_justify
struct  alignment
struct  set_markup
struct  make_toolbar_button
struct  set_accelerator_path
struct  enable_dynamic_accelerators

Typedefs

typedef std::vector
< k3d::iplugin_factory * > 
factories_t
typedef std::vector< k3d::inode * > transform_history_t
 Defines an ordered collection of objects whose transformation properties are chained together.
typedef std::vector< const
k3d::istate_recorder::node * > 
parent_nodes_t
 Defines an ordered collection of undo/redo hierarchy nodes.

Functions

Gtk::Menu * create_context_menu (document_state &DocumentState)
 Returns a menu suitable for use as a context-sensitive menu for the given object.
void create_document ()
 Creates a new document.
void open_document (const k3d::filesystem::path &Path)
 Opens an existing document.
Glib::RefPtr< Gdk::Pixbuf > load_icon (const std::string &Name, const Gtk::IconSize &Size)
Glib::RefPtr< Gdk::Pixbuf > quiet_load_icon (const std::string &Name, const Gtk::IconSize &Size)
const k3d::key_modifiers convert (const unsigned int Modifiers)
 Converts GDK keyboard modifiers to our native keyboard modifier type.
const unsigned int convert (const k3d::key_modifiers Modifiers)
 Converts our native keyboard modifier type to GDK keyboard modifiers.
void create_main_document_window (document_state &DocumentState)
 Create a new main document window, attaching it to the given document.
Gtk::ImageMenuItem * create_menu_item (k3d::iplugin_factory &Factory)
 Creates a menu item based on a plugin type.
void message (const std::string &Message, const std::string &SecondaryMessage="")
 Displays an informational message in a modal dialog box.
void warning_message (const std::string &Message, const std::string &SecondaryMessage="")
 Displays a warning message in a modal dialog box.
void error_message (const std::string &Message, const std::string &SecondaryMessage="")
 Displays an error message in a modal dialog box.
unsigned int query_message (const std::string &Message, const unsigned int DefaultOption, const std::vector< std::string > &Options)
 Prompts the user to choose an option from a modal dialog box.
void nag_message (const std::string &Type, const k3d::ustring &Message, const k3d::ustring &SecondaryMessage=k3d::ustring())
 Displays an information "nag" message in a modal dialog box.
bool_t cancel_plugin (iplugin_factory &Factory)
 Warns the user before creating an experimental or deprecated plugin, and gives them a chance to cancel. Returns true iff the user decided to cancel.
const factories_tmesh_modifiers ()
 Returns a collection of mesh modifier plugin factories, sorted by name.
const factories_tmesh_sinks ()
 Returns a collection of mesh sink plugin factories that are NOT mesh sources. Sorted by name.
const factories_ttransform_modifiers ()
 Returns a collection of transform modifier plugin factories, sorted by name.
inodemodify_transformation (idocument &Document, inode &Object, iplugin_factory *Modifier)
 Modify transformation.
inodemodify_mesh (document_state &DocumentState, inode &Node, iplugin_factory *Modifier)
 Modify mesh.
void modify_selected_meshes (document_state &DocumentState, k3d::iplugin_factory *Modifier)
 Modify all selected meshes.
const transform_modifier create_transform_modifier (idocument &Document, const uuid &ModifierType, const std::string &ModifierName)
inodeinsert_transform_modifier (inode &Object, const uuid &ModifierType, const std::string &ModifierName)
inodeupstream_transform_modifier (k3d::inode &Object)
 Returns upstream transform modifier (0 if none).
const mesh_modifier create_mesh_modifier (idocument &Document, const uuid &ModifierType, const std::string &ModifierName)
inodeinsert_mesh_modifier (inode &Object, const uuid &ModifierType, const std::string &ModifierName)
inodeupstream_mesh_modifier (k3d::inode &Object)
 Returns upstream mesh modifier (0 if none).
k3d::icameradefault_camera (document_state &DocumentState)
 Returns a default camera, or 0.
k3d::irender_previewdefault_preview_render_engine (document_state &DocumentState)
 Returns a default preview render engine, or 0.
k3d::irender_framedefault_still_render_engine (document_state &DocumentState)
 Returns a default still render engine, or 0.
k3d::irender_animationdefault_animation_render_engine (document_state &DocumentState)
 Returns a default animation render engine, or 0.
k3d::irender_camera_previewdefault_camera_preview_render_engine (document_state &DocumentState)
 Returns a default preview render engine, or 0.
k3d::irender_camera_framedefault_camera_still_render_engine (document_state &DocumentState)
 Returns a default still render engine, or 0.
k3d::irender_camera_animationdefault_camera_animation_render_engine (document_state &DocumentState)
 Returns a default animation render engine, or 0.
k3d::gl::irender_viewportdefault_gl_render_engine (document_state &DocumentState)
 Returns a default OpenGL render engine, or 0.
k3d::icamerapick_camera (document_state &DocumentState, const k3d::icamera *CurrentCamera=0)
 Prompts the user to choose a camera, returns 0 on cancellation.
k3d::irender_previewpick_preview_render_engine (document_state &DocumentState)
 Prompts the user to choose a preview render engine, returns 0 on cancellation.
k3d::irender_framepick_still_render_engine (document_state &DocumentState)
 Prompts the user to choose a still render engine, returns 0 on cancellation.
k3d::irender_animationpick_animation_render_engine (document_state &DocumentState)
 Prompts the user to choose an animation render engine, returns 0 on cancellation.
k3d::irender_camera_previewpick_camera_preview_render_engine (document_state &DocumentState)
 Prompts the user to choose a preview render engine, returns 0 on cancellation.
k3d::irender_camera_framepick_camera_still_render_engine (document_state &DocumentState)
 Prompts the user to choose a still render engine, returns 0 on cancellation.
k3d::irender_camera_animationpick_camera_animation_render_engine (document_state &DocumentState)
 Prompts the user to choose an animation render engine, returns 0 on cancellation.
k3d::gl::irender_viewportpick_gl_render_engine (document_state &DocumentState)
 Prompts the user to choose an OpenGL render engine, returns 0 on cancellation.
void test_render_engine (k3d::iunknown &Engine)
void render (k3d::irender_preview &Engine)
void render (k3d::irender_frame &Engine)
void render (document_state &DocumentState, k3d::irender_animation &Engine)
void render (k3d::icamera &Camera, k3d::irender_camera_preview &Engine)
void render (k3d::icamera &Camera, k3d::irender_camera_frame &Engine)
void render (document_state &DocumentState, k3d::icamera &Camera, k3d::irender_camera_animation &Engine)
bool execute_script (const k3d::script::code &Script, const std::string &ScriptName, k3d::iscript_engine::context &Context, const k3d::script::language &Language)
 Executes a script using a specific language and providing user feedback for errors.
bool execute_script (const k3d::script::code &Script, const std::string &ScriptName, k3d::iscript_engine::context &Context)
 Executes a script, attempting to automatically recognize the language and providing user feedback for errors.
bool execute_script (const k3d::filesystem::path &Script, k3d::iscript_engine::context &Context)
 Executes a script, attempting to automatically recognize the language and providing user feedback for errors.
typedef k3d_data (bool, immutable_name, change_signal, no_undo, local_storage, no_constraint, writable_property, no_serialization) bool_property_t
void aim_selection (document_state &DocumentState, viewport::control &Viewport)
 Centers the current selection in the given viewport by changing the viewport orientation.
void frame_selection (document_state &DocumentState, viewport::control &Viewport)
 Frames the current selection in the given viewport by changing the viewport position.
const transform_history_t parent_to_node_history (k3d::inode &Object)
 Returns the set of objects that makeup the transformation history from an object's parent up-to-and-including the object itself.
std::ostream & operator<< (std::ostream &Stream, const show_history &RHS)
void unparent (k3d::inode &Node)
 Unparents a node.
const parent_nodes_t parent_nodes (const k3d::istate_recorder::node *const Node)
 Returns the set of nodes that are parents of the given node, ordered from parent -> child (could return empty collection).
const k3d::istate_recorder::nodenext_redo (k3d::istate_recorder &StateRecorder)
 Given the state recorder for a document, returns the child that should be used by default for the next redo (if any, could return NULL).
void handle_pending_events ()
 Processes any pending user interface events.
void non_blocking_sleep (const double Seconds)
 Provides a portable sleep() that doesn't block processing of UI events.
Glib::RefPtr< Gdk::Pixbuf > load_pixbuf (const k3d::filesystem::path &Path)
 Loads a pixbuf from disk, with error-handling.
Glib::RefPtr< Gdk::Pixbuf > load_pixbuf (const k3d::filesystem::path &SharePath, const k3d::filesystem::path &Path)
 Loads a pixbuf from disk, with error-handling.
const Gdk::Color convert (const k3d::color &RHS)
 Converts a k3d::color to a Gdk::Color.
const k3d::color convert (const Gdk::Color &RHS)
 Converts a Gdk::Color to a k3d::color.
const k3d::point2 widget_to_ndc (viewport::control &Viewport, const k3d::point2 &WidgetCoords)
 Converts widget coordinates to normalized camera coordinates - note: results may be outside the range [0, 1] because the viewport and camera aspect ratios may not match.
const k3d::point2 ndc_to_widget (viewport::control &Viewport, const k3d::point2 &NDC)
 Converts normalized camera coordinates to widget coordinates.
const k3d::line3 mouse_to_world (viewport::control &Viewport, const k3d::point2 &WidgetCoords)
 Converts widget coordinates to a line in world coordinates.
void enable_dynamic_accelerators_impl (Gtk::Widget *const Widget)
Gtk::Label * get_label (Gtk::ImageMenuItem &widget)
 Returns the text label associated with an image label widget.
template<typename T >
T * operator<< (T *LHS, const set_tooltip &RHS)
template<typename T >
T * operator<< (T *LHS, const set_insensitive &RHS)
template<typename T >
T * operator<< (T *LHS, const connect_button &RHS)
template<typename T >
T * operator<< (T *LHS, const connect_menu_item &RHS)
template<typename T >
T * operator<< (T *LHS, const connect_signal_changed &RHS)
template<typename T >
T * operator<< (T *LHS, const line_wrap &RHS)
template<typename T >
T * operator<< (T *LHS, const center_justify &RHS)
template<typename T >
T * operator<< (T *LHS, const right_justify &RHS)
template<typename T >
T * operator<< (T *LHS, const alignment &RHS)
template<typename T >
T * operator<< (T *LHS, const set_markup &RHS)
template<typename T >
T * operator<< (T *LHS, const make_toolbar_button &RHS)
template<typename T >
T * operator<< (T *LHS, const set_accelerator_path &RHS)
template<typename T >
T * operator<< (T *LHS, const enable_dynamic_accelerators &RHS)

Typedef Documentation

Defines an ordered collection of undo/redo hierarchy nodes.

Defines an ordered collection of objects whose transformation properties are chained together.


Function Documentation

void k3d::ngui::aim_selection ( document_state &  DocumentState,
viewport::control &  Viewport 
)

Centers the current selection in the given viewport by changing the viewport orientation.

Referenced by k3d::ngui::navigation_input_model::implementation::on_button1_click(), and k3d::ngui::main_document_window::on_view_aim_selection().

bool_t k3d::ngui::cancel_plugin ( iplugin_factory &  Factory  ) 
const k3d::color k3d::ngui::convert ( const Gdk::Color &  RHS  ) 

Converts a Gdk::Color to a k3d::color.

const Gdk::Color k3d::ngui::convert ( const k3d::color RHS  ) 

Converts a k3d::color to a Gdk::Color.

const unsigned int k3d::ngui::convert ( const k3d::key_modifiers  Modifiers  ) 

Converts our native keyboard modifier type to GDK keyboard modifiers.

const k3d::key_modifiers k3d::ngui::convert ( const unsigned int  Modifiers  ) 
Gtk::Menu * k3d::ngui::create_context_menu ( document_state &  DocumentState  ) 

Returns a menu suitable for use as a context-sensitive menu for the given object.

Referenced by k3d::ngui::document_state::document_state().

void k3d::ngui::create_document (  ) 

Creates a new document.

Referenced by k3d::ngui::main_document_window::on_file_new().

void k3d::ngui::create_main_document_window ( document_state &  DocumentState  ) 

Create a new main document window, attaching it to the given document.

Referenced by k3d::ngui::main_document_window::file_revert().

Gtk::ImageMenuItem * k3d::ngui::create_menu_item ( k3d::iplugin_factory Factory  ) 
const mesh_modifier k3d::ngui::create_mesh_modifier ( idocument &  Document,
const uuid &  ModifierType,
const std::string &  ModifierName 
)
const transform_modifier k3d::ngui::create_transform_modifier ( idocument &  Document,
const uuid &  ModifierType,
const std::string &  ModifierName 
)
k3d::irender_animation * k3d::ngui::default_animation_render_engine ( document_state &  DocumentState  ) 

Returns a default animation render engine, or 0.

k3d::icamera * k3d::ngui::default_camera ( document_state &  DocumentState  ) 

Returns a default camera, or 0.

k3d::irender_camera_animation * k3d::ngui::default_camera_animation_render_engine ( document_state &  DocumentState  ) 

Returns a default animation render engine, or 0.

k3d::irender_camera_preview * k3d::ngui::default_camera_preview_render_engine ( document_state &  DocumentState  ) 

Returns a default preview render engine, or 0.

k3d::irender_camera_frame * k3d::ngui::default_camera_still_render_engine ( document_state &  DocumentState  ) 

Returns a default still render engine, or 0.

k3d::gl::irender_viewport * k3d::ngui::default_gl_render_engine ( document_state &  DocumentState  ) 

Returns a default OpenGL render engine, or 0.

k3d::irender_preview * k3d::ngui::default_preview_render_engine ( document_state &  DocumentState  ) 

Returns a default preview render engine, or 0.

k3d::irender_frame * k3d::ngui::default_still_render_engine ( document_state &  DocumentState  ) 

Returns a default still render engine, or 0.

void k3d::ngui::enable_dynamic_accelerators_impl ( Gtk::Widget *const   Widget  ) 

Referenced by operator<<().

void k3d::ngui::error_message ( const std::string &  Message,
const std::string &  SecondaryMessage 
)
bool k3d::ngui::execute_script ( const k3d::filesystem::path Script,
k3d::iscript_engine::context Context 
)

Executes a script, attempting to automatically recognize the language and providing user feedback for errors.

bool k3d::ngui::execute_script ( const k3d::script::code Script,
const std::string &  ScriptName,
k3d::iscript_engine::context Context 
)

Executes a script, attempting to automatically recognize the language and providing user feedback for errors.

bool k3d::ngui::execute_script ( const k3d::script::code Script,
const std::string &  ScriptName,
k3d::iscript_engine::context Context,
const k3d::script::language Language 
)

Executes a script using a specific language and providing user feedback for errors.

Referenced by k3d::ngui::main_document_window::on_scripting_play().

void k3d::ngui::frame_selection ( document_state &  DocumentState,
viewport::control &  Viewport 
)

Frames the current selection in the given viewport by changing the viewport position.

Referenced by k3d::ngui::main_document_window::on_view_frame_selection().

Gtk::Label * k3d::ngui::get_label ( Gtk::ImageMenuItem &  widget  ) 

Returns the text label associated with an image label widget.

Referenced by k3d::ngui::main_document_window::update_undo_redo_controls().

void k3d::ngui::handle_pending_events (  ) 
k3d::inode * k3d::ngui::insert_mesh_modifier ( inode &  Object,
const uuid &  ModifierType,
const std::string &  ModifierName 
)
k3d::inode * k3d::ngui::insert_transform_modifier ( inode &  Object,
const uuid &  ModifierType,
const std::string &  ModifierName 
)
typedef k3d::ngui::k3d_data ( bool  ,
immutable_name  ,
change_signal  ,
no_undo  ,
local_storage  ,
no_constraint  ,
writable_property  ,
no_serialization   
)
Glib::RefPtr< Gdk::Pixbuf > k3d::ngui::load_icon ( const std::string &  Name,
const Gtk::IconSize &  Size 
)
Glib::RefPtr< Gdk::Pixbuf > k3d::ngui::load_pixbuf ( const k3d::filesystem::path SharePath,
const k3d::filesystem::path Path 
)

Loads a pixbuf from disk, with error-handling.

Glib::RefPtr< Gdk::Pixbuf > k3d::ngui::load_pixbuf ( const k3d::filesystem::path Path  ) 

Loads a pixbuf from disk, with error-handling.

Referenced by module::ngui::about::dialog::dialog(), and module::ngui::user_interface::parse_startup_arguments().

const factories_t & k3d::ngui::mesh_modifiers (  ) 

Returns a collection of mesh modifier plugin factories, sorted by name.

Referenced by k3d::ngui::main_document_window::create_modifier_menu(), and k3d::ngui::detail::node_context_menu::node_context_menu().

const factories_t & k3d::ngui::mesh_sinks (  ) 

Returns a collection of mesh sink plugin factories that are NOT mesh sources. Sorted by name.

Referenced by k3d::ngui::detail::node_context_menu::node_context_menu().

void k3d::ngui::message ( const std::string &  Message,
const std::string &  SecondaryMessage 
)
k3d::inode * k3d::ngui::modify_mesh ( document_state &  DocumentState,
inode &  Node,
iplugin_factory *  Modifier 
)

Modify mesh.

Modify mesh object.

void k3d::ngui::modify_selected_meshes ( document_state &  DocumentState,
iplugin_factory *  Modifier 
)
k3d::inode * k3d::ngui::modify_transformation ( idocument &  Document,
inode &  Object,
iplugin_factory *  Modifier 
)
const k3d::line3 k3d::ngui::mouse_to_world ( viewport::control &  Viewport,
const k3d::point2 WidgetCoords 
)
void k3d::ngui::nag_message ( const std::string &  Type,
const k3d::ustring Message,
const k3d::ustring SecondaryMessage 
)

Displays an information "nag" message in a modal dialog box.

const k3d::point2 k3d::ngui::ndc_to_widget ( viewport::control &  Viewport,
const k3d::point2 NDC 
)

Converts normalized camera coordinates to widget coordinates.

const k3d::istate_recorder::node * k3d::ngui::next_redo ( k3d::istate_recorder StateRecorder  ) 
void k3d::ngui::non_blocking_sleep ( const double  Seconds  ) 

Provides a portable sleep() that doesn't block processing of UI events.

void k3d::ngui::open_document ( const k3d::filesystem::path Path  ) 
template<typename T >
T* k3d::ngui::operator<< ( T *  LHS,
const enable_dynamic_accelerators &  RHS 
) [inline]
template<typename T >
T* k3d::ngui::operator<< ( T *  LHS,
const set_accelerator_path &  RHS 
) [inline]
template<typename T >
T* k3d::ngui::operator<< ( T *  LHS,
const make_toolbar_button &  RHS 
) [inline]

References return_val_if_fail.

template<typename T >
T* k3d::ngui::operator<< ( T *  LHS,
const set_markup &  RHS 
) [inline]
template<typename T >
T* k3d::ngui::operator<< ( T *  LHS,
const alignment &  RHS 
) [inline]
template<typename T >
T* k3d::ngui::operator<< ( T *  LHS,
const right_justify &  RHS 
) [inline]

References return_val_if_fail.

template<typename T >
T* k3d::ngui::operator<< ( T *  LHS,
const center_justify &  RHS 
) [inline]

References return_val_if_fail.

template<typename T >
T* k3d::ngui::operator<< ( T *  LHS,
const line_wrap &  RHS 
) [inline]

References return_val_if_fail.

template<typename T >
T* k3d::ngui::operator<< ( T *  LHS,
const connect_signal_changed &  RHS 
) [inline]
template<typename T >
T* k3d::ngui::operator<< ( T *  LHS,
const connect_menu_item &  RHS 
) [inline]
template<typename T >
T* k3d::ngui::operator<< ( T *  LHS,
const connect_button &  RHS 
) [inline]
template<typename T >
T* k3d::ngui::operator<< ( T *  LHS,
const set_insensitive &  RHS 
) [inline]

References return_val_if_fail.

template<typename T >
T* k3d::ngui::operator<< ( T *  LHS,
const set_tooltip &  RHS 
) [inline]
std::ostream & k3d::ngui::operator<< ( std::ostream &  Stream,
const show_history &  RHS 
)
const parent_nodes_t k3d::ngui::parent_nodes ( const k3d::istate_recorder::node *const   Node  ) 

Returns the set of nodes that are parents of the given node, ordered from parent -> child (could return empty collection).

Referenced by module::ngui::undo_tree::detail::implementation::on_current_node_changed(), module::ngui::undo_tree::detail::implementation::on_select_row(), and module::ngui::undo_tree::detail::implementation::update_contents().

const transform_history_t k3d::ngui::parent_to_node_history ( k3d::inode Object  ) 

Returns the set of objects that makeup the transformation history from an object's parent up-to-and-including the object itself.

Referenced by module::ngui::parent::implementation::set_parent().

k3d::irender_animation * k3d::ngui::pick_animation_render_engine ( document_state &  DocumentState  ) 

Prompts the user to choose an animation render engine, returns 0 on cancellation.

k3d::icamera * k3d::ngui::pick_camera ( document_state &  DocumentState,
const k3d::icamera CurrentCamera 
)
k3d::irender_camera_animation * k3d::ngui::pick_camera_animation_render_engine ( document_state &  DocumentState  ) 
k3d::irender_camera_preview * k3d::ngui::pick_camera_preview_render_engine ( document_state &  DocumentState  ) 
k3d::irender_camera_frame * k3d::ngui::pick_camera_still_render_engine ( document_state &  DocumentState  ) 
k3d::gl::irender_viewport * k3d::ngui::pick_gl_render_engine ( document_state &  DocumentState  ) 

Prompts the user to choose an OpenGL render engine, returns 0 on cancellation.

Referenced by k3d::ngui::detail::node_context_menu::on_set_viewport_gl_engine().

k3d::irender_preview * k3d::ngui::pick_preview_render_engine ( document_state &  DocumentState  ) 

Prompts the user to choose a preview render engine, returns 0 on cancellation.

k3d::irender_frame * k3d::ngui::pick_still_render_engine ( document_state &  DocumentState  ) 

Prompts the user to choose a still render engine, returns 0 on cancellation.

unsigned int k3d::ngui::query_message ( const std::string &  Message,
const unsigned int  DefaultOption,
const std::vector< std::string > &  Options 
)

Prompts the user to choose an option from a modal dialog box.

Parameters:
Message text displayed by the message box.
DefaultOption one-based index of the option that is selected by default. If DefaultOption is 0, then no option is selected by default.
Returns:
one-based index of the option selected by the user, or "0" if a choice was not made (e.g. user clicked WM "close" button)

Referenced by k3d::ngui::main_document_window::on_file_revert(), and k3d::ngui::detail::script_escape_handler().

Glib::RefPtr< Gdk::Pixbuf > k3d::ngui::quiet_load_icon ( const std::string &  Name,
const Gtk::IconSize &  Size 
)
void k3d::ngui::render ( document_state &  DocumentState,
k3d::icamera Camera,
k3d::irender_camera_animation Engine 
)
void k3d::ngui::render ( k3d::icamera Camera,
k3d::irender_camera_frame Engine 
)
void k3d::ngui::render ( k3d::icamera Camera,
k3d::irender_camera_preview Engine 
)
void k3d::ngui::render ( document_state &  DocumentState,
k3d::irender_animation Engine 
)
void k3d::ngui::render ( k3d::irender_frame Engine  ) 
void k3d::ngui::render ( k3d::irender_preview Engine  ) 
void k3d::ngui::test_render_engine ( k3d::iunknown Engine  ) 
const factories_t & k3d::ngui::transform_modifiers (  ) 

Returns a collection of transform modifier plugin factories, sorted by name.

Referenced by k3d::ngui::main_document_window::create_modifier_menu(), and k3d::ngui::detail::node_context_menu::node_context_menu().

void k3d::ngui::unparent ( k3d::inode Node  ) 
k3d::inode * k3d::ngui::upstream_mesh_modifier ( inode &  Object  ) 

Returns upstream mesh modifier (0 if none).

Referenced by k3d::ngui::transform_tool::mesh_target::create_mesh_modifier().

k3d::inode * k3d::ngui::upstream_transform_modifier ( inode &  Object  ) 

Returns upstream transform modifier (0 if none).

Referenced by module::ngui::snap::snap_tool_detail::transform_target::create_transform_modifier().

void k3d::ngui::warning_message ( const std::string &  Message,
const std::string &  SecondaryMessage 
)

Displays a warning message in a modal dialog box.

const k3d::point2 k3d::ngui::widget_to_ndc ( viewport::control &  Viewport,
const k3d::point2 WidgetCoords 
)

Converts widget coordinates to normalized camera coordinates - note: results may be outside the range [0, 1] because the viewport and camera aspect ratios may not match.

Referenced by module::ngui::render_region::implementation::on_lbutton_double_click(), and module::ngui::render_region::implementation::on_lbutton_end_drag().


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