Public Member Functions | |
sun_light (k3d::iplugin_factory &Factory, k3d::idocument &Document) | |
~sun_light () | |
void | setup_light (const k3d::string_t &Name, std::ostream &Stream) |
void | on_gl_draw (const k3d::gl::render_state &State) |
void | on_gl_select (const k3d::gl::render_state &State, const k3d::gl::selection_state &SelectState) |
k3d::iplugin_factory & | factory () |
Static Public Member Functions | |
static k3d::iplugin_factory & | get_factory () |
Private Types | |
typedef renderable_light < optional_shadows < colored_light< light < k3d::transformable < k3d::node > > > > > | base |
Private Member Functions | |
void | draw_geometry () |
k3d_data (double, immutable_name, change_signal, with_undo, local_storage, no_constraint, writable_property, with_serialization) m_power | |
Private Attributes | |
GLUquadricObj *const | m_quadric |
Stores a GLU quadric object for drawing the manipulators. |
typedef renderable_light<optional_shadows<colored_light<light<k3d::transformable<k3d::node > > > > > module::yafray::sun_light::base [private] |
module::yafray::sun_light::sun_light | ( | k3d::iplugin_factory & | Factory, | |
k3d::idocument & | Document | |||
) | [inline] |
module::yafray::sun_light::~sun_light | ( | ) | [inline] |
References m_quadric.
void module::yafray::sun_light::draw_geometry | ( | ) | [inline, private] |
References k3d::extract_rotation(), k3d::inverse(), m_quadric, k3d::gl::push_matrix(), k3d::rotate3(), k3d::spherical(), AnimationTrack::transform, k3d::translate3(), and k3d::euler_angles::ZXYstatic.
Referenced by on_gl_draw(), and on_gl_select().
k3d::iplugin_factory& module::yafray::sun_light::factory | ( | ) | [inline] |
References get_factory().
Referenced by get_factory(), and setup_light().
static k3d::iplugin_factory& module::yafray::sun_light::get_factory | ( | ) | [inline, static] |
References factory(), and k3d::iplugin_factory::STABLE.
Referenced by factory(), and module::yafray::sun_light_factory().
module::yafray::sun_light::k3d_data | ( | double | , | |
immutable_name | , | |||
change_signal | , | |||
with_undo | , | |||
local_storage | , | |||
no_constraint | , | |||
writable_property | , | |||
with_serialization | ||||
) | [private] |
void module::yafray::sun_light::on_gl_draw | ( | const k3d::gl::render_state & | State | ) | [inline, virtual] |
void module::yafray::sun_light::on_gl_select | ( | const k3d::gl::render_state & | State, | |
const k3d::gl::selection_state & | SelectState | |||
) | [inline, virtual] |
void module::yafray::sun_light::setup_light | ( | const k3d::string_t & | Name, | |
std::ostream & | Stream | |||
) | [inline] |
GLUquadricObj* const module::yafray::sun_light::m_quadric [private] |
Stores a GLU quadric object for drawing the manipulators.
Referenced by draw_geometry(), and ~sun_light().