k3d::gl::imesh_painter Class Reference

Abstract interface implemented by painter objects that can render a mesh using OpenGL. More...

#include <imesh_painter_gl.h>

Inheritance diagram for k3d::gl::imesh_painter:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual void paint_mesh (const mesh &Mesh, const painter_render_state &RenderState, iproperty::changed_signal_t &ChangedSignal)=0
 Called to render a mesh for on-screen display.
virtual void select_mesh (const mesh &Mesh, const painter_render_state &RenderState, const painter_selection_state &SelectionState, iproperty::changed_signal_t &ChangedSignal)=0
 Called to render a mesh for interactive selection.

Detailed Description

Abstract interface implemented by painter objects that can render a mesh using OpenGL.


Member Function Documentation

virtual void k3d::gl::imesh_painter::paint_mesh ( const mesh Mesh,
const painter_render_state RenderState,
iproperty::changed_signal_t ChangedSignal 
) [pure virtual]

Called to render a mesh for on-screen display.

The ChangedSignal argument is a signal that is emitted when the supplied mesh changes. It could be used by painters caching data to notify them when the cache needs updating

Implemented in k3d::gl::mesh_painter, module::opengl::painters::texture_colored_selection_painter, module::development::glsl_painter, and module::scripting::opengl_painter_script.

virtual void k3d::gl::imesh_painter::select_mesh ( const mesh Mesh,
const painter_render_state RenderState,
const painter_selection_state SelectionState,
iproperty::changed_signal_t ChangedSignal 
) [pure virtual]

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

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